mirror of
https://github.com/anope/anope.git
synced 2026-07-06 16:13:13 +02:00
Do not translate command parameters that do not have translatable strings in them, or are not meant to be translated in the first place.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user