allow localization of some strings in ScreenSelectProfile
This commit is contained in:
@@ -17,8 +17,7 @@ function GetLocalProfiles()
|
||||
BeginCommand=function(self)
|
||||
local numSongsPlayed = profile:GetNumTotalSongsPlayed();
|
||||
local s = numSongsPlayed == 1 and "Song" or "Songs";
|
||||
-- todo: localize
|
||||
self:settext( numSongsPlayed.." "..s.." Played" );
|
||||
self:settext( string.format(THEME:GetString("ScreenSelectProfile","%d "..s.." Played"),numSongsPlayed) );
|
||||
end;
|
||||
};
|
||||
};
|
||||
@@ -57,7 +56,7 @@ function LoadPlayerStuff(Player)
|
||||
OnCommand=cmd(diffuse,Color('Orange');diffusealpha,0.5);
|
||||
}; --]]
|
||||
LoadFont("Common Normal") .. {
|
||||
Text="Press &START; to join.";
|
||||
Text=THEME:GetString("ScreenSelectProfile","PressStart");
|
||||
InitCommand=cmd(shadowlength,1);
|
||||
OnCommand=cmd(diffuseshift;effectcolor1,Color('White');effectcolor2,color("0.5,0.5,0.5"));
|
||||
};
|
||||
|
||||
@@ -33,6 +33,7 @@ Explanation=Quick Setup provides a easy way to set commonly-changed and useful p
|
||||
HelpText=... Loading profiles, please wait ...
|
||||
|
||||
[ScreenSelectProfile]
|
||||
PressStart=Press &START; to join.
|
||||
HelpText=&MENUUP;&MENUDOWN; Switch Profile &START; Choose/Join &BACK; Unselect
|
||||
|
||||
[ScreenSelectMaster]
|
||||
|
||||
Reference in New Issue
Block a user