From bf67b9ee5caee3224a44f3999a3f7f78fbce0a25 Mon Sep 17 00:00:00 2001 From: Robby- Date: Sun, 22 Sep 2013 23:27:14 +0200 Subject: Make column titles in listings translatable. Make some more strings translatable, and remove some that don't need translation at all. Make expirytimes and units translatable. Make predefined messages in listings also translatable. Make the remaining command descriptions translatable. Make some ns/cs info strings equal to dedupe in translation file. Add missing no-autoop setting to cs info output. Make some strings translatable. --- modules/commands/cs_suspend.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/commands/cs_suspend.cpp') diff --git a/modules/commands/cs_suspend.cpp b/modules/commands/cs_suspend.cpp index bc122d048..ca2fd0893 100644 --- a/modules/commands/cs_suspend.cpp +++ b/modules/commands/cs_suspend.cpp @@ -94,7 +94,7 @@ class CommandCSSuspend : public Command if (ci->HasExt("CS_SUSPENDED")) { - source.Reply(_("\2%s\2 is already suspended."), ci->name.c_str()); + source.Reply(_("\002%s\002 is already suspended."), ci->name.c_str()); return; } @@ -213,15 +213,15 @@ class CSSuspend : public Module CSSuspendInfo *si = suspend.Get(ci); if (si) { - info["Suspended"] = "This channel is \2suspended\2."; + info[_("Suspended")] = _("This channel is \002suspended\002."); if (!si->by.empty()) - info["Suspended by"] = si->by; + info[_("Suspended by")] = si->by; if (!si->reason.empty()) - info["Suspend reason"] = si->reason; + info[_("Suspend reason")] = si->reason; if (si->time) - info["Suspended on"] = Anope::strftime(si->time, source.GetAccount(), true); + info[_("Suspended on")] = Anope::strftime(si->time, source.GetAccount(), true); if (si->expires) - info["Suspended expires"] = Anope::strftime(si->expires, source.GetAccount(), true); + info[_("Suspension expires")] = Anope::strftime(si->expires, source.GetAccount(), true); } } -- cgit