Two more hardcoded strings out to descriptions.plist
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1636 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
a39a8f17c4
commit
132a643af6
@ -923,6 +923,8 @@
|
||||
"manifest-passengers-d-d" = "Passengers %d (%d):";
|
||||
"manifest-contracts" = "Contracts:";
|
||||
"manifest-missions" = "Missions:";
|
||||
"manifest-@-travelling-to-@-to-arrive-within-@" = " %@ travelling to %@ to arrive within %@.";
|
||||
"manifest-deliver-@-to-@within-@" = " Deliver %@ to %@ within %@.";
|
||||
|
||||
// Shipyard screen
|
||||
"@-shipyard-title" = "%@ Ships For Sale";
|
||||
|
@ -819,7 +819,7 @@ static NSString * const kOOLogNoteShowShipyardModel = @"script.debug.note.showSh
|
||||
NSString* passenger_dest_name = (NSString *)[passenger_info objectForKey:PASSENGER_KEY_DESTINATION_NAME];
|
||||
int dest_eta = [(NSNumber*)[passenger_info objectForKey:PASSENGER_KEY_ARRIVAL_TIME] doubleValue] - ship_clock;
|
||||
|
||||
NSString* short_desc = [NSString stringWithFormat:@"\t%@ travelling to %@ to arrive within %@.",
|
||||
NSString* short_desc = [NSString stringWithFormat:DESC(@"manifest-@-travelling-to-@-to-arrive-within-@"),
|
||||
passenger_name, passenger_dest_name, [UNIVERSE shortTimeDescription:dest_eta]];
|
||||
|
||||
[result addObject:short_desc];
|
||||
@ -840,7 +840,7 @@ static NSString * const kOOLogNoteShowShipyardModel = @"script.debug.note.showSh
|
||||
NSString* contract_dest_name = (NSString *)[contract_info objectForKey:PASSENGER_KEY_DESTINATION_NAME];
|
||||
int dest_eta = [(NSNumber*)[contract_info objectForKey:PASSENGER_KEY_ARRIVAL_TIME] doubleValue] - ship_clock;
|
||||
|
||||
NSString* short_desc = [NSString stringWithFormat:@"\tDeliver %@ to %@ within %@.",
|
||||
NSString* short_desc = [NSString stringWithFormat:DESC(@"manifest-deliver-@-to-@within-@"),
|
||||
contract_cargo_desc, contract_dest_name, [UNIVERSE shortTimeDescription:dest_eta]];
|
||||
|
||||
[result addObject:short_desc];
|
||||
|
Loading…
x
Reference in New Issue
Block a user