Removed some redundant stringWithFormat: calls.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4695 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2012-01-06 10:10:59 +00:00
parent 02eca5ee69
commit dcfff2c2e7
2 changed files with 3 additions and 3 deletions

View File

@ -935,9 +935,9 @@ static NSTimeInterval time_last_frame;
if (c > 0)
{
[self playNextEquipmentSelected];
[UNIVERSE addMessage:[NSString stringWithFormat:DESC(@"equipment-primed-none")] forCount:2.0];
[UNIVERSE addMessage:DESC(@"equipment-primed-none") forCount:2.0];
}
else [UNIVERSE addMessage:[NSString stringWithFormat:DESC(@"equipment-primed-none-available")] forCount:2.0];
else [UNIVERSE addMessage:DESC(@"equipment-primed-none-available") forCount:2.0];
}
else
{

View File

@ -690,7 +690,7 @@ static uint16_t PersonalityForCommanderDict(NSDictionary *dict);
gui_screen = GUI_SCREEN_SAVE;
[gui clear];
[gui setTitle:[NSString stringWithFormat:DESC(@"savescreen-title")]];
[gui setTitle:DESC(@"savescreen-title")];
currentPage = 0;
[self lsCommanders:gui directory:dir pageNumber: currentPage highlightName:nil];