diff options
author | Ken Paulson <ken@muffinmangames.com> | 2019-04-24 21:39:29 -0400 |
---|---|---|
committer | Ken Paulson <ken@muffinmangames.com> | 2019-04-24 21:39:29 -0400 |
commit | 6b117c44fb61db32e6b6ac4da1cf36c7c97c6771 (patch) | |
tree | d02c624aeae59bcd5bd81483274dc5c261cc61fd /core/translation.h | |
parent | e9be53acd73f63f8dddc829bb8f34b2afd6c7041 (diff) | |
download | redot-engine-6b117c44fb61db32e6b6ac4da1cf36c7c97c6771.tar.gz |
Added TranslationServer::get_loaded_locales to return an array of all locales with a loaded Translation
Diffstat (limited to 'core/translation.h')
-rw-r--r-- | core/translation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/translation.h b/core/translation.h index b12bad0d72..d172b9ecf2 100644 --- a/core/translation.h +++ b/core/translation.h @@ -94,6 +94,8 @@ public: String get_locale_name(const String &p_locale) const; + Array get_loaded_locales() const; + void add_translation(const Ref<Translation> &p_translation); void remove_translation(const Ref<Translation> &p_translation); |