Fixed some translation documentation, updated POT and en.po
This commit is contained in:
parent
a2d9120903
commit
98afecf1c3
996
locale/en.po
996
locale/en.po
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -638,7 +638,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
{
|
{
|
||||||
case P_CASH:
|
case P_CASH:
|
||||||
radio_getRandomMessage(fmt, ngettext(
|
radio_getRandomMessage(fmt, ngettext(
|
||||||
/// Info line messages for remaining cash to collect (singular)
|
/// Info line messages for remaining cash to collect
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
/// to add as many as you like. Each entry must have one instance of "%d", which
|
||||||
/// is replaced with the number remaining.
|
/// is replaced with the number remaining.
|
||||||
|
@ -646,10 +646,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
"$%d more to collect...\n"
|
"$%d more to collect...\n"
|
||||||
"Just $%d more needed...\n"
|
"Just $%d more needed...\n"
|
||||||
"Collect just $%d more...",
|
"Collect just $%d more...",
|
||||||
/// Info line messages for remaining cash to collect (plural)
|
// Plural
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
|
||||||
/// is replaced with the number remaining.
|
|
||||||
"Collect $%d more...\n"
|
"Collect $%d more...\n"
|
||||||
"$%d more to collect...\n"
|
"$%d more to collect...\n"
|
||||||
"$%d more needed...",
|
"$%d more needed...",
|
||||||
|
@ -658,7 +655,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
break;
|
break;
|
||||||
case P_CARGO:
|
case P_CARGO:
|
||||||
radio_getRandomMessage(fmt, ngettext(
|
radio_getRandomMessage(fmt, ngettext(
|
||||||
/// Info line messages for remaining cargo pods to collect (singular)
|
/// Info line messages for remaining cargo pods to collect
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
/// to add as many as you like. Each entry must have one instance of "%d", which
|
||||||
/// is replaced with the number remaining.
|
/// is replaced with the number remaining.
|
||||||
|
@ -667,10 +664,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
"%d more cargo pod needed...\n"
|
"%d more cargo pod needed...\n"
|
||||||
"Collect just %d more cargo pod...\n"
|
"Collect just %d more cargo pod...\n"
|
||||||
"Only %d cargo pod left to collect...",
|
"Only %d cargo pod left to collect...",
|
||||||
/// Info line messages for remaining cargo pods to collect (plural)
|
// Plural
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
|
||||||
/// is replaced with the number remaining.
|
|
||||||
"Collect %d more cargo pods...\n"
|
"Collect %d more cargo pods...\n"
|
||||||
"%d more cargo pods to collect...\n"
|
"%d more cargo pods to collect...\n"
|
||||||
"%d more cargo pods needed...\n"
|
"%d more cargo pods needed...\n"
|
||||||
|
@ -680,7 +674,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
break;
|
break;
|
||||||
case P_ORE:
|
case P_ORE:
|
||||||
radio_getRandomMessage(fmt,ngettext(
|
radio_getRandomMessage(fmt,ngettext(
|
||||||
/// Info line messages for remaining ore to collect (singular)
|
/// Info line messages for remaining ore to collect
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
/// to add as many as you like. Each entry must have one instance of "%d", which
|
||||||
/// is replaced with the number remaining.
|
/// is replaced with the number remaining.
|
||||||
|
@ -688,10 +682,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
"%d more piece of ore to collect...\n"
|
"%d more piece of ore to collect...\n"
|
||||||
"%d more piece of ore needed...\n"
|
"%d more piece of ore needed...\n"
|
||||||
"Collect just %d more piece...",
|
"Collect just %d more piece...",
|
||||||
/// Info line messages for remaining ore to collect (plural)
|
// Plural
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
|
||||||
/// is replaced with the number remaining.
|
|
||||||
"Collect %d more pieces of ore...\n"
|
"Collect %d more pieces of ore...\n"
|
||||||
"%d more pieces of ore to collect...\n"
|
"%d more pieces of ore to collect...\n"
|
||||||
"%d more pieces of ore needed...",
|
"%d more pieces of ore needed...",
|
||||||
|
@ -750,7 +741,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
if ((*targetValue <= 10) || (*targetValue % 10 == 0))
|
if ((*targetValue <= 10) || (*targetValue % 10 == 0))
|
||||||
{
|
{
|
||||||
radio_getRandomMessage(fmt, ngettext(
|
radio_getRandomMessage(fmt, ngettext(
|
||||||
/// Info line messages for remaining enemies to destroy (singular)
|
/// Info line messages for remaining enemies to destroy
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
/// to add as many as you like. Each entry must have one instance of "%d", which
|
||||||
/// is replaced with the number remaining.
|
/// is replaced with the number remaining.
|
||||||
|
@ -760,10 +751,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
"Destroy just %d more...\n"
|
"Destroy just %d more...\n"
|
||||||
"Only %d target left...\n"
|
"Only %d target left...\n"
|
||||||
"Destroy %d last target...",
|
"Destroy %d last target...",
|
||||||
/// Info line messages for remaining enemies to destroy (plural)
|
// Plural
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
|
||||||
/// is replaced with the number remaining.
|
|
||||||
"Destroy %d more targets...\n"
|
"Destroy %d more targets...\n"
|
||||||
"%d more targets to destroy...\n"
|
"%d more targets to destroy...\n"
|
||||||
"%d targets remain...\n"
|
"%d targets remain...\n"
|
||||||
|
@ -774,7 +762,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
break;
|
break;
|
||||||
case M_DISABLE_TARGET:
|
case M_DISABLE_TARGET:
|
||||||
radio_getRandomMessage(fmt, ngettext(
|
radio_getRandomMessage(fmt, ngettext(
|
||||||
/// Info line messages for remaining enemies to disable (singular)
|
/// Info line messages for remaining enemies to disable
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
/// to add as many as you like. Each entry must have one instance of "%d", which
|
||||||
/// is replaced with the number remaining.
|
/// is replaced with the number remaining.
|
||||||
|
@ -782,10 +770,7 @@ static void mission_evaluate(int type, int id, int *completed, int *targetValue,
|
||||||
"%d more target to disable...\n"
|
"%d more target to disable...\n"
|
||||||
"Disable just %d more...\n"
|
"Disable just %d more...\n"
|
||||||
"Disable %d last target...",
|
"Disable %d last target...",
|
||||||
/// Info line messages for remaining enemies to disable (plural)
|
// Plural
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
|
||||||
/// is replaced with the number remaining.
|
|
||||||
"Disable %d more targets...\n"
|
"Disable %d more targets...\n"
|
||||||
"%d more targets to disable...\n"
|
"%d more targets to disable...\n"
|
||||||
"Disable %d remaining targets...",
|
"Disable %d remaining targets...",
|
||||||
|
@ -878,7 +863,7 @@ void mission_updateRequirements(int type, int id, int value)
|
||||||
{
|
{
|
||||||
slavesNeeded = SLAVE_RESCUE_TARGET - game.slavesRescued;
|
slavesNeeded = SLAVE_RESCUE_TARGET - game.slavesRescued;
|
||||||
radio_getRandomMessage(fmt, ngettext(
|
radio_getRandomMessage(fmt, ngettext(
|
||||||
/// Info line messages for remaining slaves to rescue (singular)
|
/// Info line messages for remaining slaves to rescue
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
/// to add as many as you like. Each entry must have one instance of "%d", which
|
||||||
/// is replaced with the number remaining.
|
/// is replaced with the number remaining.
|
||||||
|
@ -886,10 +871,7 @@ void mission_updateRequirements(int type, int id, int value)
|
||||||
"Rescue at least %d more slave...\n"
|
"Rescue at least %d more slave...\n"
|
||||||
"At least %d more slave to rescue...\n"
|
"At least %d more slave to rescue...\n"
|
||||||
"At least %d more rescued slave needed...",
|
"At least %d more rescued slave needed...",
|
||||||
/// Info line messages for remaining slaves to rescue (plural)
|
// Plural
|
||||||
/// This is a "\n"-separated list of possible choices to make. Please feel free
|
|
||||||
/// to add as many as you like. Each entry must have one instance of "%d", which
|
|
||||||
/// is replaced with the number remaining.
|
|
||||||
"Rescue %d more slaves...\n"
|
"Rescue %d more slaves...\n"
|
||||||
"Rescue at least %d more slaves...\n"
|
"Rescue at least %d more slaves...\n"
|
||||||
"At least %d more slaves to rescue...\n"
|
"At least %d more slaves to rescue...\n"
|
||||||
|
@ -1315,8 +1297,7 @@ void mission_showFinishedScreen()
|
||||||
else
|
else
|
||||||
shield_bonus = player.shield * 10;
|
shield_bonus = player.shield * 10;
|
||||||
/// "%d" must be retained. It is replaced with the money earned
|
/// "%d" must be retained. It is replaced with the money earned
|
||||||
/// from the shield bonus. Please keep "$" as-is as well for the
|
/// from the shield bonus.
|
||||||
/// sake of continuity with untranslateable parts of the interface.
|
|
||||||
sprintf(temp, _("Shield Bonus: $%d"), shield_bonus);
|
sprintf(temp, _("Shield Bonus: $%d"), shield_bonus);
|
||||||
screen_renderUnicode(temp, -1, screen->h / 2 + 130, FONT_WHITE);
|
screen_renderUnicode(temp, -1, screen->h / 2 + 130, FONT_WHITE);
|
||||||
game.cash += shield_bonus;
|
game.cash += shield_bonus;
|
||||||
|
|
|
@ -109,6 +109,7 @@ int save_initSlots()
|
||||||
fp = fopen(fileName, "r");
|
fp = fopen(fileName, "r");
|
||||||
if (fp == NULL)
|
if (fp == NULL)
|
||||||
{
|
{
|
||||||
|
/// Used for empty save slots.
|
||||||
sprintf(saveSlot[i], (i == 0 ? _("AUTOSAVE (Empty)") : _("Empty")));
|
sprintf(saveSlot[i], (i == 0 ? _("AUTOSAVE (Empty)") : _("Empty")));
|
||||||
if (engine.gameSection == SECTION_TITLE)
|
if (engine.gameSection == SECTION_TITLE)
|
||||||
gfx_createTextObject(TS_SAVESLOT_0 + i, saveSlot[i],
|
gfx_createTextObject(TS_SAVESLOT_0 + i, saveSlot[i],
|
||||||
|
|
17
src/shop.c
17
src/shop.c
|
@ -59,31 +59,39 @@ static void drawSecondaryWeaponSurface()
|
||||||
switch (player.weaponType[1])
|
switch (player.weaponType[1])
|
||||||
{
|
{
|
||||||
case W_NONE:
|
case W_NONE:
|
||||||
/// Used to indicate that there is not Secondary Weapon.
|
/// Shop info: current secondary: none
|
||||||
strcpy(description, _("Uninstalled"));
|
strcpy(description, _("Uninstalled"));
|
||||||
break;
|
break;
|
||||||
case W_ROCKETS:
|
case W_ROCKETS:
|
||||||
|
/// Shop info: current secondary: rockets
|
||||||
strcpy(description, _("Rockets"));
|
strcpy(description, _("Rockets"));
|
||||||
break;
|
break;
|
||||||
case W_DOUBLE_ROCKETS:
|
case W_DOUBLE_ROCKETS:
|
||||||
|
/// Shop info: current secondary: double rockets
|
||||||
strcpy(description, _("Dbl Rockets"));
|
strcpy(description, _("Dbl Rockets"));
|
||||||
break;
|
break;
|
||||||
case W_MICRO_ROCKETS:
|
case W_MICRO_ROCKETS:
|
||||||
|
/// Shop info: current secondary: micro rockets
|
||||||
strcpy(description, _("Micro Rockets"));
|
strcpy(description, _("Micro Rockets"));
|
||||||
break;
|
break;
|
||||||
case W_LASER:
|
case W_LASER:
|
||||||
|
/// Shop info: current secondary: laser
|
||||||
strcpy(description, _("Laser"));
|
strcpy(description, _("Laser"));
|
||||||
break;
|
break;
|
||||||
case W_CHARGER:
|
case W_CHARGER:
|
||||||
|
/// Shop info: current secondary: charger
|
||||||
strcpy(description, _("Charger"));
|
strcpy(description, _("Charger"));
|
||||||
break;
|
break;
|
||||||
case W_HOMING_MISSILE:
|
case W_HOMING_MISSILE:
|
||||||
|
/// Shop info: current secondary: homing missile
|
||||||
strcpy(description, _("Homing Missile"));
|
strcpy(description, _("Homing Missile"));
|
||||||
break;
|
break;
|
||||||
case W_DOUBLE_HOMING_MISSILES:
|
case W_DOUBLE_HOMING_MISSILES:
|
||||||
|
/// Shop info: current secondary: double homing missiles
|
||||||
strcpy(description, _("Dbl Homing Missiles"));
|
strcpy(description, _("Dbl Homing Missiles"));
|
||||||
break;
|
break;
|
||||||
case W_MICRO_HOMING_MISSILES:
|
case W_MICRO_HOMING_MISSILES:
|
||||||
|
/// Shop info: current secondary: micro homing missiles
|
||||||
strcpy(description, _("Mcr Homing Missiles"));
|
strcpy(description, _("Mcr Homing Missiles"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -275,31 +283,38 @@ static void drawShop()
|
||||||
strcpy(description, "");
|
strcpy(description, "");
|
||||||
|
|
||||||
gfx_renderUnicode(_("Primary Weapon"), 10, 3, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_PRIMARY]);
|
gfx_renderUnicode(_("Primary Weapon"), 10, 3, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_PRIMARY]);
|
||||||
|
/// Shop info: min plasma output
|
||||||
/// Retain "%d" as-is. It is replaced with the min plasma output.
|
/// Retain "%d" as-is. It is replaced with the min plasma output.
|
||||||
sprintf(description, _("Cannons: %d"), game.minPlasmaOutput);
|
sprintf(description, _("Cannons: %d"), game.minPlasmaOutput);
|
||||||
gfx_renderUnicode(description, 10, 22, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_PRIMARY]);
|
gfx_renderUnicode(description, 10, 22, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_PRIMARY]);
|
||||||
|
/// Shop info: min plasma damage
|
||||||
/// Retain "%d" as-is. It is replaced with the min plasma damage.
|
/// Retain "%d" as-is. It is replaced with the min plasma damage.
|
||||||
sprintf(description, _("Power: Stage %d"),
|
sprintf(description, _("Power: Stage %d"),
|
||||||
game.minPlasmaDamage);
|
game.minPlasmaDamage);
|
||||||
gfx_renderUnicode(description, 10, 37, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_PRIMARY]);
|
gfx_renderUnicode(description, 10, 37, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_PRIMARY]);
|
||||||
|
/// Shop info: min plasma rate
|
||||||
/// Retain "%d" as-is. It is replaced with the min plasma cooling.
|
/// Retain "%d" as-is. It is replaced with the min plasma cooling.
|
||||||
sprintf(description, _("Cooling: Stage %d"),
|
sprintf(description, _("Cooling: Stage %d"),
|
||||||
game.minPlasmaRate);
|
game.minPlasmaRate);
|
||||||
gfx_renderUnicode(description, 10, 52, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_PRIMARY]);
|
gfx_renderUnicode(description, 10, 52, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_PRIMARY]);
|
||||||
|
|
||||||
gfx_renderUnicode(_("Powerup Weapon"), 10, 3, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
gfx_renderUnicode(_("Powerup Weapon"), 10, 3, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
||||||
|
/// Shop info: max plasma output
|
||||||
/// Retain "%d" as-is. It is replaced with the max plasma output.
|
/// Retain "%d" as-is. It is replaced with the max plasma output.
|
||||||
sprintf(description, _("Splitter: Stage %d"),
|
sprintf(description, _("Splitter: Stage %d"),
|
||||||
game.maxPlasmaOutput);
|
game.maxPlasmaOutput);
|
||||||
gfx_renderUnicode(description, 10, 22, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
gfx_renderUnicode(description, 10, 22, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
||||||
|
/// Shop info: max plasma damage
|
||||||
/// Retain "%d" as-is. It is replaced with the max plasma damage.
|
/// Retain "%d" as-is. It is replaced with the max plasma damage.
|
||||||
sprintf(description, _("Condensor: Stage %d"),
|
sprintf(description, _("Condensor: Stage %d"),
|
||||||
game.maxPlasmaDamage);
|
game.maxPlasmaDamage);
|
||||||
gfx_renderUnicode(description, 10, 37, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
gfx_renderUnicode(description, 10, 37, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
||||||
|
/// Shop info: max plasma rate
|
||||||
/// Retain "%d" as-is. It is replaced with the max plasma cooling.
|
/// Retain "%d" as-is. It is replaced with the max plasma cooling.
|
||||||
sprintf(description, _("L.Nitrogen: Stage %d"),
|
sprintf(description, _("L.Nitrogen: Stage %d"),
|
||||||
game.maxPlasmaRate);
|
game.maxPlasmaRate);
|
||||||
gfx_renderUnicode(description, 10, 52, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
gfx_renderUnicode(description, 10, 52, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
||||||
|
/// Shop info: max plasma ammo
|
||||||
/// Retain "%d" as-is. It is replaced with the Firefly's plasma ammo capacity.
|
/// Retain "%d" as-is. It is replaced with the Firefly's plasma ammo capacity.
|
||||||
sprintf(description, _("Capacity: %d"), game.maxPlasmaAmmo);
|
sprintf(description, _("Capacity: %d"), game.maxPlasmaAmmo);
|
||||||
gfx_renderUnicode(description, 10, 67, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
gfx_renderUnicode(description, 10, 67, FONT_WHITE, 0, gfx_shopSprites[SHOP_S_POWERUP]);
|
||||||
|
|
Loading…
Reference in New Issue