Would be neat if the draw_text() at DrawingContext would allow formatted text. Would just need a parser, and would avoid all these hacks.
SVN-Revision: 1461
msgstr ""
"Project-Id-Version: SuperTux 0.1.1\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-06-09 18:34+0100\n"
+"POT-Creation-Date: 2004-06-10 14:53+0100\n"
"PO-Revision-Date: 2004-06-03 00:29+0200\n"
"Last-Translator: <matze@braunis.de>\n"
"Language-Team: German <de@li.org>\n"
msgid "PAUSE - Press 'P' To Play"
msgstr ""
-#: src/gameloop.cpp:702 src/worldmap.cpp:849
+#: src/gameloop.cpp:528
+#, c-format
+msgid "Playing: "
+msgstr ""
+
+#: src/gameloop.cpp:714 src/worldmap.cpp:849
msgid "SCORE"
msgstr ""
-#: src/gameloop.cpp:707
+#: src/gameloop.cpp:719
msgid "Press ESC To Return"
msgstr ""
-#: src/gameloop.cpp:712
+#: src/gameloop.cpp:724
msgid "TIME's UP"
msgstr ""
-#: src/gameloop.cpp:716
+#: src/gameloop.cpp:728
msgid "TIME"
msgstr ""
-#: src/gameloop.cpp:723 src/gameloop.cpp:724 src/worldmap.cpp:853
+#: src/gameloop.cpp:735 src/gameloop.cpp:736 src/worldmap.cpp:853
msgid "COINS"
msgstr ""
-#: src/gameloop.cpp:745 src/gameloop.cpp:746 src/worldmap.cpp:874
+#: src/gameloop.cpp:757 src/gameloop.cpp:758 src/worldmap.cpp:874
#: src/worldmap.cpp:875
msgid "LIVES"
msgstr ""
-#: src/gameloop.cpp:751
-#, c-format
-msgid "Playing: %s"
-msgstr ""
-
-#: src/gameloop.cpp:776
+#: src/gameloop.cpp:780
msgid "Result:"
msgstr ""
-#: src/gameloop.cpp:779 src/worldmap.cpp:726
+#: src/gameloop.cpp:783 src/worldmap.cpp:726
#, c-format
msgid "SCORE: %d"
msgstr ""
-#: src/gameloop.cpp:782 src/worldmap.cpp:730
+#: src/gameloop.cpp:786 src/worldmap.cpp:730
#, c-format
msgid "COINS: %d"
msgstr ""
-#: src/gameloop.cpp:811
+#: src/gameloop.cpp:815
#, c-format
msgid "Slot %d - Savegame"
msgstr ""
-#: src/gameloop.cpp:814
+#: src/gameloop.cpp:818
#, c-format
msgid "Slot %d - Free"
msgstr ""
# translation of pt.po to
# translation of pt.po to
# translation of pt.po to
+# translation of pt.po to
# This file is distributed under the same license as the PACKAGE package.
# Copyright (C) YEAR SuperTux Development Team.
# Ricardo Cruz <rick2@aeiou.pt>, 2004.
msgstr ""
"Project-Id-Version: pt\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-06-09 18:34+0100\n"
-"PO-Revision-Date: 2004-06-09 18:34+0100\n"
+"POT-Creation-Date: 2004-06-10 14:53+0100\n"
+"PO-Revision-Date: 2004-06-10 14:53+0100\n"
"Last-Translator: Ricardo Cruz <rick2@aeiou.pt>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
msgid "PAUSE - Press 'P' To Play"
msgstr "PAUSA - Carrega no 'P' para continuar"
-#: src/gameloop.cpp:702 src/worldmap.cpp:849
+#: src/gameloop.cpp:528
+#, c-format
+msgid "Playing: "
+msgstr "Jogando: "
+
+#: src/gameloop.cpp:714 src/worldmap.cpp:849
msgid "SCORE"
msgstr "PONTOS"
-#: src/gameloop.cpp:707
+#: src/gameloop.cpp:719
msgid "Press ESC To Return"
msgstr "Carrega no ESC para sair"
-#: src/gameloop.cpp:712
+#: src/gameloop.cpp:724
msgid "TIME's UP"
msgstr "PASSOU O TEMPO"
-#: src/gameloop.cpp:716
+#: src/gameloop.cpp:728
msgid "TIME"
msgstr "TEMPO"
-#: src/gameloop.cpp:723 src/gameloop.cpp:724 src/worldmap.cpp:853
+#: src/gameloop.cpp:735 src/gameloop.cpp:736 src/worldmap.cpp:853
msgid "COINS"
msgstr "MOEDAS"
-#: src/gameloop.cpp:745 src/gameloop.cpp:746 src/worldmap.cpp:874
+#: src/gameloop.cpp:757 src/gameloop.cpp:758 src/worldmap.cpp:874
#: src/worldmap.cpp:875
msgid "LIVES"
msgstr "VIDAS"
-#: src/gameloop.cpp:751
-#, c-format
-msgid "Playing: %s"
-msgstr "Jogando: %s"
-
-#: src/gameloop.cpp:776
+#: src/gameloop.cpp:780
msgid "Result:"
msgstr "Resultado:"
-#: src/gameloop.cpp:779 src/worldmap.cpp:726
+#: src/gameloop.cpp:783 src/worldmap.cpp:726
#, c-format
msgid "SCORE: %d"
msgstr "PONTOS: %d"
-#: src/gameloop.cpp:782 src/worldmap.cpp:730
+#: src/gameloop.cpp:786 src/worldmap.cpp:730
#, c-format
msgid "COINS: %d"
msgstr "MOEDAS: %d"
-#: src/gameloop.cpp:811
+#: src/gameloop.cpp:815
#, c-format
msgid "Slot %d - Savegame"
msgstr "Slot %d - Jogo gravado"
-#: src/gameloop.cpp:814
+#: src/gameloop.cpp:818
#, c-format
msgid "Slot %d - Free"
msgstr "Slot %d - Livre"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: super-tux-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2004-06-09 18:34+0100\n"
+"POT-Creation-Date: 2004-06-10 14:53+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "PAUSE - Press 'P' To Play"
msgstr ""
-#: src/gameloop.cpp:702 src/worldmap.cpp:849
+#: src/gameloop.cpp:528
+#, c-format
+msgid "Playing: "
+msgstr ""
+
+#: src/gameloop.cpp:714 src/worldmap.cpp:849
msgid "SCORE"
msgstr ""
-#: src/gameloop.cpp:707
+#: src/gameloop.cpp:719
msgid "Press ESC To Return"
msgstr ""
-#: src/gameloop.cpp:712
+#: src/gameloop.cpp:724
msgid "TIME's UP"
msgstr ""
-#: src/gameloop.cpp:716
+#: src/gameloop.cpp:728
msgid "TIME"
msgstr ""
-#: src/gameloop.cpp:723 src/gameloop.cpp:724 src/worldmap.cpp:853
+#: src/gameloop.cpp:735 src/gameloop.cpp:736 src/worldmap.cpp:853
msgid "COINS"
msgstr ""
-#: src/gameloop.cpp:745 src/gameloop.cpp:746 src/worldmap.cpp:874
+#: src/gameloop.cpp:757 src/gameloop.cpp:758 src/worldmap.cpp:874
#: src/worldmap.cpp:875
msgid "LIVES"
msgstr ""
-#: src/gameloop.cpp:751
-#, c-format
-msgid "Playing: %s"
-msgstr ""
-
-#: src/gameloop.cpp:776
+#: src/gameloop.cpp:780
msgid "Result:"
msgstr ""
-#: src/gameloop.cpp:779 src/worldmap.cpp:726
+#: src/gameloop.cpp:783 src/worldmap.cpp:726
#, c-format
msgid "SCORE: %d"
msgstr ""
-#: src/gameloop.cpp:782 src/worldmap.cpp:730
+#: src/gameloop.cpp:786 src/worldmap.cpp:730
#, c-format
msgid "COINS: %d"
msgstr ""
-#: src/gameloop.cpp:811
+#: src/gameloop.cpp:815
#, c-format
msgid "Slot %d - Savegame"
msgstr ""
-#: src/gameloop.cpp:814
+#: src/gameloop.cpp:818
#, c-format
msgid "Slot %d - Free"
msgstr ""
Color(rand() % 50, rand() % 50, rand() % 50, 128), LAYER_FOREGROUND1);
context->draw_text_center(blue_text, _("PAUSE - Press 'P' To Play"),
Vector(0, 230), LAYER_FOREGROUND1+2);
+
+ char str1[60];
+ char str2[124];
+ sprintf(str1, _("Playing: "));
+ sprintf(str2, level->name.c_str());
+
+ context->draw_text(blue_text, str1,
+ Vector((screen->w - (blue_text->get_text_width(str1) + white_text->get_text_width(str2)))/2, 340),
+ LAYER_FOREGROUND1+2);
+ context->draw_text(white_text, str2,
+ Vector(((screen->w - (blue_text->get_text_width(str1) + white_text->get_text_width(str2)))/2)+blue_text->get_text_width(str1), 340),
+ LAYER_FOREGROUND1+2);
}
if(Menu::current())
Vector(screen->w - white_text->get_text_width(_("LIVES")) - white_text->get_text_width(" 99"), 20),
LAYER_FOREGROUND1);
- if(game_pause)
- {
- sprintf(str, _("Playing: %s"), level->name.c_str());
-
- context.draw_text(white_text, str, Vector(0,20),
- LAYER_FOREGROUND1);
- }
-
if(show_fps)
{
sprintf(str, "%2.1f", fps_fps);