diff --git a/Changelog.md b/Changelog.md index 048a83a73..cc549a54f 100644 --- a/Changelog.md +++ b/Changelog.md @@ -10,7 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Tablet pen pressure sensitivity! - Crowdin integration for contributing translations! - Spanish translation - thanks to azagaya & Lilly And! -- Chinese Simplified translation - thanks to wcxu21! +- Chinese Simplified translation - thanks to Chenxu Wang! +- Latvian translation - thanks to nezvers! - Translators can now be seen in the About window. - It is now possible to remove custom brushes with the middle mouse button. - Added HSV mode to the color picker. (Added automatically because of the Godot 3.2 update) diff --git a/Prefabs/Dialogs/PreferencesDialog.tscn b/Prefabs/Dialogs/PreferencesDialog.tscn index b40fe7c06..c979f0ff3 100644 --- a/Prefabs/Dialogs/PreferencesDialog.tscn +++ b/Prefabs/Dialogs/PreferencesDialog.tscn @@ -138,6 +138,13 @@ margin_bottom = 224.0 mouse_default_cursor_shape = 2 text = "Italian [it]" +[node name="Latvian" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] +margin_top = 200.0 +margin_right = 334.0 +margin_bottom = 224.0 +mouse_default_cursor_shape = 2 +text = "Latvian [lv_LV]" + [node name="Polish" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"] margin_top = 228.0 margin_right = 334.0 diff --git a/Scripts/Dialogs/AboutDialog.gd b/Scripts/Dialogs/AboutDialog.gd index 27365f1e1..caff13ef4 100644 --- a/Scripts/Dialogs/AboutDialog.gd +++ b/Scripts/Dialogs/AboutDialog.gd @@ -73,6 +73,7 @@ func _on_AboutDialog_about_to_show() -> void: 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")) + translators.create_item(translators_root).set_text(0, " nezvers - " + tr("Latvian")) func _on_AboutDialog_popup_hide() -> void: groups.clear() diff --git a/Scripts/Main.gd b/Scripts/Main.gd index cff9ef722..c414a4a61 100644 --- a/Scripts/Main.gd +++ b/Scripts/Main.gd @@ -22,7 +22,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_CN","zh_TW"] + Global.loaded_locales = ["de_DE", "el_GR", "en_US", "es_ES", "fr_FR", "it_IT", "lv_LV", "pl_PL", "pt_BR", "ru_RU", "zh_CN","zh_TW"] # Make sure locales are always sorted, in the same order Global.loaded_locales.sort() diff --git a/Translations/Translations.pot b/Translations/Translations.pot index c8ac33491..dbe43413f 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -323,6 +323,9 @@ msgstr "" msgid "Italian" msgstr "" +msgid "Latvian" +msgstr "" + msgid "Spanish" msgstr "" diff --git a/project.godot b/project.godot index b40e4b31b..e540c559b 100644 --- a/project.godot +++ b/project.godot @@ -224,7 +224,7 @@ space={ [locale] -translations=PoolStringArray( "res://Translations/zh_TW.po", "res://Translations/pt_BR.po", "res://Translations/de_DE.po", "res://Translations/el_GR.po", "res://Translations/en_US.po", "res://Translations/fr_FR.po", "res://Translations/it_IT.po", "res://Translations/pl_PL.po", "res://Translations/ru_RU.po", "res://Translations/es_ES.po", "res://Translations/zh_CN.po" ) +translations=PoolStringArray( "res://Translations/zh_TW.po", "res://Translations/pt_BR.po", "res://Translations/de_DE.po", "res://Translations/el_GR.po", "res://Translations/en_US.po", "res://Translations/fr_FR.po", "res://Translations/it_IT.po", "res://Translations/pl_PL.po", "res://Translations/ru_RU.po", "res://Translations/es_ES.po", "res://Translations/zh_CN.po", "res://Translations/lv_LV.po" ) locale_filter=[ 0, [ ] ] [rendering]