1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Added Latvian translation

Closes #150
This commit is contained in:
OverloadedOrama 2020-02-11 16:03:25 +02:00
parent 3d3d567bdb
commit ef9e906f19
6 changed files with 15 additions and 3 deletions

View file

@ -10,7 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Tablet pen pressure sensitivity! - Tablet pen pressure sensitivity!
- Crowdin integration for contributing translations! - Crowdin integration for contributing translations!
- Spanish translation - thanks to azagaya & Lilly And! - 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. - Translators can now be seen in the About window.
- It is now possible to remove custom brushes with the middle mouse button. - 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) - Added HSV mode to the color picker. (Added automatically because of the Godot 3.2 update)

View file

@ -138,6 +138,13 @@ margin_bottom = 224.0
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
text = "Italian [it]" 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"] [node name="Polish" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"]
margin_top = 228.0 margin_top = 228.0
margin_right = 334.0 margin_right = 334.0

View file

@ -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, " Marco Galli (Gaarco) - " + tr("Italian"))
translators.create_item(translators_root).set_text(0, " azagaya - " + tr("Spanish")) 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, " Lilly And (KatieAnd) - " + tr("Spanish"))
translators.create_item(translators_root).set_text(0, " nezvers - " + tr("Latvian"))
func _on_AboutDialog_popup_hide() -> void: func _on_AboutDialog_popup_hide() -> void:
groups.clear() groups.clear()

View file

@ -22,7 +22,7 @@ func _ready() -> void:
Global.loaded_locales = TranslationServer.get_loaded_locales() Global.loaded_locales = TranslationServer.get_loaded_locales()
else: else:
# Hardcoded list of locales # 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 # Make sure locales are always sorted, in the same order
Global.loaded_locales.sort() Global.loaded_locales.sort()

View file

@ -323,6 +323,9 @@ msgstr ""
msgid "Italian" msgid "Italian"
msgstr "" msgstr ""
msgid "Latvian"
msgstr ""
msgid "Spanish" msgid "Spanish"
msgstr "" msgstr ""

View file

@ -224,7 +224,7 @@ space={
[locale] [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, [ ] ] locale_filter=[ 0, [ ] ]
[rendering] [rendering]