1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Ensure that gettext strings are always regenerated

- It fixes issue #52.
This commit is contained in:
Mathieu Schroeter 2018-02-13 23:38:23 +01:00
parent 61a1ab65eb
commit 0239d1e4ee

View File

@ -2448,7 +2448,7 @@ CEvent::DrawButtons ()
// Affiche le texte lorsque c'est raté. // Affiche le texte lorsque c'est raté.
if (m_phase == EV_PHASE_LOST) if (m_phase == EV_PHASE_LOST)
{ {
static char * list[] = { const char * list[] = {
gettext ("You have failed, try again..."), gettext ("You have failed, try again..."),
gettext ("No, wrong way ..."), gettext ("No, wrong way ..."),
gettext ("Bang, failed again !"), gettext ("Bang, failed again !"),
@ -2464,7 +2464,7 @@ CEvent::DrawButtons ()
// Affiche le texte lorsque c'est réussi. // Affiche le texte lorsque c'est réussi.
if (m_phase == EV_PHASE_WIN) if (m_phase == EV_PHASE_WIN)
{ {
static char * list[] = { const char * list[] = {
gettext ("Well done !"), gettext ("Yes, great ..."), gettext ("Well done !"), gettext ("Yes, great ..."),
gettext ("Very good."), gettext ("Excellent..."), gettext ("Very good."), gettext ("Excellent..."),
gettext ("Mission over..."), gettext ("Mission over..."),