diff options
Diffstat (limited to 'client/global.gd')
-rw-r--r-- | client/global.gd | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/client/global.gd b/client/global.gd index 7338e491..3dbcfacd 100644 --- a/client/global.gd +++ b/client/global.gd @@ -43,7 +43,7 @@ var using_joypad := false var using_touch := false var default_settings := { - "language": DropdownSetting.new(tr("Language"), 0, languages.map(func (e): return e[1])), + "language": DropdownSetting.new(tr("Language"), 0, languages.map(func(e): return e[1])), "master_volume": RangeSetting.new(tr("Master Volume"), 0, -30, 0), "music_volume": RangeSetting.new(tr("Music Volume"), 0, -30, 0), "sfx_volume": RangeSetting.new(tr("SFX Volume"), 0, -30, 0), @@ -120,7 +120,7 @@ func _ready(): apply_settings() get_viewport().gui_focus_changed.connect(Sound.play_hover_maybe) - get_viewport().gui_focus_changed.connect(func (node): focused_node = node) + get_viewport().gui_focus_changed.connect(func(node): focused_node = node) func _input(event): if Input.is_action_just_pressed("fullscreen"): @@ -378,6 +378,9 @@ const NATIVE_LANGUAGE_NAMES = { "tr": "Türkçe", "fi": "suomen", "ar": "العربية", + "zh_Hans": "中文 (Simplified)", # TODO in chinese + "zh_Hant": "中文 (Traditional)", + "pl": "Polski", } func language_display(l: String): return "%s (%s)" % [NATIVE_LANGUAGE_NAMES[l], l] |