aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenOptions.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-05 12:50:05 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-05 12:50:05 +0000
commit42717e4611f758f137d86fd99e69bf9791d3a727 (patch)
tree03935f924fde0c0663d64da25656a55ab9773a94 /Game/Code/Screens/UScreenOptions.pas
parenteb7df4c30c7e119ad56eb3ba8506ff3e3afce4a4 (diff)
downloadusdx-42717e4611f758f137d86fd99e69bf9791d3a727.tar.gz
usdx-42717e4611f758f137d86fd99e69bf9791d3a727.tar.xz
usdx-42717e4611f758f137d86fd99e69bf9791d3a727.zip
Fixed: Not loading Button Texts from Ini
Fixed: Exit Text in Option Screens not translated git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@57 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens/UScreenOptions.pas')
-rw-r--r--Game/Code/Screens/UScreenOptions.pas21
1 files changed, 14 insertions, 7 deletions
diff --git a/Game/Code/Screens/UScreenOptions.pas b/Game/Code/Screens/UScreenOptions.pas
index 76ff2adc..f24b29c1 100644
--- a/Game/Code/Screens/UScreenOptions.pas
+++ b/Game/Code/Screens/UScreenOptions.pas
@@ -159,25 +159,32 @@ begin
AddBackground(Theme.Options.Background.Tex);
AddButton(Theme.Options.ButtonGame);
- AddButtonText(14, 20, Theme.Options.Description[0]);
+ if (Length(Button[0].Text)=0) then
+ AddButtonText(14, 20, Theme.Options.Description[0]);
AddButton(Theme.Options.ButtonGraphics);
- AddButtonText(14, 20, Theme.Options.Description[1]);
+ if (Length(Button[1].Text)=0) then
+ AddButtonText(14, 20, Theme.Options.Description[1]);
AddButton(Theme.Options.ButtonSound);
- AddButtonText(14, 20, Theme.Options.Description[2]);
+ if (Length(Button[2].Text)=0) then
+ AddButtonText(14, 20, Theme.Options.Description[2]);
AddButton(Theme.Options.ButtonLyrics);
- AddButtonText(14, 20, Theme.Options.Description[3]);
+ if (Length(Button[3].Text)=0) then
+ AddButtonText(14, 20, Theme.Options.Description[3]);
AddButton(Theme.Options.ButtonThemes);
- AddButtonText(14, 20, Theme.Options.Description[4]);
+ if (Length(Button[4].Text)=0) then
+ AddButtonText(14, 20, Theme.Options.Description[4]);
AddButton(Theme.Options.ButtonRecord);
- AddButtonText(14, 20, Theme.Options.Description[5]);
+ if (Length(Button[5].Text)=0) then
+ AddButtonText(14, 20, Theme.Options.Description[5]);
AddButton(Theme.Options.ButtonExit);
- AddButtonText(14, 20, Theme.Options.Description[6]);
+ if (Length(Button[6].Text)=0) then
+ AddButtonText(14, 20, Theme.Options.Description[6]);
for I := 0 to High(Theme.Options.Static) do
AddStatic(Theme.Options.Static[I]);