From 7342860e6c7b8d817410d886c7b89ff36e5c26f7 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Fri, 1 Jul 2011 23:23:21 +0200 Subject: 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. --- src/net/tmwa/generalhandler.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net') 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) -- cgit v1.2.3-70-g09d2