r10207 - in packages/branches/zaz/miriam-i18n/debian: i18n patches
Miriam Ruiz
miriam at alioth.debian.org
Mon Aug 24 22:51:39 UTC 2009
Author: miriam
Date: 2009-08-24 22:51:39 +0000 (Mon, 24 Aug 2009)
New Revision: 10207
Modified:
packages/branches/zaz/miriam-i18n/debian/i18n/es.po
packages/branches/zaz/miriam-i18n/debian/patches/add_gettext.patch
Log:
More strings
Modified: packages/branches/zaz/miriam-i18n/debian/i18n/es.po
===================================================================
--- packages/branches/zaz/miriam-i18n/debian/i18n/es.po 2009-08-24 22:31:59 UTC (rev 10206)
+++ packages/branches/zaz/miriam-i18n/debian/i18n/es.po 2009-08-24 22:51:39 UTC (rev 10207)
@@ -7,8 +7,8 @@
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-08-25 00:29+0200\n"
-"PO-Revision-Date: 2009-08-25 00:32+0200\n"
+"POT-Creation-Date: 2009-08-25 00:47+0200\n"
+"PO-Revision-Date: 2009-08-25 00:51+0200\n"
"Last-Translator: Miriam Ruiz <miriam at debian.org>\n"
"Language-Team: español <es at li.org>\n"
"MIME-Version: 1.0\n"
@@ -109,6 +109,37 @@
msgid "Game paused"
msgstr "Juego parado"
+#: src/gameloop.cpp:458
+msgid "Level cleared"
+msgstr "Nivel superado"
+
+#: src/gameloop.cpp:461
+#, c-format
+msgid "Current score: %05d"
+msgstr "Puntuación actual: %05d"
+
+#: src/gameloop.cpp:472
+msgid "Game Over"
+msgstr "Fin del juego"
+
+#: src/gameloop.cpp:478
+#, c-format
+msgid "Score: %05d"
+msgstr "Puntuación: %05d"
+
+#: src/gameloop.cpp:486
+msgid "Congratulations !!! You just pwned"
+msgstr "¡¡Enhorabuena!! ¡¡Has triunfado!!"
+
+#: src/gameloop.cpp:511
+#, fuzzy
+msgid "You have a new hi score"
+msgstr "¡Cuidado! ¡ojo!"
+
+#: src/gameloop.cpp:512
+msgid "please enter your name"
+msgstr "por favor, introduce tu nombre"
+
#: data/data/level1.lvl:1
msgid "Zatlantiz"
msgstr "Zatlántida"
Modified: packages/branches/zaz/miriam-i18n/debian/patches/add_gettext.patch
===================================================================
--- packages/branches/zaz/miriam-i18n/debian/patches/add_gettext.patch 2009-08-24 22:31:59 UTC (rev 10206)
+++ packages/branches/zaz/miriam-i18n/debian/patches/add_gettext.patch 2009-08-24 22:51:39 UTC (rev 10207)
@@ -197,3 +197,63 @@
glColor3d(1.0, 0.0, 0.0);
CenterMsg(msg, 45, font);
+@@ -455,10 +455,10 @@
+ glLoadIdentity( );
+
+ glColor3d(1.0, 1.0, 1.0);
+- CenterMsg("Level cleared", 50, font);
++ CenterMsg(_("Level cleared"), 50, font);
+
+ char msgscore[256];
+- sprintf(msgscore, "Current score: %05d", score);
++ sprintf(msgscore, _("Current score: %05d"), score);
+
+ CenterMsg(msgscore, 45, font);
+ }
+@@ -469,13 +469,13 @@
+ gameOverMenu.Render();
+
+ glLoadIdentity( );
+- string msg = "Game Over";
++ string msg = _("Game Over");
+
+ glColor3d(1.0, 0.0, 0.0);
+
+ CenterMsg(msg, 50, font);
+ char msgscore[256];
+- sprintf(msgscore, "Score: %05d", score);
++ sprintf(msgscore, _("Score: %05d"), score);
+ glColor3d(1.0, 1.0, 1.0);
+ CenterMsg(msgscore, 45, font);
+ }
+@@ -483,7 +483,7 @@
+ if (pwned && !hiScore)
+ {
+ glColor3d(1.0, 1.0, 1.0);
+- CenterMsg("Congratulations !!! You just pwned", 90, font3);
++ CenterMsg(_("Congratulations !!! You just pwned"), 90, font3);
+
+ // logo
+ glLoadIdentity();
+@@ -508,8 +508,8 @@
+ if (hiScore)
+ {
+ glColor3d(1.0, 1.0, 1.0);
+- CenterMsg("You have a new hi score", 65, font);
+- CenterMsg("please enter your name", 60, font);
++ CenterMsg(_("You have a new hi score"), 65, font);
++ CenterMsg(_("please enter your name"), 60, font);
+ editor.Render();
+ }
+ }
+--- zaz-0.2.6.orig/src/game.cpp
++++ zaz-0.2.6/src/game.cpp
+@@ -487,7 +487,7 @@
+ glLoadIdentity( );
+ glPushMatrix();
+
+- FTBBox b = font3->BBox(level.name.c_str());
++ FTBBox b = font3->BBox(gettext(level.name.c_str()));
+ double tw = b.Upper().X() / 5;
+
+ glTranslated((100 - tw) / 2, 50, 5);
More information about the Pkg-games-commits
mailing list