Improve edited scene layout direction detection.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-27 17:32:38 +03:00
parent e37c6261ea
commit 03048aa94a
5 changed files with 14 additions and 2 deletions

View File

@ -381,6 +381,10 @@ String TranslationServer::get_locale() const {
return locale;
}
void TranslationServer::set_fallback_locale(const String &p_locale) {
fallback = p_locale;
}
String TranslationServer::get_fallback_locale() const {
return fallback;
}

View File

@ -104,6 +104,7 @@ public:
void set_locale(const String &p_locale);
String get_locale() const;
void set_fallback_locale(const String &p_locale);
String get_fallback_locale() const;
Ref<Translation> get_translation_object(const String &p_locale);