diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-02-08 09:49:14 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-02-08 09:49:14 +0200 |
commit | b801742b773a8002dc6bddb4fb157565179654d3 (patch) | |
tree | 9057143caab4e99a1bc605457abf720afd43871d /core/string | |
parent | d6ba4a223fc394fa2fd9321c19468e05b5de1de0 (diff) |
[GDExtension] Add binds for missing methods, operators, and constants required for GDExtension TextServer implementation.
Diffstat (limited to 'core/string')
-rw-r--r-- | core/string/translation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/string/translation.cpp b/core/string/translation.cpp index 7cc41df9ef..eeac8b0acf 100644 --- a/core/string/translation.cpp +++ b/core/string/translation.cpp @@ -925,6 +925,7 @@ bool TranslationServer::is_placeholder(String &p_message, int p_index) const { void TranslationServer::_bind_methods() { ClassDB::bind_method(D_METHOD("set_locale", "locale"), &TranslationServer::set_locale); ClassDB::bind_method(D_METHOD("get_locale"), &TranslationServer::get_locale); + ClassDB::bind_method(D_METHOD("get_tool_locale"), &TranslationServer::get_tool_locale); ClassDB::bind_method(D_METHOD("compare_locales", "locale_a", "locale_b"), &TranslationServer::compare_locales); ClassDB::bind_method(D_METHOD("standardize_locale", "locale"), &TranslationServer::standardize_locale); |