Fix CSV translation not updating after reimport

This commit is contained in:
Haoyu Qiu 2025-06-11 20:31:59 +08:00
parent 46c495ca21
commit 296aba7dc5
7 changed files with 110 additions and 17 deletions

View file

@ -71,6 +71,7 @@ public:
StringName get_message_from_translations(const String &p_locale, const StringName &p_message, const StringName &p_context) const;
StringName get_message_from_translations(const String &p_locale, const StringName &p_message, const StringName &p_message_plural, int p_n, const StringName &p_context) const;
PackedStringArray get_loaded_locales() const;
HashSet<Ref<Translation>> get_potential_translations(const String &p_locale) const;
public:
Ref<Translation> get_translation_object(const String &p_locale) const;