Externalized the (N/A) damaged equipment string. Inserted the load-previous-commander-(yes/no) keys in descriptions as a guide for people doing translation OXPs. Updated the contributors.txt file.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1395 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2008-02-20 07:16:01 +00:00
parent 579eb6aa33
commit d55403fd1b
4 changed files with 7 additions and 3 deletions

View File

@ -749,6 +749,8 @@
"game-copyright" = "by Giles Williams and contributors © 2003-2008";
"theme-music-credit" = "Oolite Theme Music by NoSleep © 2004";
"load-previous-commander" = "Load Previous Commander (Y/N)?";
"load-previous-commander-yes" = "y"; // Defines the key that corresponds to the yes answer to load-previous-commnader.
"load-previous-commander-no" = "n"; // Defines the key that corresponds to the no answer to load-previous-commnader.
// Status screen
"status-commander-@" = "Commander %@";
@ -767,6 +769,7 @@
"equipment-port-weapon-@" = "Port %@";
"equipment-single-pass-berth-@" = "1 Passenger Berth";
"equipment-multiple-pass-berth-@" = "%d Passenger Berths";
"equipment-not-available" = " (N/A)";
"cash-quantity" = "%.1f ₢";
"manifest-cargo-quantity-format" = "%d %@ × %@"; // $count $units × $commodityName

View File

@ -8,6 +8,8 @@ Jens Ayton (Ahruman)
Nikos Barkas (another_commander)
Commander McLane
Chris Crowther (hikari)
James Hobson (Cmdr James)
Influence D
Kaks
Dave MacLachlan (Jester)
Nic
@ -15,7 +17,6 @@ No Sleep Nigel
Dylan Smith (winston)
David Taylor (dajt)
Eric Walch
Influence D
Library credits:

View File

@ -4120,7 +4120,7 @@ double scoopSoundPlayTime = 0.0;
{
if ([self hasExtraEquipment:w_key_damaged])
{
[quip addObject:[[[equipmentinfo arrayAtIndex:i] stringAtIndex:EQUIPMENT_SHORT_DESC_INDEX] stringByAppendingString:@" (N/A)"]];
[quip addObject:[[[equipmentinfo arrayAtIndex:i] stringAtIndex:EQUIPMENT_SHORT_DESC_INDEX] stringByAppendingString:DESC(@"equipment-not-available")]];
}
}
}

View File

@ -771,7 +771,7 @@ OOINLINE BOOL RowInRange(OOGUIRow row, NSRange range)
for (i=0; i < equipment_list_items_count; i++)
{
// Damaged items in the equipment list appear in orange color.
BOOL is_eqpt_damaged = [[eqptList objectAtIndex:i] hasSuffix:@"(N/A)"];
BOOL is_eqpt_damaged = [[eqptList objectAtIndex:i] hasSuffix:DESC(@"equipment-not-available")];
if (is_eqpt_damaged == YES) glColor4f (1.0, 0.5, 0.0, 1.0);
if (i < eqpt_items_per_column)