diff options
Diffstat (limited to 'core/translation.h')
-rw-r--r-- | core/translation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/translation.h b/core/translation.h index b9e07fa2b1..29a068f450 100644 --- a/core/translation.h +++ b/core/translation.h @@ -73,6 +73,7 @@ class TranslationServer : public Object { Set<Ref<Translation>> translations; Ref<Translation> tool_translation; + Ref<Translation> doc_translation; Map<String, String> locale_name_map; @@ -109,6 +110,8 @@ public: void set_tool_translation(const Ref<Translation> &p_translation); StringName tool_translate(const StringName &p_message) const; + void set_doc_translation(const Ref<Translation> &p_translation); + StringName doc_translate(const StringName &p_message) const; void setup(); |