summaryrefslogtreecommitdiff
path: root/modules/commands/ns_set.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-12-28 23:28:30 +0100
committerRobby- <robby@chat.be>2013-12-28 23:28:30 +0100
commit780bc7ca1479a334a1bea59db3ffd89da1a87800 (patch)
tree71d28bb1e185e891ef2e332a023053e43ea55518 /modules/commands/ns_set.cpp
parent3d12752655405ae75265622cbec565f9efa23be3 (diff)
Do not translate command parameters that do not have translatable strings in them, or are not meant to be translated in the first place.
Diffstat (limited to 'modules/commands/ns_set.cpp')
-rw-r--r--modules/commands/ns_set.cpp10
1 files changed, 5 insertions, 5 deletions
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 &param)
@@ -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 &param)
@@ -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 &param)
@@ -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 &param)
@@ -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 &param)