summaryrefslogtreecommitdiffstats
path: root/core/string/optimized_translation.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-11-09 14:45:21 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-11-10 10:43:15 +0200
commit35528b800cf9dacce62f9664a7f4e56fcae491a3 (patch)
tree91b9a4139b056e4337a779c348f1a319db24419b /core/string/optimized_translation.h
parentdca5cb8e40fd2a348a59ea73c597eb742c14c980 (diff)
downloadredot-engine-35528b800cf9dacce62f9664a7f4e56fcae491a3.tar.gz
[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() {}