machine/personal record now uses localized text

This commit is contained in:
AJ Kelly
2011-08-01 17:29:31 -05:00
parent a13a928dd3
commit a9122bb225
3 changed files with 4 additions and 2 deletions
@@ -5,7 +5,7 @@ local record = stats:GetMachineHighScoreIndex()
local hasMachineRecord = record ~= -1
return LoadFont("Common normal")..{
Text=string.format("Machine Record #%i!", record+1);
Text=string.format(THEME:GetString("ScreenEvaluation", "MachineRecord"), record+1)string.format(THEME:GetString( "ScreenEvaluation", "Machine Record" ), record+1)
InitCommand=cmd(zoom,0.55;shadowlength,1;NoStroke;glowshift;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.25"));
BeginCommand=cmd(visible,hasMachineRecord;);
};
@@ -5,7 +5,7 @@ local record = stats:GetPersonalHighScoreIndex()
local hasPersonalRecord = record ~= -1
return LoadFont("Common normal")..{
Text=string.format("Personal Record #%i!", record+1);
Text=string.format(THEME:GetString("ScreenEvaluation", "PersonalRecord"), record+1)
InitCommand=cmd(zoom,0.55;shadowlength,1;NoStroke;glowshift;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.25"));
BeginCommand=cmd(visible,hasPersonalRecord;);
};
+2
View File
@@ -80,6 +80,8 @@ HelpText=
HelpText=&BACK; Exit &START; Move On &MENULEFT;+&MENURIGHT; or &SELECT; Snapshot
LifeDifficulty=Life Difficulty: %s
TimingDifficulty=Timing Difficulty: %s
MachineRecord=Machine Record #%i!
PersonalRecord=Personal Record #%i!
[OptionTitles]
UserPrefAutoSetStyle=Auto Set Style