aboutsummaryrefslogtreecommitdiff
path: root/core/object.h
diff options
context:
space:
mode:
authorRémi Verschelde2017-08-16 17:59:04 +0200
committerRémi Verschelde2017-08-17 18:10:22 +0200
commitc72529baf09927b381e7850a0f132c1473b16ee2 (patch)
treeda64b9684d3db8cce6b50a20a50da2e1d99230bc /core/object.h
parent5485233549c97c7128fc2026bc2c01d3c1c5b48d (diff)
downloadgodot-c72529baf09927b381e7850a0f132c1473b16ee2.tar.gz
godot-c72529baf09927b381e7850a0f132c1473b16ee2.tar.zst
godot-c72529baf09927b381e7850a0f132c1473b16ee2.zip
Diffstat (limited to 'core/object.h')
-rw-r--r--core/object.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/object.h b/core/object.h
index 4648d9d90..ebcd4afeb 100644
--- a/core/object.h
+++ b/core/object.h
@@ -678,13 +678,12 @@ public:
virtual void get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const;
- StringName XL_MESSAGE(const StringName &p_message) const; //translate message (internationalization)
- StringName tr(const StringName &p_message) const; //translate message (alternative)
+ StringName localize(const StringName &p_message) const; //translate message (internationalization)
bool _is_queued_for_deletion; // set to true by SceneTree::queue_delete()
bool is_queued_for_deletion() const;
- _FORCE_INLINE_ void set_message_translation(bool p_enable) { _can_translate = p_enable; }
+ _FORCE_INLINE_ void set_message_localization(bool p_enable) { _can_translate = p_enable; }
_FORCE_INLINE_ bool can_translate_messages() const { return _can_translate; }
#ifdef TOOLS_ENABLED