Skip to content

Commit

Permalink
Make loading screen translatable (#412)
Browse files Browse the repository at this point in the history
* Make loading screen translatable

* Add Russian version for `launcherupdater.png`

* Fix typo

* Fix more typos

* Replace loading background
  • Loading branch information
MahBoiDeveloper authored Jan 20, 2025
1 parent 321af6a commit 81d37e7
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 5 deletions.
25 changes: 23 additions & 2 deletions package/Resources/LoadingScreen.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,33 @@ BasedOn=GenericWindowLegacy.ini
[ExtraPictureBoxes]
0=splash

[ExtraControls]
0=logo:XNAExtraPanel
1=text:XNAExtraPanel
2=legal:XNAExtraPanel

[logo]
BackgroundTexture=yrlogo.png
RepeatingImage=false
DistanceFromLeftBorder=5
DistanceFromBottomBorder=5

[text]
BackgroundTexture=loading_text.png
RepeatingImage=false
DistanceFromRightBorder=5
DistanceFromTopBorder=5

[legal]
BackgroundTexture=legal_text.png
RepeatingImage=false
DistanceFromRightBorder=5
DistanceFromBottomBorder=5

[splash]
BackgroundTexture=launcherupdater.png
DrawMode=Stretched
DrawBorders=false
Location=0,0
Size=1280,800

[lblLoadingText]
RemapColor=220,220,220
Expand Down
6 changes: 3 additions & 3 deletions package/Resources/Translations/ru/Translation.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Client:DTAConfig:Enable=Включено;Enable
Client:DTAConfig:ForceUpdate=Принудительное обновление;Force Update
INI:Controls:UpdaterOptionsPanel:btnForceUpdate:Location=320,213
INI:Controls:UpdaterOptionsPanel:btnForceUpdate:Size=220,23
Client:DTAConfig:ForceUpdateConfirmText=ВНИМАНИЕ: Будет проведена верификация и скачивание файлов. Хоть это может исправить@некоторые проблемы, также могут быть удалены пользовательские изменения.@Используйте на свой страх и риск!@@Если вы желаете продолжить, меню настроек закроется и клиент начёнт проверять файлы.@@Желаете принудительно обновиться?;WARNING: Force update will result in files being re-verified@and re-downloaded. While this may fix problems with game@files, this also may delete some custom modifications@made to this installation. Use at your own risk!@@If you proceed, the options window will close and the@client will proceed to checking for updates.@@Do you really want to force update?@
Client:DTAConfig:ForceUpdateConfirmText=ВНИМАНИЕ: Будет проведена верификация и скачивание файлов. Хоть это может исправить@некоторые проблемы, также могут быть удалены пользовательские изменения.@Используйте на свой страх и риск!@@Если вы желаете продолжить, меню настроек закроется и клиент начнёт проверять файлы.@@Желаете принудительно обновиться?;WARNING: Force update will result in files being re-verified@and re-downloaded. While this may fix problems with game@files, this also may delete some custom modifications@made to this installation. Use at your own risk!@@If you proceed, the options window will close and the@client will proceed to checking for updates.@@Do you really want to force update?@
Client:DTAConfig:ForceUpdateConfirmTitle=Подтверждение полного обновления;Force Update Confirmation
Client:DTAConfig:FriendsOnly=Принимать приглашение в лобби только от@друзей; Only receive game invitations from friends
Client:DTAConfig:FullscreenClient=Полноэкранный клиент;Fullscreen Client
Expand Down Expand Up @@ -779,7 +779,7 @@ INI:Controls:GameOptionsPanel:lblGameSpeedCap:Text=Скорость игры:; G
INI:Controls:GameOptionsPanel:lblTechLevel:Text=Тех. уровень:; Tech Level:
INI:Controls:GameOptionsPanel:lblTSFS:Text=Тип игры:;Game Type:
INI:Controls:GameOptionsPanel:lblUnitCount:Text=Кол-во войск:; Unit Count:
INI:Controls:MainMenu:lblCnCNetStatus:Text=Игроков YR на CnCNet;TS Players on CnCNet
INI:Controls:MainMenu:lblCnCNetStatus:Text=Игроков в сети: ; Players Online
INI:Controls:MainMenu:txtVersion:Text=Версия:;Version:
INI:Controls:MultiplayerGameLobby:btnChangeTunnel:Text=Сменить сервер; Change Tunnel
INI:Controls:MultiplayerGameLobby:btnLaunchGame:Text=Запустить игру; Launch Game
Expand Down Expand Up @@ -973,7 +973,7 @@ INI:Hotkeys:StructureTab:UIName=Вкладка зданий ; Structures Tab
INI:Hotkeys:StructureTab:Description=Переключить приборную панель на вкладку зданий. ; Jump to sidebar structures tab.
INI:Hotkeys:DefenseTab:UIName=Вкладка вооружений ; Armory Tab
INI:Hotkeys:DefenseTab:Description=Переключить приборную панель на вкладку вооружений. ; Jump to sidebar armory tab.
INI:Hotkeys:InfantryTab:UIName=Вкладка пехоты. ; Infantry Tab
INI:Hotkeys:InfantryTab:UIName=Вкладка пехоты ; Infantry Tab
INI:Hotkeys:InfantryTab:Description=Переключить приборную панель на вкладку пехоты. ; Jump to sidebar infantry tab.
INI:Hotkeys:UnitTab:UIName=Вкладка техники ; Units Tab
INI:Hotkeys:UnitTab:Description=Переключить приборную панель на вкладку техники ; Jump to sidebar units tab.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added package/Resources/Translations/ru/legal_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added package/Resources/legal_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified package/Resources/loading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added package/Resources/loading_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added package/Resources/yrlogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 81d37e7

Please sign in to comment.