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

Imported Spanish translation in the project settings

This commit is contained in:
OverloadedOrama 2020-01-22 20:20:58 +02:00
parent 4c970988fb
commit 6e198c6c60
3 changed files with 29 additions and 20 deletions

View file

@ -41,7 +41,6 @@ margin_bottom = 554.0
size_flags_horizontal = 3
[node name="Languages" type="VBoxContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer"]
editor/display_folded = true
margin_right = 205.0
margin_bottom = 310.0
@ -81,6 +80,13 @@ margin_bottom = 140.0
mouse_default_cursor_shape = 2
text = "English [en]"
[node name="Spanish" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"]
margin_top = 116.0
margin_right = 205.0
margin_bottom = 140.0
mouse_default_cursor_shape = 2
text = "Spanish [es]"
[node name="French" type="CheckBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Languages"]
margin_top = 144.0
margin_right = 205.0
@ -172,6 +178,7 @@ mouse_default_cursor_shape = 2
text = "Light"
[node name="Grid&Guides" type="VBoxContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer"]
editor/display_folded = true
margin_top = 486.0
margin_right = 205.0
margin_bottom = 618.0
@ -249,9 +256,10 @@ rect_min_size = Vector2( 64, 20 )
color = Color( 0.63, 0.13, 0.94, 1 )
[node name="Image" type="VBoxContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer"]
margin_top = 486.0
editor/display_folded = true
margin_top = 622.0
margin_right = 205.0
margin_bottom = 618.0
margin_bottom = 730.0
[node name="ImageOptionsLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image"]
margin_right = 205.0
@ -262,20 +270,20 @@ text = "Image Options"
[node name="ImageOptions" type="GridContainer" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image"]
margin_top = 32.0
margin_right = 205.0
margin_bottom = 132.0
margin_bottom = 108.0
custom_constants/vseparation = 4
custom_constants/hseparation = 4
columns = 2
[node name="DefaultWidthLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"]
margin_top = 5.0
margin_right = 92.0
margin_right = 110.0
margin_bottom = 19.0
text = "Default Width:"
[node name="ImageDefaultWidth" type="SpinBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"]
margin_left = 82.0
margin_right = 156.0
margin_left = 114.0
margin_right = 188.0
margin_bottom = 24.0
min_value = 1.0
max_value = 16384.0
@ -283,30 +291,31 @@ value = 32.0
suffix = "px"
[node name="DefaultHeightLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"]
margin_top = 5.0
margin_right = 96.0
margin_bottom = 19.0
margin_top = 33.0
margin_right = 110.0
margin_bottom = 47.0
text = "Default Height:"
[node name="ImageDefaultHeight" type="SpinBox" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"]
margin_left = 82.0
margin_right = 156.0
margin_bottom = 24.0
margin_left = 114.0
margin_top = 28.0
margin_right = 188.0
margin_bottom = 52.0
min_value = 1.0
max_value = 16384.0
value = 32.0
suffix = "px"
[node name="DefaultFillColorLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"]
margin_top = 5.0
margin_right = 96.0
margin_bottom = 19.0
margin_top = 59.0
margin_right = 110.0
margin_bottom = 73.0
text = "Default Fill Color:"
[node name="DefaultFillColor" type="ColorPickerButton" parent="HSplitContainer/ScrollContainer/VBoxContainer/Image/ImageOptions"]
margin_left = 82.0
margin_left = 114.0
margin_top = 56.0
margin_right = 156.0
margin_right = 188.0
margin_bottom = 76.0
rect_min_size = Vector2( 64, 20 )
color = Color( 0, 0, 0, 0 )

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", "el", "en", "fr", "it", "pl", "pt_BR", "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_TW"]
# Make sure locales are always sorted, in the same order
Global.loaded_locales.sort()

View file

@ -222,7 +222,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" )
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" )
locale_filter=[ 0, [ ] ]
[rendering]