summaryrefslogtreecommitdiffstats
path: root/core/object.h
diff options
context:
space:
mode:
authorSkyJJ <jjchai01@hotmail.com>2020-08-07 13:17:12 +0200
committerSkyJJ <jjchai01@hotmail.com>2020-08-19 03:01:53 +0200
commit0ef758eaeeb5b2f44e132865f0f10baf692e972f (patch)
tree6e30ec08277fdeb8605050154b9f54002e11e5b0 /core/object.h
parent396f2eee827293d9b096e6fc954a57c92bf21f95 (diff)
downloadredot-engine-0ef758eaeeb5b2f44e132865f0f10baf692e972f.tar.gz
Updated Translation architecture to have TranslationPO, did some commit fixes and updated class Reference.
Diffstat (limited to 'core/object.h')
-rw-r--r--core/object.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/object.h b/core/object.h
index b4e6fe0fa6..f9a12da8f6 100644
--- a/core/object.h
+++ b/core/object.h
@@ -719,8 +719,7 @@ public:
virtual void get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const;
- StringName tr(const StringName &p_message, const StringName &p_context = "") const; // translate message (internationalization)
- ////I'm returning as String here because when I test the API, if I return StringName, I need to wrap it with String() to use format string, which is inconvenient.
+ String tr(const StringName &p_message, const StringName &p_context = "") const; // translate message (internationalization)
String tr_n(const StringName &p_message, const StringName &p_message_plural, int p_n, const StringName &p_context = "") const;
bool _is_queued_for_deletion = false; // set to true by SceneTree::queue_delete()