diff --git a/project/assets/main/locale/en.po b/project/assets/main/locale/en.po index 7f0380c0a..cadcd7e00 100644 --- a/project/assets/main/locale/en.po +++ b/project/assets/main/locale/en.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: https://github.com/Poobslag/turbofat/\n" -"POT-Creation-Date: 2024-11-27 08:20-0500\n" +"POT-Creation-Date: 2024-11-27 14:53-0500\n" "PO-Revision-Date: 2023-03-13 12:16-0400\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -12978,11 +12978,11 @@ msgid "Kp 9" msgstr "" #: project/assets/main/locale/localizables-extracted.py -msgid "Spanish" +msgid "English" msgstr "" #: project/assets/main/locale/localizables-extracted.py -msgid "English" +msgid "Spanish" msgstr "" #: project/src/main/career/CareerMap.tscn diff --git a/project/assets/main/locale/es.po b/project/assets/main/locale/es.po index 0dbc17d35..5ede403aa 100644 --- a/project/assets/main/locale/es.po +++ b/project/assets/main/locale/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: https://github.com/Poobslag/turbofat/\n" -"POT-Creation-Date: 2024-11-27 08:20-0500\n" +"POT-Creation-Date: 2024-11-27 14:53-0500\n" "PO-Revision-Date: 2024-10-13 19:30-0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -14539,14 +14539,14 @@ msgstr "Numpad 8" msgid "Kp 9" msgstr "Numpad 9" -#: project/assets/main/locale/localizables-extracted.py -msgid "Spanish" -msgstr "Español" - #: project/assets/main/locale/localizables-extracted.py msgid "English" msgstr "Inglés" +#: project/assets/main/locale/localizables-extracted.py +msgid "Spanish" +msgstr "Español" + #: project/src/main/career/CareerMap.tscn msgid "The left level is further from the goal. Choose carefully!" msgstr "" diff --git a/project/assets/main/locale/localizables-extracted.py b/project/assets/main/locale/localizables-extracted.py index 9c2aa88e2..b6eec9fcf 100644 --- a/project/assets/main/locale/localizables-extracted.py +++ b/project/assets/main/locale/localizables-extracted.py @@ -3191,5 +3191,5 @@ tr("Kp 9") # Locales -tr("Spanish") tr("English") +tr("Spanish") diff --git a/project/assets/main/locale/messages.pot b/project/assets/main/locale/messages.pot index e323a2d3b..3f5db1d8f 100644 --- a/project/assets/main/locale/messages.pot +++ b/project/assets/main/locale/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Turbo Fat 0.9000\n" "Report-Msgid-Bugs-To: https://github.com/Poobslag/turbofat/\n" -"POT-Creation-Date: 2024-11-27 08:20-0500\n" +"POT-Creation-Date: 2024-11-27 14:53-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -12980,11 +12980,11 @@ msgid "Kp 9" msgstr "" #: project/assets/main/locale/localizables-extracted.py -msgid "Spanish" +msgid "English" msgstr "" #: project/assets/main/locale/localizables-extracted.py -msgid "English" +msgid "Spanish" msgstr "" #: project/src/main/career/CareerMap.tscn diff --git a/project/src/demo/toolkit/extract-localizables-button.gd b/project/src/demo/toolkit/extract-localizables-button.gd index 104a04816..6c9382d4e 100644 --- a/project/src/demo/toolkit/extract-localizables-button.gd +++ b/project/src/demo/toolkit/extract-localizables-button.gd @@ -171,5 +171,9 @@ func _extract_localizables_from_scancodes() -> void: ## Extract localizables from TranslationServer.get_loaded_locales() func _extract_localizables_from_locales() -> void: + var locale_names := [] for locale in TranslationServer.get_loaded_locales(): - _append_localizable(TranslationServer.get_locale_name(locale)) + locale_names.append(TranslationServer.get_locale_name(locale)) + locale_names.sort() + for locale_name in locale_names: + _append_localizable(locale_name)