[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3438 - trunk/pingus/src
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3438 - trunk/pingus/src |
Date: |
Wed, 31 Oct 2007 14:39:31 +0100 |
Author: grumbel
Date: 2007-10-31 14:39:31 +0100 (Wed, 31 Oct 2007)
New Revision: 3438
Modified:
trunk/pingus/src/level_menu.cpp
Log:
applied DirtY iCE translation fix (add gettext to level_menu)
Modified: trunk/pingus/src/level_menu.cpp
===================================================================
--- trunk/pingus/src/level_menu.cpp 2007-10-31 13:24:43 UTC (rev 3437)
+++ trunk/pingus/src/level_menu.cpp 2007-10-31 13:39:31 UTC (rev 3438)
@@ -118,11 +118,11 @@
gc.draw((*i)->get_image(), Vector2i(30, y));
- gc.print_left(Fonts::chalk_normal, 85+30, 15 + y, (*i)->get_title());
- gc.print_left(Fonts::chalk_small, 85+50, 40 + y,
(*i)->get_description());
+ gc.print_left(Fonts::chalk_normal, 85+30, 15 + y,
_((*i)->get_title()));
+ gc.print_left(Fonts::chalk_small, 85+50, 40 + y,
_((*i)->get_description()));
gc.print_right(Fonts::chalk_normal, rect.get_width() - 30, 15 + y,
(boost::format("%1% %2%%%") % _("Solved:") % (*i)->get_completion()).str());
- gc.print_right(Fonts::chalk_small, rect.get_width() - 30, 60 + y,
(boost::format("%1% levels") % (*i)->get_level_count()).str());
+ gc.print_right(Fonts::chalk_small, rect.get_width() - 30, 60 + y,
(boost::format("%1% %2%") % (*i)->get_level_count() % _("levels")).str());
//gc.draw(ok_button, 620, y);
@@ -192,8 +192,8 @@
//gc.draw_fillrect(Rect(Vector2i(0,0), Size(rect.get_width(),
rect.get_height())),
// Color(255, 255, 0, 100));
- gc.print_left(Fonts::chalk_normal, 30, -32, "Title");
- gc.print_right(Fonts::chalk_normal, rect.get_width() - 30, - 32,
"Status");
+ gc.print_left(Fonts::chalk_normal, 30, -32, _("Title"));
+ gc.print_right(Fonts::chalk_normal, rect.get_width() - 30, - 32,
_("Status"));
int y = 0;
for(int i = 0; i < levelset->get_level_count(); ++i)
@@ -206,12 +206,12 @@
if (maintainer_mode)
gc.print_left(Fonts::chalk_small, 30, y+4,
levelset->get_level(i)->plf.get_resname());
else
- gc.print_left(Fonts::chalk_small, 30, y+4,
levelset->get_level(i)->plf.get_levelname());
+ gc.print_left(Fonts::chalk_small, 30, y+4,
_(levelset->get_level(i)->plf.get_levelname()));
if (levelset->get_level(i)->finished)
- gc.print_right(Fonts::chalk_small, rect.get_width() -30, y+4,
"solved");
+ gc.print_right(Fonts::chalk_small, rect.get_width() -30, y+4,
_("solved"));
else
- gc.print_right(Fonts::chalk_small, rect.get_width() -30, y+4,
"unsolved");
+ gc.print_right(Fonts::chalk_small, rect.get_width() -30, y+4,
_("unsolved"));
y += 32;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3438 - trunk/pingus/src,
grumbel at BerliOS <=