pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] rev 2230 - trunk/src/actions


From: address@hidden
Subject: [Pingus-CVS] rev 2230 - trunk/src/actions
Date: Fri, 09 Apr 2004 14:43:45 +0200

Author: torangan
Date: 2004-04-09 14:43:44 +0200 (Fri, 09 Apr 2004)
New Revision: 2230

Modified:
   trunk/src/actions/bridger.cxx
Log:
i18n of missing string


Modified: trunk/src/actions/bridger.cxx
===================================================================
--- trunk/src/actions/bridger.cxx       2004-04-09 11:26:40 UTC (rev 2229)
+++ trunk/src/actions/bridger.cxx       2004-04-09 12:43:44 UTC (rev 2230)
@@ -26,6 +26,7 @@
 #include "../sound/sound.hxx"
 #include "../string_converter.hxx"
 #include "../world.hxx"
+#include "../gettext.h"
 #include "bridger.hxx"
 
 namespace Pingus {
@@ -44,7 +45,7 @@
     build_sprite(Sprite("Pingus/bridger_build" + 
to_string(pingu->get_owner()), "pingus", 15.0f, Sprite::NONE, Sprite::ONCE)),
     bricks(MAX_BRICKS),
     block_build(false),
-    name("Bridger (" + to_string(bricks) + ")")
+    name(_("Bridger") + std::string(" (") + to_string(bricks) + ")")
 {
   if (!static_surfaces_loaded)
     {
@@ -228,7 +229,7 @@
 Bridger::place_a_brick()
 {
   bricks--;
-  name = "Bridger (" + to_string(bricks) + ")";
+  name = _("Bridger") + std::string(" (") + to_string(bricks) + ")";
 
   if (bricks < 4)
     Sound::PingusSound::play_sound("ting");





reply via email to

[Prev in Thread] Current Thread [Next in Thread]