going on a string localization rampage in the default theme. aside from graphics, this should be the last of the non-themeable text that actually matters (unless someone really has to change 'P1'/'P2' on the DifficultyList cursors...)

This commit is contained in:
AJ Kelly
2012-03-23 12:42:06 -05:00
parent 0b11e9c01c
commit ff357e4def
6 changed files with 26 additions and 12 deletions
@@ -1,11 +1,11 @@
return Def.ActorFrame { return Def.ActorFrame {
InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y); InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y);
LoadFont("Common Normal") .. { LoadFont("Common Normal") .. {
Text="GAME OVER"; Text=ScreenString("GAME OVER");
InitCommand=cmd(y,-4;shadowlength,1;diffuse,Color("Red")); InitCommand=cmd(y,-4;shadowlength,1;diffuse,Color("Red"));
}; };
LoadFont("Common Normal") .. { LoadFont("Common Normal") .. {
Text="Play again soon!"; Text=ScreenString("Play again soon!");
InitCommand=cmd(y,16;shadowlength,1;zoom,0.5;); InitCommand=cmd(y,16;shadowlength,1;zoom,0.5;);
}; };
}; };
@@ -46,7 +46,7 @@ return Def.ActorFrame {
-- messages -- messages
LoadFont("Common Normal") .. { LoadFont("Common Normal") .. {
Text="How To Play StepMania", Text=ScreenString("How To Play StepMania"),
InitCommand=cmd(zbuffer,1;z,20;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;shadowlength,1;strokecolor,Color("Outline")); InitCommand=cmd(zbuffer,1;z,20;x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y;shadowlength,1;strokecolor,Color("Outline"));
OnCommand=cmd(diffusealpha,0;zoom,4;sleep,0.0;linear,0.3;diffusealpha,1;zoom,1;sleep,1.8;linear,0.3;zoom,0.75;x,170;y,60); OnCommand=cmd(diffusealpha,0;zoom,4;sleep,0.0;linear,0.3;diffusealpha,1;zoom,1;sleep,1.8;linear,0.3;zoom,0.75;x,170;y,60);
}; };
@@ -76,7 +76,7 @@ t[#t+1] = Def.ActorFrame {
}; };
LoadFont("Common Normal") .. { LoadFont("Common Normal") .. {
Name="TextDisplay"; Name="TextDisplay";
Text="MS"; Text=THEME:GetString("Protiming","MS");
InitCommand=cmd(visible,false); InitCommand=cmd(visible,false);
OnCommand=THEME:GetMetric("Protiming","TextOnCommand"); OnCommand=THEME:GetMetric("Protiming","TextOnCommand");
ResetCommand=cmd(finishtweening;stopeffect;visible,false); ResetCommand=cmd(finishtweening;stopeffect;visible,false);
@@ -1,5 +1,5 @@
return LoadFont("Common Normal") .. { return LoadFont("Common Normal") .. {
Text="Exit"; Text=ScreenString("Exit");
InitCommand=cmd(x,SCREEN_CENTER_X;zoom,0.75;shadowlength,0;diffuse,color("#880000");NoStroke); InitCommand=cmd(x,SCREEN_CENTER_X;zoom,0.75;shadowlength,0;diffuse,color("#880000");NoStroke);
OnCommand=cmd(diffusealpha,0;decelerate,0.5;diffusealpha,1); OnCommand=cmd(diffusealpha,0;decelerate,0.5;diffusealpha,1);
OffCommand=cmd(stoptweening;accelerate,0.3;diffusealpha,0;queuecommand,"Hide"); OffCommand=cmd(stoptweening;accelerate,0.3;diffusealpha,0;queuecommand,"Hide");
@@ -1,3 +1,3 @@
return LoadFont("Common Normal") .. { return LoadFont("Common Normal") .. {
Text="Score will be disqualified!"; Text=ScreenString("Disqualified");
}; };
+14
View File
@@ -74,6 +74,7 @@ HelpText=&BACK; Exit &START; Select / Join &SELECT; Magic Codes &MENULEFT;&MENUR
[ScreenOptions] [ScreenOptions]
HelpText=&BACK; Exit &START; Choose &SELECT; Go Up &MENULEFT;&MENURIGHT;&MENUUP;&MENUDOWN; Move HelpText=&BACK; Exit &START; Choose &SELECT; Go Up &MENULEFT;&MENURIGHT;&MENUUP;&MENUDOWN; Move
Disqualified=Score will be disqualified!
[ScreenStageInformation] [ScreenStageInformation]
HelpText= HelpText=
@@ -218,3 +219,16 @@ V=V
A=A A=A
F=F F=F
C=C C=C
[ScreenMapControllers]
Exit=Exit
[ScreenGameOver]
GAME OVER=GAME OVER
Play again soon!=Play again soon!
[ScreenHowToPlay]
How To Play StepMania=How To Play StepMania
[Protiming]
MS=MS