summaryrefslogtreecommitdiffstats
path: root/core/string/optimized_translation.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-14 11:12:01 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-14 11:12:01 +0100
commit5b3a03bf5c7a5bdb5113c4cd81d41c526b751b6d (patch)
treec5edf6383aa2e0e290ad6bde5d0cc445d5dcd7d5 /core/string/optimized_translation.h
parenta90d435e9b7fdb5af8a1da71dd7aecf9bd687451 (diff)
parent35528b800cf9dacce62f9664a7f4e56fcae491a3 (diff)
downloadredot-engine-5b3a03bf5c7a5bdb5113c4cd81d41c526b751b6d.tar.gz
Merge pull request #68448 from bruvzg/font_imp_tr
[Font] Add an import option to pre-render all glyphs required for the translation.
Diffstat (limited to 'core/string/optimized_translation.h')
-rw-r--r--core/string/optimized_translation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/string/optimized_translation.h b/core/string/optimized_translation.h
index f3dbfe8f5c..1cd12782d0 100644
--- a/core/string/optimized_translation.h
+++ b/core/string/optimized_translation.h
@@ -81,6 +81,7 @@ protected:
public:
virtual StringName get_message(const StringName &p_src_text, const StringName &p_context = "") const override; //overridable for other implementations
virtual StringName get_plural_message(const StringName &p_src_text, const StringName &p_plural_text, int p_n, const StringName &p_context = "") const override;
+ virtual Vector<String> get_translated_message_list() const override;
void generate(const Ref<Translation> &p_from);
OptimizedTranslation() {}