summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-07-01 23:23:21 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-07-01 23:23:21 +0200
commit7342860e6c7b8d817410d886c7b89ff36e5c26f7 (patch)
tree4c456c4290754ac3a41a7ce92f770e480198814f /src/net
parenta48f309977615ed4eb528e9723fb28d65ccf0bf1 (diff)
downloadmana-7342860e6c7b8d817410d886c7b89ff36e5c26f7.tar.gz
mana-7342860e6c7b8d817410d886c7b89ff36e5c26f7.tar.bz2
mana-7342860e6c7b8d817410d886c7b89ff36e5c26f7.tar.xz
mana-7342860e6c7b8d817410d886c7b89ff36e5c26f7.zip
make update-po + gettext special comment added.
I added the //xgettext:no-c-format comment because gettext was wrongly guessing the no-c type of those strings. Nicely suggested by Byakushin a lot of time ago.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/generalhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index b03fb3b8..d8ce7955 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -238,8 +238,13 @@ void GeneralHandler::event(Event::Channel channel,
statusWindow->addAttribute(DEF, _("Defense"), false, "");
statusWindow->addAttribute(MATK, _("M.Attack"), false, "");
statusWindow->addAttribute(MDEF, _("M.Defense"), false, "");
+ // NOTE: Don't remove the gettext comments as they are used
+ // by the xgettext invocation.
+ //xgettext:no-c-format
statusWindow->addAttribute(HIT, _("% Accuracy"), false, "");
+ //xgettext:no-c-format
statusWindow->addAttribute(FLEE, _("% Evade"), false, "");
+ //xgettext:no-c-format
statusWindow->addAttribute(CRIT, _("% Critical"), false, "");
}
else if (event.getType() == Event::GuiWindowsUnloading)