diff options
author | Robby- <robby@chat.be> | 2013-09-22 23:27:14 +0200 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-27 19:11:02 -0400 |
commit | bf67b9ee5caee3224a44f3999a3f7f78fbce0a25 (patch) | |
tree | a8860f1eff4a110b6837a6068b0d684cec09ff53 /modules/commands/ns_suspend.cpp | |
parent | 829c169063577eefb50f2b6961f91f8bf29ae29d (diff) |
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.
Diffstat (limited to 'modules/commands/ns_suspend.cpp')
-rw-r--r-- | modules/commands/ns_suspend.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/commands/ns_suspend.cpp b/modules/commands/ns_suspend.cpp index ac4fdfaed..6625a63ec 100644 --- a/modules/commands/ns_suspend.cpp +++ b/modules/commands/ns_suspend.cpp @@ -103,7 +103,7 @@ class CommandNSSuspend : public Command if (na->nc->HasExt("NS_SUSPENDED")) { - source.Reply(_("\2%s\2 is already suspended."), na->nc->display.c_str()); + source.Reply(_("\002%s\002 is already suspended."), na->nc->display.c_str()); return; } @@ -217,15 +217,15 @@ class NSSuspend : public Module NSSuspendInfo *s = suspend.Get(na->nc); if (s) { - info["Suspended"] = "This nickname is \2suspended\2."; + info[_("Suspended")] = _("This nickname is \002suspended\002."); if (!s->by.empty()) - info["Suspended by"] = s->by; + info[_("Suspended by")] = s->by; if (!s->reason.empty()) - info["Suspend reason"] = s->reason; + info[_("Suspend reason")] = s->reason; if (s->when) - info["Suspended on"] = Anope::strftime(s->when, source.GetAccount(), true); + info[_("Suspended on")] = Anope::strftime(s->when, source.GetAccount(), true); if (s->expires) - info["Suspended expires"] = Anope::strftime(s->expires, source.GetAccount(), true); + info[_("Suspension expires")] = Anope::strftime(s->expires, source.GetAccount(), true); } } |