From 567cb691ec49844101247bb9dc34bc2722f6af4f Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 3 May 2016 22:25:37 -0300 Subject: Modified editor strings to be translatable in the future --- core/translation.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/translation.h') diff --git a/core/translation.h b/core/translation.h index 5be6b8913..cdb22bfec 100644 --- a/core/translation.h +++ b/core/translation.h @@ -75,6 +75,7 @@ class TranslationServer : public Object { Set< Ref > translations; + Ref tool_translation; bool enabled; @@ -102,6 +103,9 @@ public: static Vector get_all_locales(); static Vector get_all_locale_names(); + void set_tool_translation(const Ref& p_translation); + StringName tool_translate(const StringName& p_message) const; + void setup(); void clear(); -- cgit v1.2.3-70-g09d2