Add support for game translation

This commit is contained in:
ScottNZ
2013-10-13 16:35:12 +13:00
parent 104a2d23cf
commit 6598f0382a
11 changed files with 210 additions and 78 deletions

View File

@@ -3,7 +3,7 @@ Container@SETTINGS_PANEL:
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 250)/2
Width:740
Height:535
Height:565
Children:
ColorPreviewManager@COLOR_MANAGER:
Label@TITLE:
@@ -15,7 +15,7 @@ Container@SETTINGS_PANEL:
Text:Settings
Background@GENERAL_CONTROLS:
Width:740
Height:290
Height:320
Background:panel-black
Children:
Label@TITLE:
@@ -66,35 +66,35 @@ Container@SETTINGS_PANEL:
Text:Shellmap Music
Label@DEBUG_TITLE:
X:15
Y:150
Y:180
Width:340
Font:Bold
Text:Debug
Align:Center
Checkbox@PERFTEXT_CHECKBOX:
X:15
Y:170
Y:200
Width:300
Height:20
Font:Regular
Text:Show Performance Text
Checkbox@PERFGRAPH_CHECKBOX:
X:15
Y:200
Y:230
Width:300
Height:20
Font:Regular
Text:Show Performance Graph
Checkbox@CHECKUNSYNCED_CHECKBOX:
X:15
Y:230
Y:260
Width:300
Height:20
Font:Regular
Text:Check Sync around Unsynced Code
Checkbox@SHOW_FATAL_ERROR_DIALOG_CHECKBOX:
X:15
Y:260
Y:290
Width:300
Height:20
Font:Regular
@@ -149,70 +149,82 @@ Container@SETTINGS_PANEL:
Width:45
Height:25
MaxLength:5
Label@LANGUAGE_LABEL:
X:375
Y:70
Width:75
Height:25
Align:Right
Text:Language:
DropDownButton@LANGUAGE_DROPDOWNBUTTON:
X:455
Y:70
Width:140
Height:25
Label@VIDEO_DESC:
X:375
Y:68
Y:100
Width:340
Height:25
Font:Tiny
Align:Center
Text:Mode/Resolution changes will be applied after the game is restarted
Text:Mode/Resolution/Language changes will be applied after the game is restarted
Checkbox@PIXELDOUBLE_CHECKBOX:
X:375
Y:110
Y:140
Width:200
Height:20
Font:Regular
Text:Enable Pixel Doubling
Label@AUDIO_TITLE:
X:375
Y:150
Y:180
Width:340
Font:Bold
Text:Sound
Align:Center
Label@SOUND_LABEL:
X:375
Y:164
Y:194
Width:95
Height:25
Align:Right
Text:Sound Volume:
Slider@SOUND_SLIDER:
X:475
Y:170
Y:200
Width:240
Height:20
Ticks:5
Label@MUSIC_LABEL:
X:375
Y:194
Y:224
Width:95
Height:25
Align:Right
Text:Music Volume:
Slider@MUSIC_SLIDER:
X:475
Y:200
Y:230
Width:240
Height:20
Ticks:5
Label@AUDIO_DEVICE_LABEL:
X:375
Y:229
Y:259
Width:75
Height:20
Text:Audio Device:
DropDownButton@AUDIO_DEVICE:
X:475
Y:230
Y:260
Width:240
Height:25
Font:Regular
Text:Default Device
Label@AUDIO_DESC:
X:375
Y:258
Y:288
Width:340
Height:25
Font:Tiny
@@ -296,20 +308,20 @@ Container@SETTINGS_PANEL:
Font:Regular
Text:Shift-Enter Toggles Team Chat
Button@GENERAL_BUTTON:
Y:289
Y:319
Width:140
Height:35
Text:General
Button@INPUT_BUTTON:
X:150
Y:289
Y:319
Width:140
Height:35
Text:Input
Button@BACK_BUTTON:
Key:escape
X:600
Y:289
Y:319
Width:140
Height:35
Text:Back