1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 08:03:13 +02:00

changed some _() to gtl() and updated do_strftime() and duration()

This commit is contained in:
DukePyrolator
2011-06-13 18:20:22 +02:00
parent 6148ffa669
commit 1cd65878db
14 changed files with 147 additions and 145 deletions
+2 -2
View File
@@ -119,14 +119,14 @@ class DefConTimeout : public CallBack
DConfig.defaultlevel = level;
FOREACH_MOD(I_OnDefconLevel, OnDefconLevel(level));
Log(operserv->Bot(), "operserv/defcon") << "Defcon level timeout, returning to level " << level;
ircdproto->SendGlobops(operserv->Bot(), GetString(NULL, _("\002%s\002 Changed the DEFCON level to \002%d\002")).c_str(), Config->s_OperServ.c_str(), level);
ircdproto->SendGlobops(operserv->Bot(), GetString(NULL, gtl("\002%s\002 Changed the DEFCON level to \002%d\002")).c_str(), Config->s_OperServ.c_str(), level);
if (DConfig.globalondefcon)
{
if (!DConfig.offmessage.empty())
global->SendGlobal(global->Bot(), "", DConfig.offmessage);
else
global->SendGlobal(global->Bot(), "", Anope::printf(GetString(NULL, _("The Defcon Level is now at Level: \002%d\002")).c_str(), DConfig.defaultlevel));
global->SendGlobal(global->Bot(), "", Anope::printf(GetString(NULL, gtl("The Defcon Level is now at Level: \002%d\002")).c_str(), DConfig.defaultlevel));
if (!DConfig.message.empty())
global->SendGlobal(global->Bot(), "", DConfig.message);