Merge pull request #3929 from ScottNZ/translation
Add translation support
This commit is contained in:
@@ -148,16 +148,16 @@ Container@PLAYER_WIDGETS:
|
||||
SupportPowerBin@INGAME_POWERS_BIN:
|
||||
X:0
|
||||
Y:25
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
ReadyText: @ready@
|
||||
HoldText: @on-hold@
|
||||
BuildPalette@INGAME_BUILD_PALETTE:
|
||||
X:WINDOW_RIGHT - 250
|
||||
Y:280
|
||||
Width:250
|
||||
Height:500
|
||||
ReadyText: READY
|
||||
HoldText: ON HOLD
|
||||
RequiresText: Requires
|
||||
ReadyText: @ready@
|
||||
HoldText: @on-hold@
|
||||
RequiresText: @requires@
|
||||
|
||||
Container@OBSERVER_WIDGETS:
|
||||
Children:
|
||||
|
||||
@@ -138,7 +138,7 @@ Background@SETTINGS_MENU:
|
||||
Label@SOUND_VOLUME_LABEL:
|
||||
X:0
|
||||
Y:10
|
||||
Text: Sound Volume
|
||||
Text: Sound Volume
|
||||
Slider@SOUND_VOLUME:
|
||||
X:100
|
||||
Y:0
|
||||
@@ -255,7 +255,7 @@ Background@SETTINGS_MENU:
|
||||
Height:25
|
||||
Font:Tiny
|
||||
Align:Center
|
||||
Text:Renderer/Mode/Resolution changes will be applied after the game is restarted.
|
||||
Text:Mode/Resolution changes will be applied after the game is restarted.
|
||||
Checkbox@PIXELDOUBLE_CHECKBOX:
|
||||
Y:60
|
||||
Width:200
|
||||
@@ -274,6 +274,24 @@ Background@SETTINGS_MENU:
|
||||
Width:45
|
||||
Height:25
|
||||
MaxLength:3
|
||||
Label@LANGUAGE_LABEL:
|
||||
X:0
|
||||
Y:130
|
||||
Width:75
|
||||
Height:25
|
||||
Text:Language:
|
||||
DropDownButton@LANGUAGE_DROPDOWNBUTTON:
|
||||
X:80
|
||||
Y:130
|
||||
Width:140
|
||||
Height:25
|
||||
Label@LANGUAGE_DESC:
|
||||
Y:160
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Font:Tiny
|
||||
Align:Center
|
||||
Text:Language changes will be applied after the game is restarted.
|
||||
Container@KEYS_PANE:
|
||||
X:37
|
||||
Y:100
|
||||
|
||||
6
mods/ra/languages/english.yaml
Normal file
6
mods/ra/languages/english.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
english:
|
||||
english: English
|
||||
|
||||
ready: READY
|
||||
on-hold: ON HOLD
|
||||
requires: Requires {0}
|
||||
@@ -113,6 +113,9 @@ Movies:
|
||||
mods/ra/movies1.yaml
|
||||
mods/ra/movies2.yaml
|
||||
|
||||
Translations:
|
||||
mods/ra/languages/english.yaml
|
||||
|
||||
LoadScreen: DefaultLoadScreen
|
||||
Image: mods/ra/uibits/loadscreen.png
|
||||
InstallerMenuWidget: INSTALL_PANEL
|
||||
|
||||
Reference in New Issue
Block a user