mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Add missing text to gettext
This commit is contained in:
parent
7932c241bd
commit
fdd30b8079
87
src/menu.cpp
87
src/menu.cpp
@ -14,6 +14,7 @@
|
|||||||
#include "text.h"
|
#include "text.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "event.h"
|
#include "event.h"
|
||||||
|
#include "gettext.h"
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
@ -64,41 +65,41 @@ static const Sint16 table_button_icon[] =
|
|||||||
static const char *GetText (Sint32 rank)
|
static const char *GetText (Sint32 rank)
|
||||||
{
|
{
|
||||||
static const char *list[] = {
|
static const char *list[] = {
|
||||||
"Go",
|
translate ("Go"),
|
||||||
"Stop",
|
translate ("Stop"),
|
||||||
"Eat",
|
translate ("Eat"),
|
||||||
"Take",
|
translate ("Take"),
|
||||||
"Drop",
|
translate ("Drop"),
|
||||||
"Cut down a tree",
|
translate ("Cut down a tree"),
|
||||||
"Carve a rock",
|
translate ("Carve a rock"),
|
||||||
"Grow tomatoes",
|
translate ("Grow tomatoes"),
|
||||||
"Garden shed",
|
translate ("Garden shed"),
|
||||||
"Incubator",
|
translate ("Incubator"),
|
||||||
"Laboratory",
|
translate ("Laboratory"),
|
||||||
"Mine",
|
translate ("Mine"),
|
||||||
"Workshop",
|
translate ("Workshop"),
|
||||||
"Teleporter",
|
translate ("Teleporter"),
|
||||||
"Wall",
|
translate ("Wall"),
|
||||||
"Palisade",
|
translate ("Palisade"),
|
||||||
"Cut down trees",
|
translate ("Cut down trees"),
|
||||||
"Carve rocks",
|
translate ("Carve rocks"),
|
||||||
"Bridge",
|
translate ("Bridge"),
|
||||||
"Protection tower",
|
translate ("Protection tower"),
|
||||||
"Drink",
|
translate ("Drink"),
|
||||||
"Transform",
|
translate ("Transform"),
|
||||||
"Make bunch of flowers",
|
translate ("Make bunch of flowers"),
|
||||||
"Make bunches of flowers",
|
translate ("Make bunches of flowers"),
|
||||||
"Blow up",
|
translate ("Blow up"),
|
||||||
"Boat",
|
translate ("Boat"),
|
||||||
"Leave Jeep",
|
translate ("Leave Jeep"),
|
||||||
"Prospect for iron",
|
translate ("Prospect for iron"),
|
||||||
"Extract iron",
|
translate ("Extract iron"),
|
||||||
"Make a Jeep",
|
translate ("Make a Jeep"),
|
||||||
"Make a time bomb",
|
translate ("Make a time bomb"),
|
||||||
"Make a helper robot",
|
translate ("Make a helper robot"),
|
||||||
"Repeat",
|
translate ("Repeat"),
|
||||||
"Quit",
|
translate ("Quit"),
|
||||||
"Make armour",
|
translate ("Make armour"),
|
||||||
};
|
};
|
||||||
|
|
||||||
return gettext (list[rank]);
|
return gettext (list[rank]);
|
||||||
@ -107,14 +108,14 @@ static const char *GetText (Sint32 rank)
|
|||||||
static const char *GetErr (Sint32 rank)
|
static const char *GetErr (Sint32 rank)
|
||||||
{
|
{
|
||||||
static const char *list[] = {
|
static const char *list[] = {
|
||||||
"Impossible",
|
translate ("Impossible"),
|
||||||
"Inadequate ground",
|
translate ("Inadequate ground"),
|
||||||
"Occupied ground",
|
translate ("Occupied ground"),
|
||||||
"Opposite bank no good",
|
translate ("Opposite bank no good"),
|
||||||
"Bridge finished",
|
translate ("Bridge finished"),
|
||||||
"(isolated tower)",
|
translate ("(isolated tower)"),
|
||||||
"Too close to water",
|
translate ("Too close to water"),
|
||||||
"Already two teleporters",
|
translate ("Already two teleporters"),
|
||||||
};
|
};
|
||||||
|
|
||||||
return gettext (list[rank]);
|
return gettext (list[rank]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user