Preparing for translations

This commit is contained in:
Vladislav Khorev committed 2026-07-05 17:53:13 +03:00
1 parent bd994a8690
commit a98f71676d
12 files changed
+145 -6430

No files matched your search

+70
View File
@@ -0,0 +1,70 @@
{
"root": {
"type": "FrameLayout",
"width": "match_parent",
"height": "match_parent",
"children": [
{
"type": "StaticImage",
"name": "languageBkg",
"width": "match_parent",
"height": "match_parent",
"texture": "resources/w/ui/img/main/bkg.png"
},
{
"type": "LinearLayout",
"orientation": "vertical",
"horizontal_gravity": "center",
"vertical_gravity": "center",
"horizontal_align": "left",
"width": 500,
"height": 600,
"spacing": 20,
"children": [
{
"type": "TextView",
"name": "languageTitleText",
"width": 500,
"height": 60,
"text": "Язык / Language",
"fontSize": 40,
"textCentered": true,
"color": [1.0, 1.0, 1.0, 1.0]
},
{
"type": "TextButton",
"name": "languageRussianButton",
"width": 500,
"height": 80,
"text": "Русский",
"fontSize": 48,
"textCentered": true,
"color": [0.2, 0.9, 0.2, 1.0]
},
{
"type": "TextButton",
"name": "languageEnglishButton",
"width": 500,
"height": 80,
"text": "English",
"fontSize": 48,
"textCentered": true,
"color": [0.2, 0.9, 0.2, 1.0]
}
]
},
{
"type": "TextButton",
"name": "languageBackButton",
"horizontal_gravity": "center",
"vertical_gravity": "bottom",
"y": 40,
"width": 200,
"height": 60,
"text": "Назад",
"fontSize": 40,
"textCentered": true
}
]
}
}
+13 -4
View File
@@ -52,7 +52,7 @@
"type": "TextButton",
"name": "menuStartButton",
"width": 300,
"height": 70,
"height": 60,
"text": "Начать игру",
"fontSize": 48,
"textCentered": true
@@ -61,7 +61,7 @@
"type": "TextButton",
"name": "menuLoadButton",
"width": 300,
"height": 70,
"height": 60,
"text": "Загрузить игру",
"fontSize": 48,
"textCentered": true
@@ -70,10 +70,19 @@
"type": "TextButton",
"name": "menuSettingsButton",
"width": 300,
"height": 70,
"height": 60,
"text": "Настройки",
"fontSize": 48,
"textCentered": true
},
{
"type": "TextButton",
"name": "menuLanguageButton",
"width": 300,
"height": 60,
"text": "Язык / Language",
"fontSize": 48,
"textCentered": true
},
{
"type": "TextButton",
@@ -88,7 +97,7 @@
"type": "TextButton",
"name": "menuExitButton",
"width": 300,
"height": 70,
"height": 60,
"text": "Выход",
"fontSize": 48,
"textCentered": true