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_info.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_info.cpp')
-rw-r--r-- | modules/commands/ns_info.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/ns_info.cpp b/modules/commands/ns_info.cpp index b15357b26..c2b09981e 100644 --- a/modules/commands/ns_info.cpp +++ b/modules/commands/ns_info.cpp @@ -77,10 +77,10 @@ class CommandNSInfo : public Command info[_("Last seen address")] = na->last_realhost; } - info[_("Time registered")] = Anope::strftime(na->time_registered); + info[_("Registered")] = Anope::strftime(na->time_registered, source.GetAccount()); if (!nick_online) - info[_("Last seen")] = Anope::strftime(na->last_seen); + info[_("Last seen")] = Anope::strftime(na->last_seen, source.GetAccount()); if (!na->last_quit.empty() && (show_hidden || !na->nc->HasExt("HIDE_QUIT"))) info[_("Last quit message")] = na->last_quit; @@ -221,7 +221,7 @@ class CommandNSSASetHide : public CommandNSSetHide public: CommandNSSASetHide(Module *creator) : CommandNSSetHide(creator, "nickserv/saset/hide", 3) { - this->SetSyntax("\037nickname\037 {EMAIL | STATUS | USERMASK | QUIT} {ON | OFF}"); + this->SetSyntax(_("\037nickname\037 {EMAIL | STATUS | USERMASK | QUIT} {ON | OFF}")); } void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) anope_override |