Localization concept added

This commit is contained in:
Your Name
2025-07-20 16:41:54 +04:00
parent 688106eedd
commit b1e79492ab
13 changed files with 95 additions and 21 deletions

View File

@@ -0,0 +1,8 @@
keys;en;ru
press_ok_continue;"Press Ok to continue";"Нажми Ok, чтобы продолжить"
settings_title;"Settings";"Настройки"
master_volume;"Master Volume";"Общая громкость"
music_volume;"Music Volume";"Громкость музыки"
sfx_volume;"SFX Volume";"Громкость эффектов"
language;"Language";"Язык"
back;"Back";"Назад"
1 keys en ru
2 press_ok_continue Press Ok to continue Нажми Ok, чтобы продолжить
3 settings_title Settings Настройки
4 master_volume Master Volume Общая громкость
5 music_volume Music Volume Громкость музыки
6 sfx_volume SFX Volume Громкость эффектов
7 language Language Язык
8 back Back Назад

View File

@@ -0,0 +1,17 @@
[remap]
importer="csv_translation"
type="Translation"
uid="uid://c5f1ss8oh62py"
[deps]
files=["res://localization/MainStrings.en.translation", "res://localization/MainStrings.ru.translation"]
source_file="res://localization/MainStrings.csv"
dest_files=["res://localization/MainStrings.en.translation", "res://localization/MainStrings.ru.translation"]
[params]
compress=true
delimiter=1

Binary file not shown.

Binary file not shown.

View File

@@ -4,18 +4,6 @@
"name": "English",
"display_name": "English"
},
"es": {
"name": "Spanish",
"display_name": "Español"
},
"fr": {
"name": "French",
"display_name": "Français"
},
"de": {
"name": "German",
"display_name": "Deutsch"
},
"ru": {
"name": "Russian",
"display_name": "Русский"