Localization (#15)
## Changes (escoria-core) > Pending to do a PR to the core. - Added `es` langcode with the corresponding flag image. - Translated literals for `es` ## Changes (gymkhana) - Added `turno_cocina` localization csv. - Proof of concept for tooltips & dialogs. ## Notes - For tooltips just use the literals. Godot will automatically search for a translation key first. - For ESC just use `translation_key:"Default text"` ## How to test - In the option menu ES should be selectable. - The `frontal` item in the inventory should have the tooltips and the `say` command translated in `en`,`fr` and `es`. Reviewed-on: gymkhana/gymkhana#15 Co-authored-by: oier <oierbravo@gmail.com> Co-committed-by: oier <oierbravo@gmail.com>
This commit is contained in:
@@ -9,9 +9,6 @@
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="load_game" parent="." instance=ExtResource( 5 )]
|
||||
visible = false
|
||||
@@ -44,18 +41,18 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="main/main"]
|
||||
margin_top = 162.0
|
||||
margin_top = 92.0
|
||||
margin_right = 616.0
|
||||
margin_bottom = 398.0
|
||||
margin_bottom = 318.0
|
||||
texture = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="buttons" type="VBoxContainer" parent="main/main"]
|
||||
margin_top = 498.0
|
||||
margin_top = 418.0
|
||||
margin_right = 616.0
|
||||
margin_bottom = 738.0
|
||||
margin_bottom = 658.0
|
||||
custom_constants/separation = 10
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
|
||||
BIN
addons/escoria-core/ui_library/menus/options/flags/es.png
Normal file
BIN
addons/escoria-core/ui_library/menus/options/flags/es.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
@@ -25,9 +25,9 @@ __meta__ = {
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
|
||||
margin_left = 391.0
|
||||
margin_top = 340.0
|
||||
margin_top = 251.0
|
||||
margin_right = 888.0
|
||||
margin_bottom = 535.0
|
||||
margin_bottom = 474.0
|
||||
size_flags_horizontal = 6
|
||||
custom_constants/margin_right = 20
|
||||
custom_constants/margin_top = 20
|
||||
@@ -38,7 +38,7 @@ custom_constants/margin_bottom = 20
|
||||
margin_left = 20.0
|
||||
margin_top = 20.0
|
||||
margin_right = 477.0
|
||||
margin_bottom = 175.0
|
||||
margin_bottom = 203.0
|
||||
size_flags_vertical = 6
|
||||
custom_constants/hseparation = 40
|
||||
columns = 2
|
||||
@@ -132,21 +132,21 @@ max_value = 1.0
|
||||
step = 0.001
|
||||
|
||||
[node name="label6" type="Label" parent="VBoxContainer/MarginContainer/options"]
|
||||
margin_top = 160.0
|
||||
margin_top = 164.0
|
||||
margin_right = 137.0
|
||||
margin_bottom = 154.0
|
||||
margin_bottom = 178.0
|
||||
text = "FULLSCREEN"
|
||||
|
||||
[node name="fullscreen" type="CheckBox" parent="VBoxContainer/MarginContainer/options"]
|
||||
margin_left = 177.0
|
||||
margin_top = 160.0
|
||||
margin_top = 159.0
|
||||
margin_right = 457.0
|
||||
margin_bottom = 155.0
|
||||
margin_bottom = 183.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
margin_top = 539.0
|
||||
margin_top = 478.0
|
||||
margin_right = 1280.0
|
||||
margin_bottom = 500
|
||||
margin_bottom = 498.0
|
||||
custom_constants/separation = 20
|
||||
alignment = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user