diff --git a/locale/tbftss.pot b/locale/tbftss.pot index b68a25b..40e9a20 100644 --- a/locale/tbftss.pot +++ b/locale/tbftss.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: TBFTSS: The Pandoran War\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-04 16:02:20+0100\n" +"POT-Creation-Date: 2017-08-12 08:33:27+0100\n" "PO-Revision-Date: ???\n" "Last-Translator: ???\n" "Language-Team: ???\n" @@ -289,6 +289,27 @@ msgstr "" msgid "%s has fallen to the Pandorans" msgstr "" +msgid "Fighter Database" +msgstr "" + +msgid "Page %d / %d" +msgstr "" + +msgid "Destroyed" +msgstr "" + +msgid "Affiliation" +msgstr "" + +msgid "Armour" +msgstr "" + +msgid "Shield" +msgstr "" + +msgid "Speed" +msgstr "" + msgid "Percent Complete" msgstr "" @@ -403,9 +424,6 @@ msgstr "" msgid "Stats" msgstr "" -msgid "Page %d / %d" -msgstr "" - msgid "Trophies" msgstr "" @@ -520,6 +538,9 @@ msgstr "" msgid "Start Mission" msgstr "" +msgid "X" +msgstr "" + msgid "Campaign" msgstr "" @@ -2605,12 +2626,24 @@ msgstr "" msgid "Picking up incoming Tzac corvettes." msgstr "" +msgid "We need to take down those capital ships, right away. Lt. Cdr. Dodds, lead the strike." +msgstr "" + +msgid "HMS 711-444 has been taken down." +msgstr "" + +msgid "HMS 313-777 is out of the game." +msgstr "" + msgid "We're losing captial ships! We can't continue like this!" msgstr "" msgid "The Pandoran forces are closing in on Flint. They will commence planetary bombardment if allowed to get any closer." msgstr "" +msgid "Dammit! That's all three of our corvettes down!" +msgstr "" + msgid "Dodds, Commodore Parks has ordered that you pull out immediately." msgstr "" diff --git a/src/game/fighterDatabase.c b/src/game/fighterDatabase.c index 3c56ad2..58f5860 100644 --- a/src/game/fighterDatabase.c +++ b/src/game/fighterDatabase.c @@ -32,6 +32,12 @@ static Widget *prev; static Widget *next; static char *DB_TEXT; static char *PAGE_TEXT; +static char *DESTROYED_TEXT; +static char *AFFILIATION_TEXT; +static char *ARMOUR_TEXT; +static char *SHIELD_TEXT; +static char *SPEED_TEXT; +static char *MISSILES_TEXT; static const char *gunName[BT_MAX]; static Entity **dbFighters; static float rotation; @@ -41,6 +47,13 @@ void initFighterDatabase(void) DB_TEXT = _("Fighter Database"); PAGE_TEXT = _("Page %d / %d"); + DESTROYED_TEXT = _("Destroyed"); + AFFILIATION_TEXT = _("Affiliation"); + ARMOUR_TEXT = _("Armour"); + SHIELD_TEXT = _("Shield"); + SPEED_TEXT = _("Speed"); + MISSILES_TEXT = _("Missiles"); + dbFighters = getDBFighters(&maxPages); gunName[BT_NONE] = ""; @@ -108,12 +121,12 @@ void drawFighterDatabase(void) blitRotated(fighter->texture, r.x + (r.w / 2), 250, rotation); - drawText(r.x + (r.w / 2), 290, 18, TA_CENTER, colors.lightGrey, "Destroyed: %d", numDestroyed); + drawText(r.x + (r.w / 2), 290, 18, TA_CENTER, colors.lightGrey, "%s: %d", DESTROYED_TEXT, numDestroyed); - drawText(r.x + 25, 200, 22, TA_LEFT, colors.white, "Affiliation: %s", fighter->affiliation); - drawText(r.x + 25, 240, 22, TA_LEFT, colors.white, "Armour: %d", fighter->health); - drawText(r.x + 25, 280, 22, TA_LEFT, colors.white, "Shield: %d", fighter->shield); - drawText(r.x + 25, 320, 22, TA_LEFT, colors.white, "Speed: %.0f", ((fighter->speed * fighter->speed) * FPS)); + drawText(r.x + 25, 200, 22, TA_LEFT, colors.white, "%s: %s", AFFILIATION_TEXT, fighter->affiliation); + drawText(r.x + 25, 240, 22, TA_LEFT, colors.white, "%s: %d", ARMOUR_TEXT, fighter->health); + drawText(r.x + 25, 280, 22, TA_LEFT, colors.white, "%s: %d", SHIELD_TEXT, fighter->shield); + drawText(r.x + 25, 320, 22, TA_LEFT, colors.white, "%s: %.0f", SPEED_TEXT, ((fighter->speed * fighter->speed) * FPS)); y = 200;