From 780bc7ca1479a334a1bea59db3ffd89da1a87800 Mon Sep 17 00:00:00 2001 From: Robby- Date: Sat, 28 Dec 2013 23:28:30 +0100 Subject: Do not translate command parameters that do not have translatable strings in them, or are not meant to be translated in the first place. --- modules/commands/ns_set.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/commands/ns_set.cpp') diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp index 7a69e33e0..39d4fbb89 100644 --- a/modules/commands/ns_set.cpp +++ b/modules/commands/ns_set.cpp @@ -227,7 +227,7 @@ class CommandNSSetAutoOp : public Command CommandNSSetAutoOp(Module *creator, const Anope::string &sname = "nickserv/set/autoop", size_t min = 1) : Command(creator, sname, min, min + 1) { this->SetDesc(_("Sets whether services should set channel status modes on you automatically.")); - this->SetSyntax(_("{ON | OFF}")); + this->SetSyntax("{ON | OFF}"); } void Run(CommandSource &source, const Anope::string &user, const Anope::string ¶m) @@ -537,7 +537,7 @@ class CommandNSSetKeepModes : public Command CommandNSSetKeepModes(Module *creator, const Anope::string &sname = "nickserv/set/keepmodes", size_t min = 1) : Command(creator, sname, min, min + 1) { this->SetDesc(_("Enable or disable keep modes")); - this->SetSyntax(_("{ON | OFF}")); + this->SetSyntax("{ON | OFF}"); } void Run(CommandSource &source, const Anope::string &user, const Anope::string ¶m) @@ -624,7 +624,7 @@ class CommandNSSetKill : public Command CommandNSSetKill(Module *creator, const Anope::string &sname = "nickserv/set/kill", size_t min = 1) : Command(creator, sname, min, min + 1) { this->SetDesc(_("Turn protection on or off")); - this->SetSyntax(_("{ON | QUICK | IMMED | OFF}")); + this->SetSyntax("{ON | QUICK | IMMED | OFF}"); } void Run(CommandSource &source, const Anope::string &user, const Anope::string ¶m) @@ -871,7 +871,7 @@ class CommandNSSetMessage : public Command CommandNSSetMessage(Module *creator, const Anope::string &sname = "nickserv/set/message", size_t min = 1) : Command(creator, sname, min, min + 1) { this->SetDesc(_("Change the communication method of Services")); - this->SetSyntax(_("{ON | OFF}")); + this->SetSyntax("{ON | OFF}"); } void Run(CommandSource &source, const Anope::string &user, const Anope::string ¶m) @@ -975,7 +975,7 @@ class CommandNSSetSecure : public Command CommandNSSetSecure(Module *creator, const Anope::string &sname = "nickserv/set/secure", size_t min = 1) : Command(creator, sname, min, min + 1) { this->SetDesc(_("Turn nickname security on or off")); - this->SetSyntax(_("{ON | OFF}")); + this->SetSyntax("{ON | OFF}"); } void Run(CommandSource &source, const Anope::string &user, const Anope::string ¶m) -- cgit