Added Chinese Simplified

This commit is contained in:
OverloadedOrama 2020-02-08 00:10:33 +02:00
parent 1288a00188
commit 93833ba06a
4 changed files with 80 additions and 44 deletions

View file

@ -68,6 +68,7 @@ func _on_AboutDialog_about_to_show() -> void:
translators.create_item(translators_root).set_text(0, " Andreev Andrei - " + tr("Russian"))
translators.create_item(translators_root).set_text(0, " ax trifonov (ax34) - " + tr("Russian"))
translators.create_item(translators_root).set_text(0, " JunYouIntrovert - " + tr("Chinese Traditional"))
translators.create_item(translators_root).set_text(0, " wcxu21 - " + tr("Chinese Simplified"))
translators.create_item(translators_root).set_text(0, " Marco Galli (Gaarco) - " + tr("Italian"))
translators.create_item(translators_root).set_text(0, " azagaya - " + tr("Spanish"))
translators.create_item(translators_root).set_text(0, " Lilly And (KatieAnd) - " + tr("Spanish"))

View file

@ -23,7 +23,7 @@ func _ready() -> void:
Global.loaded_locales = TranslationServer.get_loaded_locales()
else:
# Hardcoded list of locales
Global.loaded_locales = ["de_DE", "el_GR", "en_US", "es_ES", "fr_FR", "it_IT", "pl_PL", "pt_BR", "ru_RU", "zh_TW"]
Global.loaded_locales = ["de_DE", "el_GR", "en_US", "es_ES", "fr_FR", "it_IT", "pl_PL", "pt_BR", "ru_RU", "zh_CN","zh_TW"]
# Make sure locales are always sorted, in the same order
Global.loaded_locales.sort()
@ -245,7 +245,7 @@ func edit_menu_id_pressed(id : int) -> void:
Global.selected_pixels.clear()
Global.canvas.handle_redo("Rectangle Select")
3: # Preferences
$PreferencesDialog.popup_centered(Vector2(300, 280))
$PreferencesDialog.popup_centered(Vector2(400, 280))
Global.can_draw = false
func view_menu_id_pressed(id : int) -> void: