summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/core/bs_act.cpp2
-rw-r--r--modules/core/bs_assign.cpp2
-rw-r--r--modules/core/bs_badwords.cpp2
-rw-r--r--modules/core/bs_bot.cpp2
-rw-r--r--modules/core/bs_botlist.cpp2
-rw-r--r--modules/core/bs_info.cpp2
-rw-r--r--modules/core/bs_kick.cpp2
-rw-r--r--modules/core/bs_say.cpp2
-rw-r--r--modules/core/bs_set.cpp2
-rw-r--r--modules/core/bs_unassign.cpp2
-rw-r--r--modules/core/cs_access.cpp4
-rw-r--r--modules/core/cs_akick.cpp2
-rw-r--r--modules/core/cs_ban.cpp2
-rw-r--r--modules/core/cs_clearusers.cpp2
-rw-r--r--modules/core/cs_clone.cpp2
-rw-r--r--modules/core/cs_drop.cpp2
-rw-r--r--modules/core/cs_forbid.cpp2
-rw-r--r--modules/core/cs_getkey.cpp2
-rw-r--r--modules/core/cs_info.cpp2
-rw-r--r--modules/core/cs_invite.cpp2
-rw-r--r--modules/core/cs_kick.cpp2
-rw-r--r--modules/core/cs_list.cpp2
-rw-r--r--modules/core/cs_mode.cpp2
-rw-r--r--modules/core/cs_modes.cpp20
-rw-r--r--modules/core/cs_register.cpp2
-rw-r--r--modules/core/cs_saset.cpp2
-rw-r--r--modules/core/cs_saset_noexpire.cpp2
-rw-r--r--modules/core/cs_set.cpp2
-rw-r--r--modules/core/cs_set_bantype.cpp2
-rw-r--r--modules/core/cs_set_description.cpp2
-rw-r--r--modules/core/cs_set_founder.cpp2
-rw-r--r--modules/core/cs_set_keeptopic.cpp2
-rw-r--r--modules/core/cs_set_opnotice.cpp2
-rw-r--r--modules/core/cs_set_peace.cpp2
-rw-r--r--modules/core/cs_set_persist.cpp2
-rw-r--r--modules/core/cs_set_private.cpp2
-rw-r--r--modules/core/cs_set_restricted.cpp2
-rw-r--r--modules/core/cs_set_secure.cpp2
-rw-r--r--modules/core/cs_set_securefounder.cpp2
-rw-r--r--modules/core/cs_set_secureops.cpp2
-rw-r--r--modules/core/cs_set_signkick.cpp2
-rw-r--r--modules/core/cs_set_successor.cpp2
-rw-r--r--modules/core/cs_set_topiclock.cpp2
-rw-r--r--modules/core/cs_set_xop.cpp2
-rw-r--r--modules/core/cs_status.cpp2
-rw-r--r--modules/core/cs_suspend.cpp4
-rw-r--r--modules/core/cs_topic.cpp2
-rw-r--r--modules/core/cs_unban.cpp2
-rw-r--r--modules/core/cs_xop.cpp10
-rw-r--r--modules/core/hs_del.cpp2
-rw-r--r--modules/core/hs_delall.cpp2
-rw-r--r--modules/core/hs_group.cpp2
-rw-r--r--modules/core/hs_list.cpp2
-rw-r--r--modules/core/hs_off.cpp2
-rw-r--r--modules/core/hs_on.cpp2
-rw-r--r--modules/core/hs_set.cpp2
-rw-r--r--modules/core/hs_setall.cpp2
-rw-r--r--modules/core/ms_cancel.cpp2
-rw-r--r--modules/core/ms_check.cpp2
-rw-r--r--modules/core/ms_del.cpp2
-rw-r--r--modules/core/ms_ignore.cpp2
-rw-r--r--modules/core/ms_info.cpp2
-rw-r--r--modules/core/ms_list.cpp2
-rw-r--r--modules/core/ms_read.cpp2
-rw-r--r--modules/core/ms_rsend.cpp2
-rw-r--r--modules/core/ms_send.cpp2
-rw-r--r--modules/core/ms_sendall.cpp2
-rw-r--r--modules/core/ms_set.cpp2
-rw-r--r--modules/core/ms_staff.cpp2
-rw-r--r--modules/core/ns_access.cpp2
-rw-r--r--modules/core/ns_ajoin.cpp2
-rw-r--r--modules/core/ns_alist.cpp2
-rw-r--r--modules/core/ns_drop.cpp2
-rw-r--r--modules/core/ns_forbid.cpp2
-rw-r--r--modules/core/ns_getemail.cpp2
-rw-r--r--modules/core/ns_getpass.cpp2
-rw-r--r--modules/core/ns_ghost.cpp2
-rw-r--r--modules/core/ns_group.cpp6
-rw-r--r--modules/core/ns_identify.cpp2
-rw-r--r--modules/core/ns_info.cpp2
-rw-r--r--modules/core/ns_list.cpp2
-rw-r--r--modules/core/ns_logout.cpp2
-rw-r--r--modules/core/ns_recover.cpp2
-rw-r--r--modules/core/ns_register.cpp4
-rw-r--r--modules/core/ns_release.cpp2
-rw-r--r--modules/core/ns_resetpass.cpp2
-rw-r--r--modules/core/ns_saset.cpp6
-rw-r--r--modules/core/ns_saset_noexpire.cpp2
-rw-r--r--modules/core/ns_sendpass.cpp2
-rw-r--r--modules/core/ns_set.cpp6
-rw-r--r--modules/core/ns_set_autoop.cpp2
-rw-r--r--modules/core/ns_set_email.cpp2
-rw-r--r--modules/core/ns_set_greet.cpp2
-rw-r--r--modules/core/ns_set_hide.cpp2
-rw-r--r--modules/core/ns_set_kill.cpp2
-rw-r--r--modules/core/ns_set_language.cpp2
-rw-r--r--modules/core/ns_set_message.cpp2
-rw-r--r--modules/core/ns_set_private.cpp2
-rw-r--r--modules/core/ns_set_secure.cpp2
-rw-r--r--modules/core/ns_status.cpp2
-rw-r--r--modules/core/ns_suspend.cpp4
-rw-r--r--modules/core/ns_update.cpp2
-rw-r--r--modules/core/os_akill.cpp2
-rw-r--r--modules/core/os_chankill.cpp2
-rw-r--r--modules/core/os_chanlist.cpp2
-rw-r--r--modules/core/os_config.cpp2
-rw-r--r--modules/core/os_defcon.cpp2
-rw-r--r--modules/core/os_global.cpp2
-rw-r--r--modules/core/os_ignore.cpp2
-rw-r--r--modules/core/os_jupe.cpp2
-rw-r--r--modules/core/os_kick.cpp2
-rw-r--r--modules/core/os_mode.cpp2
-rw-r--r--modules/core/os_modinfo.cpp2
-rw-r--r--modules/core/os_modlist.cpp2
-rw-r--r--modules/core/os_modload.cpp2
-rw-r--r--modules/core/os_modreload.cpp2
-rw-r--r--modules/core/os_modunload.cpp2
-rw-r--r--modules/core/os_news.cpp6
-rw-r--r--modules/core/os_noop.cpp2
-rw-r--r--modules/core/os_oline.cpp2
-rw-r--r--modules/core/os_quit.cpp2
-rw-r--r--modules/core/os_reload.cpp2
-rw-r--r--modules/core/os_restart.cpp2
-rw-r--r--modules/core/os_session.cpp4
-rw-r--r--modules/core/os_set.cpp2
-rw-r--r--modules/core/os_shutdown.cpp2
-rw-r--r--modules/core/os_snline.cpp2
-rw-r--r--modules/core/os_sqline.cpp2
-rw-r--r--modules/core/os_staff.cpp2
-rw-r--r--modules/core/os_stats.cpp2
-rw-r--r--modules/core/os_svsnick.cpp2
-rw-r--r--modules/core/os_szline.cpp2
-rw-r--r--modules/core/os_update.cpp2
-rw-r--r--modules/core/os_userlist.cpp2
-rw-r--r--modules/extra/cs_appendtopic.cpp2
-rw-r--r--modules/extra/cs_enforce.cpp2
-rw-r--r--modules/extra/cs_entrymsg.cpp2
-rw-r--r--modules/extra/cs_tban.cpp2
-rw-r--r--modules/extra/db_mysql.cpp2
-rw-r--r--modules/extra/hs_request.cpp8
140 files changed, 169 insertions, 169 deletions
diff --git a/modules/core/bs_act.cpp b/modules/core/bs_act.cpp
index 30021ce38..b5de45cb7 100644
--- a/modules/core/bs_act.cpp
+++ b/modules/core/bs_act.cpp
@@ -18,7 +18,7 @@ class CommandBSAct : public Command
public:
CommandBSAct() : Command("ACT", 2, 2)
{
- this->SetDesc("Makes the bot do the equivalent of a \"/me\" command");
+ this->SetDesc(_("Makes the bot do the equivalent of a \"/me\" command"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/bs_assign.cpp b/modules/core/bs_assign.cpp
index b1d967305..d86a07c23 100644
--- a/modules/core/bs_assign.cpp
+++ b/modules/core/bs_assign.cpp
@@ -18,7 +18,7 @@ class CommandBSAssign : public Command
public:
CommandBSAssign() : Command("ASSIGN", 2, 2)
{
- this->SetDesc("Assigns a bot to a channel");
+ this->SetDesc(_("Assigns a bot to a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/bs_badwords.cpp b/modules/core/bs_badwords.cpp
index 836ddb263..7de30afe2 100644
--- a/modules/core/bs_badwords.cpp
+++ b/modules/core/bs_badwords.cpp
@@ -228,7 +228,7 @@ class CommandBSBadwords : public Command
public:
CommandBSBadwords() : Command("BADWORDS", 2, 3)
{
- this->SetDesc("Maintains bad words list");
+ this->SetDesc(_("Maintains bad words list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/bs_bot.cpp b/modules/core/bs_bot.cpp
index 38ddc738e..50812d0d0 100644
--- a/modules/core/bs_bot.cpp
+++ b/modules/core/bs_bot.cpp
@@ -304,7 +304,7 @@ class CommandBSBot : public Command
CommandBSBot() : Command("BOT", 1, 6)
{
this->SetFlag(CFLAG_STRIP_CHANNEL);
- this->SetDesc("Maintains network bot list");
+ this->SetDesc(_("Maintains network bot list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/bs_botlist.cpp b/modules/core/bs_botlist.cpp
index 86a306451..b9c1f9287 100644
--- a/modules/core/bs_botlist.cpp
+++ b/modules/core/bs_botlist.cpp
@@ -18,7 +18,7 @@ class CommandBSBotList : public Command
public:
CommandBSBotList() : Command("BOTLIST", 0, 0)
{
- this->SetDesc("Lists available bots");
+ this->SetDesc(_("Lists available bots"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/bs_info.cpp b/modules/core/bs_info.cpp
index cb10631cb..828a1bf2d 100644
--- a/modules/core/bs_info.cpp
+++ b/modules/core/bs_info.cpp
@@ -43,7 +43,7 @@ class CommandBSInfo : public Command
CommandBSInfo() : Command("INFO", 1, 1)
{
this->SetFlag(CFLAG_STRIP_CHANNEL);
- this->SetDesc("Allows you to see BotServ information about a channel or a bot");
+ this->SetDesc(_("Allows you to see BotServ information about a channel or a bot"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/bs_kick.cpp b/modules/core/bs_kick.cpp
index d737f5ec9..7ca21f9ce 100644
--- a/modules/core/bs_kick.cpp
+++ b/modules/core/bs_kick.cpp
@@ -19,7 +19,7 @@ class CommandBSKick : public Command
public:
CommandBSKick() : Command("KICK", 3, 6)
{
- this->SetDesc("Configures kickers");
+ this->SetDesc(_("Configures kickers"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/bs_say.cpp b/modules/core/bs_say.cpp
index 8b9d0627b..2f6c3b4ed 100644
--- a/modules/core/bs_say.cpp
+++ b/modules/core/bs_say.cpp
@@ -18,7 +18,7 @@ class CommandBSSay : public Command
public:
CommandBSSay() : Command("SAY", 2, 2)
{
- this->SetDesc("Makes the bot say the given text on the given channel");
+ this->SetDesc(_("Makes the bot say the given text on the given channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/bs_set.cpp b/modules/core/bs_set.cpp
index b31a56316..b149857d0 100644
--- a/modules/core/bs_set.cpp
+++ b/modules/core/bs_set.cpp
@@ -19,7 +19,7 @@ class CommandBSSet : public Command
CommandBSSet() : Command("SET", 3, 3)
{
this->SetFlag(CFLAG_STRIP_CHANNEL);
- this->SetDesc("Configures bot options");
+ this->SetDesc(_("Configures bot options"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/bs_unassign.cpp b/modules/core/bs_unassign.cpp
index d9c17b617..884939f84 100644
--- a/modules/core/bs_unassign.cpp
+++ b/modules/core/bs_unassign.cpp
@@ -18,7 +18,7 @@ class CommandBSUnassign : public Command
public:
CommandBSUnassign() : Command("UNASSIGN", 1, 1)
{
- this->SetDesc("Unassigns a bot from a channel");
+ this->SetDesc(_("Unassigns a bot from a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_access.cpp b/modules/core/cs_access.cpp
index 413652974..d65f0b718 100644
--- a/modules/core/cs_access.cpp
+++ b/modules/core/cs_access.cpp
@@ -393,7 +393,7 @@ class CommandCSAccess : public Command
public:
CommandCSAccess() : Command("ACCESS", 2, 4)
{
- this->SetDesc("Modify the list of privileged users");
+ this->SetDesc(_("Modify the list of privileged users"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -669,7 +669,7 @@ class CommandCSLevels : public Command
public:
CommandCSLevels() : Command("LEVELS", 2, 4)
{
- this->SetDesc("Redefine the meanings of access levels");
+ this->SetDesc(_("Redefine the meanings of access levels"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_akick.cpp b/modules/core/cs_akick.cpp
index fa8ebe573..920dfc6f7 100644
--- a/modules/core/cs_akick.cpp
+++ b/modules/core/cs_akick.cpp
@@ -474,7 +474,7 @@ class CommandCSAKick : public Command
public:
CommandCSAKick() : Command("AKICK", 2, 4)
{
- this->SetDesc("Maintain the AutoKick list");
+ this->SetDesc(_("Maintain the AutoKick list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_ban.cpp b/modules/core/cs_ban.cpp
index b269e7492..97d205156 100644
--- a/modules/core/cs_ban.cpp
+++ b/modules/core/cs_ban.cpp
@@ -18,7 +18,7 @@ class CommandCSBan : public Command
public:
CommandCSBan(const Anope::string &cname) : Command("BAN", 2, 3)
{
- this->SetDesc("Bans a selected nick on a channel");
+ this->SetDesc(_("Bans a selected nick on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_clearusers.cpp b/modules/core/cs_clearusers.cpp
index 2c11a132b..572c396af 100644
--- a/modules/core/cs_clearusers.cpp
+++ b/modules/core/cs_clearusers.cpp
@@ -18,7 +18,7 @@ class CommandCSClearUsers : public Command
public:
CommandCSClearUsers() : Command("CLEARUSERS", 1, 1)
{
- this->SetDesc("Tells ChanServ to clear (kick) all users on a channel");
+ this->SetDesc(_("Tells ChanServ to clear (kick) all users on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_clone.cpp b/modules/core/cs_clone.cpp
index 82f6bb961..f816eb2f5 100644
--- a/modules/core/cs_clone.cpp
+++ b/modules/core/cs_clone.cpp
@@ -18,7 +18,7 @@ class CommandCSClone : public Command
public:
CommandCSClone() : Command("CLONE", 2, 3)
{
- this->SetDesc("Copy all settings from one channel to another");
+ this->SetDesc(_("Copy all settings from one channel to another"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_drop.cpp b/modules/core/cs_drop.cpp
index 87de45c0f..44e58693e 100644
--- a/modules/core/cs_drop.cpp
+++ b/modules/core/cs_drop.cpp
@@ -20,7 +20,7 @@ class CommandCSDrop : public Command
{
this->SetFlag(CFLAG_ALLOW_FORBIDDEN);
this->SetFlag(CFLAG_ALLOW_SUSPENDED);
- this->SetDesc("Cancel the registration of a channel");
+ this->SetDesc(_("Cancel the registration of a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_forbid.cpp b/modules/core/cs_forbid.cpp
index f0cdbff86..e17a1777c 100644
--- a/modules/core/cs_forbid.cpp
+++ b/modules/core/cs_forbid.cpp
@@ -19,7 +19,7 @@ class CommandCSForbid : public Command
CommandCSForbid() : Command("FORBID", 1, 2, "chanserv/forbid")
{
this->SetFlag(CFLAG_ALLOW_UNREGISTEREDCHANNEL);
- this->SetDesc("Prevent a channel from being used");
+ this->SetDesc(_("Prevent a channel from being used"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_getkey.cpp b/modules/core/cs_getkey.cpp
index d1466d398..e9b685a34 100644
--- a/modules/core/cs_getkey.cpp
+++ b/modules/core/cs_getkey.cpp
@@ -18,7 +18,7 @@ class CommandCSGetKey : public Command
public:
CommandCSGetKey() : Command("GETKEY", 1, 1)
{
- this->SetDesc("Returns the key of the given channel");
+ this->SetDesc(_("Returns the key of the given channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_info.cpp b/modules/core/cs_info.cpp
index 8e239c099..a0b07d759 100644
--- a/modules/core/cs_info.cpp
+++ b/modules/core/cs_info.cpp
@@ -32,7 +32,7 @@ class CommandCSInfo : public Command
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
this->SetFlag(CFLAG_ALLOW_SUSPENDED);
this->SetFlag(CFLAG_ALLOW_FORBIDDEN);
- this->SetDesc("Lists information about the named registered channel");
+ this->SetDesc(_("Lists information about the named registered channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_invite.cpp b/modules/core/cs_invite.cpp
index 55efd6edf..efafdeedd 100644
--- a/modules/core/cs_invite.cpp
+++ b/modules/core/cs_invite.cpp
@@ -18,7 +18,7 @@ class CommandCSInvite : public Command
public:
CommandCSInvite() : Command("INVITE", 1, 3)
{
- this->SetDesc("Tells ChanServ to invite you into a channel");
+ this->SetDesc(_("Tells ChanServ to invite you into a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_kick.cpp b/modules/core/cs_kick.cpp
index cd0c5c387..2f165fb72 100644
--- a/modules/core/cs_kick.cpp
+++ b/modules/core/cs_kick.cpp
@@ -18,7 +18,7 @@ class CommandCSKick : public Command
public:
CommandCSKick() : Command("KICK", 2, 3)
{
- this->SetDesc("Kicks a selected nick from a channel");
+ this->SetDesc(_("Kicks a selected nick from a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_list.cpp b/modules/core/cs_list.cpp
index 12da08ed3..32894242b 100644
--- a/modules/core/cs_list.cpp
+++ b/modules/core/cs_list.cpp
@@ -20,7 +20,7 @@ class CommandCSList : public Command
CommandCSList() : Command("LIST", 1, 2)
{
this->SetFlag(CFLAG_STRIP_CHANNEL);
- this->SetDesc("Lists all registered channels matching the given pattern");
+ this->SetDesc(_("Lists all registered channels matching the given pattern"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_mode.cpp b/modules/core/cs_mode.cpp
index 793a04dc2..ad43baf70 100644
--- a/modules/core/cs_mode.cpp
+++ b/modules/core/cs_mode.cpp
@@ -249,7 +249,7 @@ class CommandCSMode : public Command
public:
CommandCSMode() : Command("MODE", 3, 4)
{
- this->SetDesc("Control modes and mode locks on a channel");
+ this->SetDesc(_("Control modes and mode locks on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_modes.cpp b/modules/core/cs_modes.cpp
index e51274996..96520b215 100644
--- a/modules/core/cs_modes.cpp
+++ b/modules/core/cs_modes.cpp
@@ -90,7 +90,7 @@ class CommandCSOp : public CommandModeBase
public:
CommandCSOp() : CommandModeBase("OP")
{
- this->SetDesc("Gives Op status to a selected nick on a channel");
+ this->SetDesc(_("Gives Op status to a selected nick on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -124,7 +124,7 @@ class CommandCSDeOp : public CommandModeBase
public:
CommandCSDeOp() : CommandModeBase("DEOP")
{
- this->SetDesc("Deops a selected nick on a channel");
+ this->SetDesc(_("Deops a selected nick on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -158,7 +158,7 @@ class CommandCSVoice : public CommandModeBase
public:
CommandCSVoice() : CommandModeBase("VOICE")
{
- this->SetDesc("Voices a selected nick on a channel");
+ this->SetDesc(_("Voices a selected nick on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -193,7 +193,7 @@ class CommandCSDeVoice : public CommandModeBase
public:
CommandCSDeVoice() : CommandModeBase("DEVOICE")
{
- this->SetDesc("Devoices a selected nick on a channel");
+ this->SetDesc(_("Devoices a selected nick on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -228,7 +228,7 @@ class CommandCSHalfOp : public CommandModeBase
public:
CommandCSHalfOp() : CommandModeBase("HALFOP")
{
- this->SetDesc("Halfops a selected nick on a channel");
+ this->SetDesc(_("Halfops a selected nick on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -265,7 +265,7 @@ class CommandCSDeHalfOp : public CommandModeBase
public:
CommandCSDeHalfOp() : CommandModeBase("DEHALFOP")
{
- this->SetDesc("Dehalfops a selected nick on a channel");
+ this->SetDesc(_("Dehalfops a selected nick on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -303,7 +303,7 @@ class CommandCSProtect : public CommandModeBase
public:
CommandCSProtect() : CommandModeBase("PROTECT")
{
- this->SetDesc("Protects a selected nick on a channel");
+ this->SetDesc(_("Protects a selected nick on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -340,7 +340,7 @@ class CommandCSDeProtect : public CommandModeBase
public:
CommandCSDeProtect() : CommandModeBase("DEPROTECT")
{
- this->SetDesc("Deprotects a selected nick on a channel");
+ this->SetDesc(_("Deprotects a selected nick on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -376,7 +376,7 @@ class CommandCSOwner : public CommandModeBase
public:
CommandCSOwner() : CommandModeBase("OWNER")
{
- this->SetDesc("Gives you owner status on channel");
+ this->SetDesc(_("Gives you owner status on channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -412,7 +412,7 @@ class CommandCSDeOwner : public CommandModeBase
public:
CommandCSDeOwner() : CommandModeBase("DEOWNER")
{
- this->SetDesc("Removes your owner status on a channel");
+ this->SetDesc(_("Removes your owner status on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_register.cpp b/modules/core/cs_register.cpp
index 1f1c6e9b2..7d45bc295 100644
--- a/modules/core/cs_register.cpp
+++ b/modules/core/cs_register.cpp
@@ -19,7 +19,7 @@ class CommandCSRegister : public Command
CommandCSRegister() : Command("REGISTER", 2, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTEREDCHANNEL);
- this->SetDesc("Register a channel");
+ this->SetDesc(_("Register a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_saset.cpp b/modules/core/cs_saset.cpp
index c419d7141..15c9b8f6b 100644
--- a/modules/core/cs_saset.cpp
+++ b/modules/core/cs_saset.cpp
@@ -21,7 +21,7 @@ class CommandCSSASet : public Command
public:
CommandCSSASet() : Command("SASET", 2, 3)
{
- this->SetDesc("Forcefully set channel options and information");
+ this->SetDesc(_("Forcefully set channel options and information"));
}
~CommandCSSASet()
diff --git a/modules/core/cs_saset_noexpire.cpp b/modules/core/cs_saset_noexpire.cpp
index 5edf0f3c2..8ff884d92 100644
--- a/modules/core/cs_saset_noexpire.cpp
+++ b/modules/core/cs_saset_noexpire.cpp
@@ -18,7 +18,7 @@ class CommandCSSASetNoexpire : public Command
public:
CommandCSSASetNoexpire() : Command("NOEXPIRE", 2, 2, "chanserv/saset/noexpire")
{
- this->SetDesc("Prevent the channel from expiring");
+ this->SetDesc(_("Prevent the channel from expiring"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set.cpp b/modules/core/cs_set.cpp
index bfb708cac..631eb151c 100644
--- a/modules/core/cs_set.cpp
+++ b/modules/core/cs_set.cpp
@@ -21,7 +21,7 @@ class CommandCSSet : public Command
public:
CommandCSSet() : Command("SET", 2, 3)
{
- this->SetDesc("Set channel options and information");
+ this->SetDesc(_("Set channel options and information"));
}
~CommandCSSet()
diff --git a/modules/core/cs_set_bantype.cpp b/modules/core/cs_set_bantype.cpp
index 1059c2fc9..1b0c2eb7d 100644
--- a/modules/core/cs_set_bantype.cpp
+++ b/modules/core/cs_set_bantype.cpp
@@ -18,7 +18,7 @@ class CommandCSSetBanType : public Command
public:
CommandCSSetBanType(const Anope::string &cpermission = "") : Command("BANTYPE", 2, 2, cpermission)
{
- this->SetDesc("Set how Services make bans on the channel");
+ this->SetDesc(_("Set how Services make bans on the channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_description.cpp b/modules/core/cs_set_description.cpp
index deebd5d1b..dcd7eb24b 100644
--- a/modules/core/cs_set_description.cpp
+++ b/modules/core/cs_set_description.cpp
@@ -18,7 +18,7 @@ class CommandCSSetDescription : public Command
public:
CommandCSSetDescription(const Anope::string &cpermission = "") : Command("DESC", 2, 2, cpermission)
{
- this->SetDesc("Set the channel description");
+ this->SetDesc(_("Set the channel description"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_founder.cpp b/modules/core/cs_set_founder.cpp
index a50d9e558..b6f7dab95 100644
--- a/modules/core/cs_set_founder.cpp
+++ b/modules/core/cs_set_founder.cpp
@@ -18,7 +18,7 @@ class CommandCSSetFounder : public Command
public:
CommandCSSetFounder(const Anope::string &cpermission = "") : Command("FOUNDER", 2, 2, cpermission)
{
- this->SetDesc("Set the founder of a channel");
+ this->SetDesc(_("Set the founder of a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_keeptopic.cpp b/modules/core/cs_set_keeptopic.cpp
index cde54b1e0..3aa290cb7 100644
--- a/modules/core/cs_set_keeptopic.cpp
+++ b/modules/core/cs_set_keeptopic.cpp
@@ -18,7 +18,7 @@ class CommandCSSetKeepTopic : public Command
public:
CommandCSSetKeepTopic(const Anope::string &cpermission = "") : Command("KEEPTOPIC", 2, 2, cpermission)
{
- this->SetDesc("Retain topic when channel is not in use");
+ this->SetDesc(_("Retain topic when channel is not in use"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_opnotice.cpp b/modules/core/cs_set_opnotice.cpp
index b001a69be..3178e07af 100644
--- a/modules/core/cs_set_opnotice.cpp
+++ b/modules/core/cs_set_opnotice.cpp
@@ -18,7 +18,7 @@ class CommandCSSetOpNotice : public Command
public:
CommandCSSetOpNotice(const Anope::string &cpermission = "") : Command("OPNOTICE", 2, 2, cpermission)
{
- this->SetDesc("Send a notice when OP/DEOP commands are used");
+ this->SetDesc(_("Send a notice when OP/DEOP commands are used"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_peace.cpp b/modules/core/cs_set_peace.cpp
index 321b297bd..2039256ac 100644
--- a/modules/core/cs_set_peace.cpp
+++ b/modules/core/cs_set_peace.cpp
@@ -18,7 +18,7 @@ class CommandCSSetPeace : public Command
public:
CommandCSSetPeace(const Anope::string &cpermission = "") : Command("PEACE", 2, 2, cpermission)
{
- this->SetDesc("Regulate the use of critical commands");
+ this->SetDesc(_("Regulate the use of critical commands"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_persist.cpp b/modules/core/cs_set_persist.cpp
index 5abc9d528..291203ea2 100644
--- a/modules/core/cs_set_persist.cpp
+++ b/modules/core/cs_set_persist.cpp
@@ -18,7 +18,7 @@ class CommandCSSetPersist : public Command
public:
CommandCSSetPersist(const Anope::string &cpermission = "") : Command("PERSIST", 2, 2, cpermission)
{
- this->SetDesc("Set the channel as permanent");
+ this->SetDesc(_("Set the channel as permanent"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_private.cpp b/modules/core/cs_set_private.cpp
index a7c891597..be75ae4e4 100644
--- a/modules/core/cs_set_private.cpp
+++ b/modules/core/cs_set_private.cpp
@@ -18,7 +18,7 @@ class CommandCSSetPrivate : public Command
public:
CommandCSSetPrivate(const Anope::string &cpermission = "") : Command("PRIVATE", 2, 2, cpermission)
{
- this->SetDesc("Hide channel from LIST command");
+ this->SetDesc(_("Hide channel from LIST command"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_restricted.cpp b/modules/core/cs_set_restricted.cpp
index e294b0552..6632fef4f 100644
--- a/modules/core/cs_set_restricted.cpp
+++ b/modules/core/cs_set_restricted.cpp
@@ -17,7 +17,7 @@ class CommandCSSetRestricted : public Command
public:
CommandCSSetRestricted(const Anope::string &cpermission = "") : Command("RESTRICTED", 2, 2, cpermission)
{
- this->SetDesc("Restrict access to the channel");
+ this->SetDesc(_("Restrict access to the channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_secure.cpp b/modules/core/cs_set_secure.cpp
index 4a5867617..1e4c1735e 100644
--- a/modules/core/cs_set_secure.cpp
+++ b/modules/core/cs_set_secure.cpp
@@ -18,7 +18,7 @@ class CommandCSSetSecure : public Command
public:
CommandCSSetSecure(const Anope::string &cpermission = "") : Command("SECURE", 2, 2, cpermission)
{
- this->SetDesc("Activate " + ChanServ->nick + "'s security features");
+ this->SetDesc(Anope::printf(_("Activate %s's security features"), ChanServ->nick.c_str()));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_securefounder.cpp b/modules/core/cs_set_securefounder.cpp
index 67045baba..c71a7e3e8 100644
--- a/modules/core/cs_set_securefounder.cpp
+++ b/modules/core/cs_set_securefounder.cpp
@@ -18,7 +18,7 @@ class CommandCSSetSecureFounder : public Command
public:
CommandCSSetSecureFounder(const Anope::string &cpermission = "") : Command("SECUREFOUNDER", 2, 2, cpermission)
{
- this->SetDesc("Stricter control of channel founder status");
+ this->SetDesc(_("Stricter control of channel founder status"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_secureops.cpp b/modules/core/cs_set_secureops.cpp
index 672e1aea0..7b6606922 100644
--- a/modules/core/cs_set_secureops.cpp
+++ b/modules/core/cs_set_secureops.cpp
@@ -18,7 +18,7 @@ class CommandCSSetSecureOps : public Command
public:
CommandCSSetSecureOps(const Anope::string &cpermission = "") : Command("SECUREOPS", 2, 2, cpermission)
{
- this->SetDesc("Stricter control of chanop status");
+ this->SetDesc(_("Stricter control of chanop status"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_signkick.cpp b/modules/core/cs_set_signkick.cpp
index 6ddd292b9..15c56ab09 100644
--- a/modules/core/cs_set_signkick.cpp
+++ b/modules/core/cs_set_signkick.cpp
@@ -18,7 +18,7 @@ class CommandCSSetSignKick : public Command
public:
CommandCSSetSignKick(const Anope::string &cpermission = "") : Command("SIGNKICK", 2, 2, cpermission)
{
- this->SetDesc("Sign kicks that are done with KICK command");
+ this->SetDesc(_("Sign kicks that are done with KICK command"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_successor.cpp b/modules/core/cs_set_successor.cpp
index 9cb572a96..b80493432 100644
--- a/modules/core/cs_set_successor.cpp
+++ b/modules/core/cs_set_successor.cpp
@@ -18,7 +18,7 @@ class CommandCSSetSuccessor : public Command
public:
CommandCSSetSuccessor(const Anope::string &cpermission = "") : Command("SUCCESSOR", 1, 2, cpermission)
{
- this->SetDesc("Set the successor for a channel");
+ this->SetDesc(_("Set the successor for a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_topiclock.cpp b/modules/core/cs_set_topiclock.cpp
index e943d190b..d47351a50 100644
--- a/modules/core/cs_set_topiclock.cpp
+++ b/modules/core/cs_set_topiclock.cpp
@@ -18,7 +18,7 @@ class CommandCSSetTopicLock : public Command
public:
CommandCSSetTopicLock(const Anope::string &cpermission = "") : Command("TOPICLOCK", 2, 2, cpermission)
{
- this->SetDesc("Topic can only be changed with TOPIC");
+ this->SetDesc(_("Topic can only be changed with TOPIC"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_set_xop.cpp b/modules/core/cs_set_xop.cpp
index dbb5731f2..b7a466583 100644
--- a/modules/core/cs_set_xop.cpp
+++ b/modules/core/cs_set_xop.cpp
@@ -19,7 +19,7 @@ class CommandCSSetXOP : public Command
public:
CommandCSSetXOP(const Anope::string &cpermission = "") : Command("XOP", 2, 2, cpermission)
{
- this->SetDesc("Toggle the user privilege system");
+ this->SetDesc(_("Toggle the user privilege system"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_status.cpp b/modules/core/cs_status.cpp
index 84c9e4a82..d45c09ab8 100644
--- a/modules/core/cs_status.cpp
+++ b/modules/core/cs_status.cpp
@@ -18,7 +18,7 @@ class CommandCSStatus : public Command
public:
CommandCSStatus() : Command("STATUS", 2, 2, "chanserv/status")
{
- this->SetDesc("Returns the current access level of a user on a channel");
+ this->SetDesc(_("Returns the current access level of a user on a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_suspend.cpp b/modules/core/cs_suspend.cpp
index 669354151..7475f2e3a 100644
--- a/modules/core/cs_suspend.cpp
+++ b/modules/core/cs_suspend.cpp
@@ -18,7 +18,7 @@ class CommandCSSuspend : public Command
public:
CommandCSSuspend() : Command("SUSPEND", 1, 2, "chanserv/suspend")
{
- this->SetDesc("Prevent a channel from being used preserving channel data and settings");
+ this->SetDesc(_("Prevent a channel from being used preserving channel data and settings"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -96,7 +96,7 @@ class CommandCSUnSuspend : public Command
CommandCSUnSuspend() : Command("UNSUSPEND", 1, 1, "chanserv/suspend")
{
this->SetFlag(CFLAG_ALLOW_SUSPENDED);
- this->SetDesc("Releases a suspended channel");
+ this->SetDesc(_("Releases a suspended channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_topic.cpp b/modules/core/cs_topic.cpp
index bdd8a3205..9798a12c0 100644
--- a/modules/core/cs_topic.cpp
+++ b/modules/core/cs_topic.cpp
@@ -18,7 +18,7 @@ class CommandCSTopic : public Command
public:
CommandCSTopic() : Command("TOPIC", 1, 2)
{
- this->SetDesc("Manipulate the topic of the specified channel");
+ this->SetDesc(_("Manipulate the topic of the specified channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_unban.cpp b/modules/core/cs_unban.cpp
index a681d1100..35b1244e4 100644
--- a/modules/core/cs_unban.cpp
+++ b/modules/core/cs_unban.cpp
@@ -18,7 +18,7 @@ class CommandCSUnban : public Command
public:
CommandCSUnban() : Command("UNBAN", 1, 2)
{
- this->SetDesc("Remove all bans preventing a user from entering a channel");
+ this->SetDesc(_("Remove all bans preventing a user from entering a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/cs_xop.cpp b/modules/core/cs_xop.cpp
index a3e3937d1..b556e210e 100644
--- a/modules/core/cs_xop.cpp
+++ b/modules/core/cs_xop.cpp
@@ -403,7 +403,7 @@ class CommandCSQOP : public XOPBase
public:
CommandCSQOP() : XOPBase("QOP")
{
- this->SetDesc("Modify the list of QOP users");
+ this->SetDesc(_("Modify the list of QOP users"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -464,7 +464,7 @@ class CommandCSAOP : public XOPBase
public:
CommandCSAOP() : XOPBase("AOP")
{
- this->SetDesc("Modify the list of AOP users");
+ this->SetDesc(_("Modify the list of AOP users"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -526,7 +526,7 @@ class CommandCSHOP : public XOPBase
public:
CommandCSHOP() : XOPBase("HOP")
{
- this->SetDesc("Maintains the HOP (HalfOP) list for a channel");
+ this->SetDesc(_("Maintains the HOP (HalfOP) list for a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -586,7 +586,7 @@ class CommandCSSOP : public XOPBase
public:
CommandCSSOP() : XOPBase("SOP")
{
- this->SetDesc("Modify the list of SOP users");
+ this->SetDesc(_("Modify the list of SOP users"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -647,7 +647,7 @@ class CommandCSVOP : public XOPBase
public:
CommandCSVOP() : XOPBase("VOP")
{
- this->SetDesc("Maintains the VOP (VOicePeople) list for a channel");
+ this->SetDesc(_("Maintains the VOP (VOicePeople) list for a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/hs_del.cpp b/modules/core/hs_del.cpp
index 351909ec5..6e5458538 100644
--- a/modules/core/hs_del.cpp
+++ b/modules/core/hs_del.cpp
@@ -18,7 +18,7 @@ class CommandHSDel : public Command
public:
CommandHSDel() : Command("DEL", 1, 1, "hostserv/del")
{
- this->SetDesc("Delete the vhost of another user");
+ this->SetDesc(_("Delete the vhost of another user"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/hs_delall.cpp b/modules/core/hs_delall.cpp
index 248d650ae..5b32ea191 100644
--- a/modules/core/hs_delall.cpp
+++ b/modules/core/hs_delall.cpp
@@ -18,7 +18,7 @@ class CommandHSDelAll : public Command
public:
CommandHSDelAll() : Command("DELALL", 1, 1, "hostserv/del")
{
- this->SetDesc("Delete the vhost for all nicks in a group");
+ this->SetDesc(_("Delete the vhost for all nicks in a group"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/hs_group.cpp b/modules/core/hs_group.cpp
index afbc0ca17..3bb42ee94 100644
--- a/modules/core/hs_group.cpp
+++ b/modules/core/hs_group.cpp
@@ -18,7 +18,7 @@ class CommandHSGroup : public Command
public:
CommandHSGroup() : Command("GROUP", 0, 0)
{
- this->SetDesc("Syncs the vhost for all nicks in a group");
+ this->SetDesc(_("Syncs the vhost for all nicks in a group"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/hs_list.cpp b/modules/core/hs_list.cpp
index 1906d6192..61fee9fcc 100644
--- a/modules/core/hs_list.cpp
+++ b/modules/core/hs_list.cpp
@@ -18,7 +18,7 @@ class CommandHSList : public Command
public:
CommandHSList() : Command("LIST", 0, 1, "hostserv/list")
{
- this->SetDesc("Displays one or more vhost entries.");
+ this->SetDesc(_("Displays one or more vhost entries."));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/hs_off.cpp b/modules/core/hs_off.cpp
index 3768b5c7c..dfbeaa2f8 100644
--- a/modules/core/hs_off.cpp
+++ b/modules/core/hs_off.cpp
@@ -18,7 +18,7 @@ class CommandHSOff : public Command
public:
CommandHSOff() : Command("OFF", 0, 0)
{
- this->SetDesc("Deactivates your assigned vhost");
+ this->SetDesc(_("Deactivates your assigned vhost"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/hs_on.cpp b/modules/core/hs_on.cpp
index c969b7a9b..8838d6b62 100644
--- a/modules/core/hs_on.cpp
+++ b/modules/core/hs_on.cpp
@@ -18,7 +18,7 @@ class CommandHSOn : public Command
public:
CommandHSOn() : Command("ON", 0, 0)
{
- this->SetDesc("Activates your assigned vhost");
+ this->SetDesc(_("Activates your assigned vhost"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/hs_set.cpp b/modules/core/hs_set.cpp
index 10976aa7a..9f79fedd7 100644
--- a/modules/core/hs_set.cpp
+++ b/modules/core/hs_set.cpp
@@ -18,7 +18,7 @@ class CommandHSSet : public Command
public:
CommandHSSet() : Command("SET", 2, 2, "hostserv/set")
{
- this->SetDesc("Set the vhost of another user");
+ this->SetDesc(_("Set the vhost of another user"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/hs_setall.cpp b/modules/core/hs_setall.cpp
index b7baf867d..18f24d359 100644
--- a/modules/core/hs_setall.cpp
+++ b/modules/core/hs_setall.cpp
@@ -18,7 +18,7 @@ class CommandHSSetAll : public Command
public:
CommandHSSetAll() : Command("SETALL", 2, 2, "hostserv/set")
{
- this->SetDesc("Set the vhost for all nicks in a group");
+ this->SetDesc(_("Set the vhost for all nicks in a group"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_cancel.cpp b/modules/core/ms_cancel.cpp
index 7fad59290..d5bedc8fb 100644
--- a/modules/core/ms_cancel.cpp
+++ b/modules/core/ms_cancel.cpp
@@ -20,7 +20,7 @@ class CommandMSCancel : public Command
public:
CommandMSCancel() : Command("CANCEL", 1, 1)
{
- this->SetDesc("Cancel last memo you sent");
+ this->SetDesc(_("Cancel last memo you sent"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_check.cpp b/modules/core/ms_check.cpp
index 6a28971fd..8134b98a7 100644
--- a/modules/core/ms_check.cpp
+++ b/modules/core/ms_check.cpp
@@ -18,7 +18,7 @@ class CommandMSCheck : public Command
public:
CommandMSCheck() : Command("CHECK", 1, 1)
{
- this->SetDesc("Checks if last memo to a nick was read");
+ this->SetDesc(_("Checks if last memo to a nick was read"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_del.cpp b/modules/core/ms_del.cpp
index cca2d36bd..1f0a038ee 100644
--- a/modules/core/ms_del.cpp
+++ b/modules/core/ms_del.cpp
@@ -43,7 +43,7 @@ class CommandMSDel : public Command
public:
CommandMSDel() : Command("DEL", 0, 2)
{
- this->SetDesc("Delete a memo or memos");
+ this->SetDesc(_("Delete a memo or memos"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_ignore.cpp b/modules/core/ms_ignore.cpp
index 5b7746714..fd1d09ebf 100644
--- a/modules/core/ms_ignore.cpp
+++ b/modules/core/ms_ignore.cpp
@@ -18,7 +18,7 @@ class CommandMSIgnore : public Command
public:
CommandMSIgnore() : Command("IGNORE", 1, 3)
{
- this->SetDesc("Manage your memo ignore list");
+ this->SetDesc(_("Manage your memo ignore list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_info.cpp b/modules/core/ms_info.cpp
index baf73b608..af0dddd21 100644
--- a/modules/core/ms_info.cpp
+++ b/modules/core/ms_info.cpp
@@ -18,7 +18,7 @@ class CommandMSInfo : public Command
public:
CommandMSInfo() : Command("INFO", 0, 1)
{
- this->SetDesc("Displays information about your memos");
+ this->SetDesc(_("Displays information about your memos"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_list.cpp b/modules/core/ms_list.cpp
index e2699a4a8..768e94374 100644
--- a/modules/core/ms_list.cpp
+++ b/modules/core/ms_list.cpp
@@ -55,7 +55,7 @@ class CommandMSList : public Command
public:
CommandMSList() : Command("LIST", 0, 2)
{
- this->SetDesc("List your memos");
+ this->SetDesc(_("List your memos"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_read.cpp b/modules/core/ms_read.cpp
index 6e1c302cb..1f89c2811 100644
--- a/modules/core/ms_read.cpp
+++ b/modules/core/ms_read.cpp
@@ -51,7 +51,7 @@ class CommandMSRead : public Command
public:
CommandMSRead() : Command("READ", 1, 2)
{
- this->SetDesc("Read a memo or memos");
+ this->SetDesc(_("Read a memo or memos"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_rsend.cpp b/modules/core/ms_rsend.cpp
index 830caac51..98d7aaba4 100644
--- a/modules/core/ms_rsend.cpp
+++ b/modules/core/ms_rsend.cpp
@@ -18,7 +18,7 @@ class CommandMSRSend : public Command
public:
CommandMSRSend() : Command("RSEND", 2, 2)
{
- this->SetDesc("Sends a memo and requests a read receipt");
+ this->SetDesc(_("Sends a memo and requests a read receipt"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_send.cpp b/modules/core/ms_send.cpp
index bd45e9159..babeb291c 100644
--- a/modules/core/ms_send.cpp
+++ b/modules/core/ms_send.cpp
@@ -18,7 +18,7 @@ class CommandMSSend : public Command
public:
CommandMSSend() : Command("SEND", 2, 2)
{
- this->SetDesc("Send a memo to a nick or channel");
+ this->SetDesc(_("Send a memo to a nick or channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_sendall.cpp b/modules/core/ms_sendall.cpp
index 1d826af0f..df084a85d 100644
--- a/modules/core/ms_sendall.cpp
+++ b/modules/core/ms_sendall.cpp
@@ -18,7 +18,7 @@ class CommandMSSendAll : public Command
public:
CommandMSSendAll() : Command("SENDALL", 1, 1, "memoserv/sendall")
{
- this->SetDesc("Send a memo to all registered users");
+ this->SetDesc(_("Send a memo to all registered users"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_set.cpp b/modules/core/ms_set.cpp
index 7fc2fc953..ecd436079 100644
--- a/modules/core/ms_set.cpp
+++ b/modules/core/ms_set.cpp
@@ -201,7 +201,7 @@ class CommandMSSet : public Command
public:
CommandMSSet() : Command("SET", 2, 5)
{
- this->SetDesc("Set options related to memos");
+ this->SetDesc(_("Set options related to memos"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ms_staff.cpp b/modules/core/ms_staff.cpp
index 34afa2f68..1de1b11bf 100644
--- a/modules/core/ms_staff.cpp
+++ b/modules/core/ms_staff.cpp
@@ -18,7 +18,7 @@ class CommandMSStaff : public Command
public:
CommandMSStaff() : Command("STAFF", 1, 1, "memoserv/staff")
{
- this->SetDesc("Send a memo to all opers/admins");
+ this->SetDesc(_("Send a memo to all opers/admins"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_access.cpp b/modules/core/ns_access.cpp
index bd637cbaa..57cc5f4f2 100644
--- a/modules/core/ns_access.cpp
+++ b/modules/core/ns_access.cpp
@@ -117,7 +117,7 @@ class CommandNSAccess : public Command
public:
CommandNSAccess() : Command("ACCESS", 1, 3)
{
- this->SetDesc("Modify the list of authorized addresses");
+ this->SetDesc(_("Modify the list of authorized addresses"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_ajoin.cpp b/modules/core/ns_ajoin.cpp
index fef23c889..2f5c4e753 100644
--- a/modules/core/ns_ajoin.cpp
+++ b/modules/core/ns_ajoin.cpp
@@ -73,7 +73,7 @@ class CommandNSAJoin : public Command
public:
CommandNSAJoin() : Command("AJOIN", 1, 3)
{
- this->SetDesc("Manage your auto join list");
+ this->SetDesc(_("Manage your auto join list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_alist.cpp b/modules/core/ns_alist.cpp
index 8b3128861..b2a622c2d 100644
--- a/modules/core/ns_alist.cpp
+++ b/modules/core/ns_alist.cpp
@@ -18,7 +18,7 @@ class CommandNSAList : public Command
public:
CommandNSAList() : Command("ALIST", 0, 2)
{
- this->SetDesc("List channels you have access on");
+ this->SetDesc(_("List channels you have access on"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_drop.cpp b/modules/core/ns_drop.cpp
index 33a18009d..4729bf8d8 100644
--- a/modules/core/ns_drop.cpp
+++ b/modules/core/ns_drop.cpp
@@ -19,7 +19,7 @@ class CommandNSDrop : public Command
CommandNSDrop() : Command("DROP", 0, 1)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Cancel the registration of a nickname");
+ this->SetDesc(_("Cancel the registration of a nickname"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_forbid.cpp b/modules/core/ns_forbid.cpp
index 0ced5ec68..a5f4324a3 100644
--- a/modules/core/ns_forbid.cpp
+++ b/modules/core/ns_forbid.cpp
@@ -18,7 +18,7 @@ class CommandNSForbid : public Command
public:
CommandNSForbid() : Command("FORBID", 1, 2, "nickserv/forbid")
{
- this->SetDesc("Prevents a nickname from being registered");
+ this->SetDesc(_("Prevents a nickname from being registered"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_getemail.cpp b/modules/core/ns_getemail.cpp
index 3b0d69a91..e31bfb0f5 100644
--- a/modules/core/ns_getemail.cpp
+++ b/modules/core/ns_getemail.cpp
@@ -22,7 +22,7 @@ class CommandNSGetEMail : public Command
public:
CommandNSGetEMail() : Command("GETEMAIL", 1, 1, "nickserv/getemail")
{
- this->SetDesc("Matches and returns all users that registered using given email");
+ this->SetDesc(_("Matches and returns all users that registered using given email"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_getpass.cpp b/modules/core/ns_getpass.cpp
index b034e2ba4..e106b7a8b 100644
--- a/modules/core/ns_getpass.cpp
+++ b/modules/core/ns_getpass.cpp
@@ -18,7 +18,7 @@ class CommandNSGetPass : public Command
public:
CommandNSGetPass() : Command("GETPASS", 1, 1, "nickserv/getpass")
{
- this->SetDesc("Retrieve the password for a nickname");
+ this->SetDesc(_("Retrieve the password for a nickname"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_ghost.cpp b/modules/core/ns_ghost.cpp
index 56be92919..35ffb76c2 100644
--- a/modules/core/ns_ghost.cpp
+++ b/modules/core/ns_ghost.cpp
@@ -19,7 +19,7 @@ class CommandNSGhost : public Command
CommandNSGhost() : Command("GHOST", 1, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Disconnects a \"ghost\" IRC session using your nick");
+ this->SetDesc(_("Disconnects a \"ghost\" IRC session using your nick"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_group.cpp b/modules/core/ns_group.cpp
index e09a4325a..62fd5f84d 100644
--- a/modules/core/ns_group.cpp
+++ b/modules/core/ns_group.cpp
@@ -19,7 +19,7 @@ class CommandNSGroup : public Command
CommandNSGroup() : Command("GROUP", 2, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Join a group");
+ this->SetDesc(_("Join a group"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -176,7 +176,7 @@ class CommandNSUngroup : public Command
public:
CommandNSUngroup() : Command("UNGROUP", 0, 1)
{
- this->SetDesc("Remove a nick from a group");
+ this->SetDesc(_("Remove a nick from a group"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -241,7 +241,7 @@ class CommandNSGList : public Command
public:
CommandNSGList() : Command("GLIST", 0, 1)
{
- this->SetDesc("Lists all nicknames in your group");
+ this->SetDesc(_("Lists all nicknames in your group"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_identify.cpp b/modules/core/ns_identify.cpp
index db7ad563b..a15d0a465 100644
--- a/modules/core/ns_identify.cpp
+++ b/modules/core/ns_identify.cpp
@@ -19,7 +19,7 @@ class CommandNSIdentify : public Command
CommandNSIdentify() : Command("IDENTIFY", 1, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Identify yourself with your password");
+ this->SetDesc(_("Identify yourself with your password"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_info.cpp b/modules/core/ns_info.cpp
index 0ac50d471..4c25179a4 100644
--- a/modules/core/ns_info.cpp
+++ b/modules/core/ns_info.cpp
@@ -31,7 +31,7 @@ class CommandNSInfo : public Command
CommandNSInfo() : Command("INFO", 1, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Displays information about a given nickname");
+ this->SetDesc(_("Displays information about a given nickname"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_list.cpp b/modules/core/ns_list.cpp
index fb8673069..64eef0983 100644
--- a/modules/core/ns_list.cpp
+++ b/modules/core/ns_list.cpp
@@ -19,7 +19,7 @@ class CommandNSList : public Command
public:
CommandNSList() : Command("LIST", 1, 2)
{
- this->SetDesc("List all registered nicknames that match a given pattern");
+ this->SetDesc(_("List all registered nicknames that match a given pattern"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_logout.cpp b/modules/core/ns_logout.cpp
index 28fcc2302..798cda80f 100644
--- a/modules/core/ns_logout.cpp
+++ b/modules/core/ns_logout.cpp
@@ -18,7 +18,7 @@ class CommandNSLogout : public Command
public:
CommandNSLogout() : Command("LOGOUT", 0, 2)
{
- this->SetDesc("Reverses the effect of the IDENTIFY command");
+ this->SetDesc(_("Reverses the effect of the IDENTIFY command"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_recover.cpp b/modules/core/ns_recover.cpp
index 5e7e8c175..a994218b8 100644
--- a/modules/core/ns_recover.cpp
+++ b/modules/core/ns_recover.cpp
@@ -19,7 +19,7 @@ class CommandNSRecover : public Command
CommandNSRecover() : Command("RECOVER", 1, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Kill another user who has taken your nick");
+ this->SetDesc(_("Kill another user who has taken your nick"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_register.cpp b/modules/core/ns_register.cpp
index c71bcea9c..1cf690f79 100644
--- a/modules/core/ns_register.cpp
+++ b/modules/core/ns_register.cpp
@@ -21,7 +21,7 @@ class CommandNSConfirm : public Command
CommandNSConfirm() : Command("CONFIRM", 1, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Confirm an auth code");
+ this->SetDesc(_("Confirm an auth code"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -92,7 +92,7 @@ class CommandNSRegister : public Command
CommandNSRegister() : Command("REGISTER", 1, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Register a nickname");
+ this->SetDesc(_("Register a nickname"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_release.cpp b/modules/core/ns_release.cpp
index d77bd113b..3468d1119 100644
--- a/modules/core/ns_release.cpp
+++ b/modules/core/ns_release.cpp
@@ -19,7 +19,7 @@ class CommandNSRelease : public Command
CommandNSRelease() : Command("RELEASE", 1, 2)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Regain custody of your nick after RECOVER");
+ this->SetDesc(_("Regain custody of your nick after RECOVER"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_resetpass.cpp b/modules/core/ns_resetpass.cpp
index 7f9a3fd11..d7c4029c1 100644
--- a/modules/core/ns_resetpass.cpp
+++ b/modules/core/ns_resetpass.cpp
@@ -21,7 +21,7 @@ class CommandNSResetPass : public Command
CommandNSResetPass() : Command("RESETPASS", 1, 1)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Helps you reset lost passwords");
+ this->SetDesc(_("Helps you reset lost passwords"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_saset.cpp b/modules/core/ns_saset.cpp
index f1fd9b105..abbe5c6bc 100644
--- a/modules/core/ns_saset.cpp
+++ b/modules/core/ns_saset.cpp
@@ -21,7 +21,7 @@ class CommandNSSASet : public Command
public:
CommandNSSASet() : Command("SASET", 2, 4)
{
- this->SetDesc("Set SET-options on another nickname");
+ this->SetDesc(_("Set SET-options on another nickname"));
}
~CommandNSSASet()
@@ -129,7 +129,7 @@ class CommandNSSASetDisplay : public Command
public:
CommandNSSASetDisplay() : Command("DISPLAY", 2, 2, "nickserv/saset/display")
{
- this->SetDesc("Set the display of the group in Services");
+ this->SetDesc(_("Set the display of the group in Services"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -172,7 +172,7 @@ class CommandNSSASetPassword : public Command
public:
CommandNSSASetPassword() : Command("PASSWORD", 2, 2, "nickserv/saset/password")
{
- this->SetDesc("Set the nickname password");
+ this->SetDesc(_("Set the nickname password"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_saset_noexpire.cpp b/modules/core/ns_saset_noexpire.cpp
index 941214b90..532d6c8fe 100644
--- a/modules/core/ns_saset_noexpire.cpp
+++ b/modules/core/ns_saset_noexpire.cpp
@@ -18,7 +18,7 @@ class CommandNSSASetNoexpire : public Command
public:
CommandNSSASetNoexpire() : Command("NOEXPIRE", 1, 2, "nickserv/saset/noexpire")
{
- this->SetDesc("Prevent the nickname from expiring");
+ this->SetDesc(_("Prevent the nickname from expiring"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_sendpass.cpp b/modules/core/ns_sendpass.cpp
index 342a22329..4dc571dfe 100644
--- a/modules/core/ns_sendpass.cpp
+++ b/modules/core/ns_sendpass.cpp
@@ -21,7 +21,7 @@ class CommandNSSendPass : public Command
CommandNSSendPass() : Command("SENDPASS", 1, 1)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Forgot your password? Try this");
+ this->SetDesc(_("Forgot your password? Try this"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set.cpp b/modules/core/ns_set.cpp
index 8e5e27033..8c44bb81f 100644
--- a/modules/core/ns_set.cpp
+++ b/modules/core/ns_set.cpp
@@ -21,7 +21,7 @@ class CommandNSSet : public Command
public:
CommandNSSet() : Command("SET", 1, 3)
{
- this->SetDesc("Set options, including kill protection");
+ this->SetDesc(_("Set options, including kill protection"));
}
~CommandNSSet()
@@ -126,7 +126,7 @@ class CommandNSSetDisplay : public Command
public:
CommandNSSetDisplay() : Command("DISPLAY", 1)
{
- this->SetDesc("Set the display of your group in Services");
+ this->SetDesc(_("Set the display of your group in Services"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -166,7 +166,7 @@ class CommandNSSetPassword : public Command
public:
CommandNSSetPassword() : Command("PASSWORD", 1)
{
- this->SetDesc("Set your nickname password");
+ this->SetDesc(_("Set your nickname password"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set_autoop.cpp b/modules/core/ns_set_autoop.cpp
index 5eed03ee0..f25e3a749 100644
--- a/modules/core/ns_set_autoop.cpp
+++ b/modules/core/ns_set_autoop.cpp
@@ -18,7 +18,7 @@ class CommandNSSetAutoOp : public Command
public:
CommandNSSetAutoOp(const Anope::string &spermission = "") : Command("AUTOOP", 1, 2, spermission)
{
- this->SetDesc("Should services op you automatically.");
+ this->SetDesc(_("Should services op you automatically."));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set_email.cpp b/modules/core/ns_set_email.cpp
index f6374f240..1c1836665 100644
--- a/modules/core/ns_set_email.cpp
+++ b/modules/core/ns_set_email.cpp
@@ -51,7 +51,7 @@ class CommandNSSetEmail : public Command
public:
CommandNSSetEmail(const Anope::string &spermission = "") : Command("EMAIL", 1, 2, spermission)
{
- this->SetDesc("Associate an E-mail address with your nickname");
+ this->SetDesc(_("Associate an E-mail address with your nickname"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set_greet.cpp b/modules/core/ns_set_greet.cpp
index ab0c29fdf..f5c2a26ab 100644
--- a/modules/core/ns_set_greet.cpp
+++ b/modules/core/ns_set_greet.cpp
@@ -18,7 +18,7 @@ class CommandNSSetGreet : public Command
public:
CommandNSSetGreet(const Anope::string &spermission = "") : Command("GREET", 1, 2, spermission)
{
- this->SetDesc("Associate a greet message with your nickname");
+ this->SetDesc(_("Associate a greet message with your nickname"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set_hide.cpp b/modules/core/ns_set_hide.cpp
index db40d281b..b827b67fe 100644
--- a/modules/core/ns_set_hide.cpp
+++ b/modules/core/ns_set_hide.cpp
@@ -18,7 +18,7 @@ class CommandNSSetHide : public Command
public:
CommandNSSetHide(const Anope::string &spermission = "") : Command("HIDE", 2, 3, spermission)
{
- this->SetDesc("Hide certain pieces of nickname information");
+ this->SetDesc(_("Hide certain pieces of nickname information"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set_kill.cpp b/modules/core/ns_set_kill.cpp
index 176d152ba..2aa9de7aa 100644
--- a/modules/core/ns_set_kill.cpp
+++ b/modules/core/ns_set_kill.cpp
@@ -18,7 +18,7 @@ class CommandNSSetKill : public Command
public:
CommandNSSetKill(const Anope::string &spermission = "") : Command("KILL", 2, 3, spermission)
{
- this->SetDesc("Turn protection on or off");
+ this->SetDesc(_("Turn protection on or off"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set_language.cpp b/modules/core/ns_set_language.cpp
index 58f9a8329..1497ad498 100644
--- a/modules/core/ns_set_language.cpp
+++ b/modules/core/ns_set_language.cpp
@@ -18,7 +18,7 @@ class CommandNSSetLanguage : public Command
public:
CommandNSSetLanguage(const Anope::string &spermission = "") : Command("LANGUAGE", 2, 2, spermission)
{
- this->SetDesc("Set the language Services will use when messaging you");
+ this->SetDesc(_("Set the language Services will use when messaging you"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set_message.cpp b/modules/core/ns_set_message.cpp
index 0348076b0..671398b11 100644
--- a/modules/core/ns_set_message.cpp
+++ b/modules/core/ns_set_message.cpp
@@ -18,7 +18,7 @@ class CommandNSSetMessage : public Command
public:
CommandNSSetMessage(const Anope::string &spermission = "") : Command("MSG", 2, 2, spermission)
{
- this->SetDesc("Change the communication method of Services");
+ this->SetDesc(_("Change the communication method of Services"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set_private.cpp b/modules/core/ns_set_private.cpp
index dd9175d40..4b8a5fd91 100644
--- a/modules/core/ns_set_private.cpp
+++ b/modules/core/ns_set_private.cpp
@@ -18,7 +18,7 @@ class CommandNSSetPrivate : public Command
public:
CommandNSSetPrivate(const Anope::string &spermission = "") : Command("PRIVATE", 2, 2, spermission)
{
- this->SetDesc("Prevent the nickname from appearing in a \002%R" + NickServ->nick + " LIST\002");
+ this->SetDesc(Anope::printf(_("Prevent the nickname from appearing in a \002%R%s LIST\002"), NickServ->nick.c_str()));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_set_secure.cpp b/modules/core/ns_set_secure.cpp
index 182292d23..f9ae1e906 100644
--- a/modules/core/ns_set_secure.cpp
+++ b/modules/core/ns_set_secure.cpp
@@ -18,7 +18,7 @@ class CommandNSSetSecure : public Command
public:
CommandNSSetSecure(const Anope::string &cpermission = "") : Command("SECURE", 2, 2, cpermission)
{
- this->SetDesc("Turn nickname security on or off");
+ this->SetDesc(_("Turn nickname security on or off"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_status.cpp b/modules/core/ns_status.cpp
index 817060151..fa04d92e2 100644
--- a/modules/core/ns_status.cpp
+++ b/modules/core/ns_status.cpp
@@ -19,7 +19,7 @@ class CommandNSStatus : public Command
CommandNSStatus() : Command("STATUS", 0, 16)
{
this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
- this->SetDesc("Returns the owner status of the given nickname");
+ this->SetDesc(_("Returns the owner status of the given nickname"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_suspend.cpp b/modules/core/ns_suspend.cpp
index 12b271dca..41eddb6f4 100644
--- a/modules/core/ns_suspend.cpp
+++ b/modules/core/ns_suspend.cpp
@@ -18,7 +18,7 @@ class CommandNSSuspend : public Command
public:
CommandNSSuspend() : Command("SUSPEND", 2, 2, "nickserv/suspend")
{
- this->SetDesc("Suspend a given nick");
+ this->SetDesc(_("Suspend a given nick"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -102,7 +102,7 @@ class CommandNSUnSuspend : public Command
public:
CommandNSUnSuspend() : Command("UNSUSPEND", 1, 1, "nickserv/suspend")
{
- this->SetDesc("Unsuspend a given nick");
+ this->SetDesc(_("Unsuspend a given nick"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/ns_update.cpp b/modules/core/ns_update.cpp
index 14050f786..ac7ba9a09 100644
--- a/modules/core/ns_update.cpp
+++ b/modules/core/ns_update.cpp
@@ -18,7 +18,7 @@ class CommandNSUpdate : public Command
public:
CommandNSUpdate() : Command("UPDATE", 0, 0)
{
- this->SetDesc("Updates your current status, i.e. it checks for new memos");
+ this->SetDesc(_("Updates your current status, i.e. it checks for new memos"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_akill.cpp b/modules/core/os_akill.cpp
index f9083e2c6..a6f40c9ed 100644
--- a/modules/core/os_akill.cpp
+++ b/modules/core/os_akill.cpp
@@ -349,7 +349,7 @@ class CommandOSAKill : public Command
public:
CommandOSAKill() : Command("AKILL", 1, 4, "operserv/akill")
{
- this->SetDesc("Manipulate the AKILL list");
+ this->SetDesc(_("Manipulate the AKILL list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_chankill.cpp b/modules/core/os_chankill.cpp
index c16a4c1fc..9c69973a4 100644
--- a/modules/core/os_chankill.cpp
+++ b/modules/core/os_chankill.cpp
@@ -18,7 +18,7 @@ class CommandOSChanKill : public Command
public:
CommandOSChanKill() : Command("CHANKILL", 2, 3, "operserv/chankill")
{
- this->SetDesc("AKILL all users on a specific channel");
+ this->SetDesc(_("AKILL all users on a specific channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_chanlist.cpp b/modules/core/os_chanlist.cpp
index 0e1fafdf3..8ab6d509a 100644
--- a/modules/core/os_chanlist.cpp
+++ b/modules/core/os_chanlist.cpp
@@ -18,7 +18,7 @@ class CommandOSChanList : public Command
public:
CommandOSChanList() : Command("CHANLIST", 0, 2)
{
- this->SetDesc("Lists all channel records");
+ this->SetDesc(_("Lists all channel records"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_config.cpp b/modules/core/os_config.cpp
index ce0bc0a56..f0bfb69bd 100644
--- a/modules/core/os_config.cpp
+++ b/modules/core/os_config.cpp
@@ -34,7 +34,7 @@ class CommandOSConfig : public Command
public:
CommandOSConfig() : Command("CONFIG", 1, 4, "operserv/config")
{
- this->SetDesc("View and change configuration file settings");
+ this->SetDesc(_("View and change configuration file settings"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_defcon.cpp b/modules/core/os_defcon.cpp
index ac75d6669..03a8f0de4 100644
--- a/modules/core/os_defcon.cpp
+++ b/modules/core/os_defcon.cpp
@@ -57,7 +57,7 @@ class CommandOSDefcon : public Command
public:
CommandOSDefcon() : Command("DEFCON", 1, 1, "operserv/defcon")
{
- this->SetDesc("Manipulate the DefCon system");
+ this->SetDesc(_("Manipulate the DefCon system"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_global.cpp b/modules/core/os_global.cpp
index 04584ed40..08fda8fc7 100644
--- a/modules/core/os_global.cpp
+++ b/modules/core/os_global.cpp
@@ -18,7 +18,7 @@ class CommandOSGlobal : public Command
public:
CommandOSGlobal() : Command("GLOBAL", 1, 1, "operserv/global")
{
- this->SetDesc("Send a message to all users");
+ this->SetDesc(_("Send a message to all users"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_ignore.cpp b/modules/core/os_ignore.cpp
index 88c09485a..ae5ea008a 100644
--- a/modules/core/os_ignore.cpp
+++ b/modules/core/os_ignore.cpp
@@ -235,7 +235,7 @@ class CommandOSIgnore : public Command
public:
CommandOSIgnore() : Command("IGNORE", 1, 4, "operserv/ignore")
{
- this->SetDesc("Modify the Services ignore list");
+ this->SetDesc(_("Modify the Services ignore list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_jupe.cpp b/modules/core/os_jupe.cpp
index c1ed47ec6..31e301ee0 100644
--- a/modules/core/os_jupe.cpp
+++ b/modules/core/os_jupe.cpp
@@ -18,7 +18,7 @@ class CommandOSJupe : public Command
public:
CommandOSJupe() : Command("JUPE", 1, 2, "operserv/jupe")
{
- this->SetDesc("\"Jupiter\" a server");
+ this->SetDesc(_("\"Jupiter\" a server"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_kick.cpp b/modules/core/os_kick.cpp
index 5e55ae1e2..d29573285 100644
--- a/modules/core/os_kick.cpp
+++ b/modules/core/os_kick.cpp
@@ -18,7 +18,7 @@ class CommandOSKick : public Command
public:
CommandOSKick() : Command("KICK", 3, 3, "operserv/kick")
{
- this->SetDesc("Kick a user from a channel");
+ this->SetDesc(_("Kick a user from a channel"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_mode.cpp b/modules/core/os_mode.cpp
index da1fe8081..476eef032 100644
--- a/modules/core/os_mode.cpp
+++ b/modules/core/os_mode.cpp
@@ -18,7 +18,7 @@ class CommandOSMode : public Command
public:
CommandOSMode() : Command("MODE", 2, 2, "operserv/mode")
{
- this->SetDesc("Change channel or user modes");
+ this->SetDesc(_("Change channel or user modes"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_modinfo.cpp b/modules/core/os_modinfo.cpp
index 734a80ffe..2817b8f72 100644
--- a/modules/core/os_modinfo.cpp
+++ b/modules/core/os_modinfo.cpp
@@ -40,7 +40,7 @@ class CommandOSModInfo : public Command
public:
CommandOSModInfo() : Command("MODINFO", 1, 1)
{
- this->SetDesc("Info about a loaded module");
+ this->SetDesc(_("Info about a loaded module"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_modlist.cpp b/modules/core/os_modlist.cpp
index b5a11d39b..5d8ab6450 100644
--- a/modules/core/os_modlist.cpp
+++ b/modules/core/os_modlist.cpp
@@ -18,7 +18,7 @@ class CommandOSModList : public Command
public:
CommandOSModList() : Command("MODLIST", 0, 1, "operserv/modlist")
{
- this->SetDesc("List loaded modules");
+ this->SetDesc(_("List loaded modules"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_modload.cpp b/modules/core/os_modload.cpp
index 80052b635..ed1041564 100644
--- a/modules/core/os_modload.cpp
+++ b/modules/core/os_modload.cpp
@@ -18,7 +18,7 @@ class CommandOSModLoad : public Command
public:
CommandOSModLoad() : Command("MODLOAD", 1, 1, "operserv/modload")
{
- this->SetDesc("Load a module");
+ this->SetDesc(_("Load a module"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_modreload.cpp b/modules/core/os_modreload.cpp
index e26516e01..54f09c1b9 100644
--- a/modules/core/os_modreload.cpp
+++ b/modules/core/os_modreload.cpp
@@ -18,7 +18,7 @@ class CommandOSModReLoad : public Command
public:
CommandOSModReLoad() : Command("MODRELOAD", 1, 1, "operserv/modload")
{
- this->SetDesc("Reload a module");
+ this->SetDesc(_("Reload a module"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_modunload.cpp b/modules/core/os_modunload.cpp
index 8815bd2e1..010df35bb 100644
--- a/modules/core/os_modunload.cpp
+++ b/modules/core/os_modunload.cpp
@@ -18,7 +18,7 @@ class CommandOSModUnLoad : public Command
public:
CommandOSModUnLoad() : Command("MODUNLOAD", 1, 1, "operserv/modload")
{
- this->SetDesc("Un-Load a module");
+ this->SetDesc(_("Un-Load a module"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_news.cpp b/modules/core/os_news.cpp
index 7a533cfdf..e84755ef4 100644
--- a/modules/core/os_news.cpp
+++ b/modules/core/os_news.cpp
@@ -294,7 +294,7 @@ class CommandOSLogonNews : public NewsBase
public:
CommandOSLogonNews() : NewsBase("LOGONNEWS")
{
- this->SetDesc("Define messages to be shown to users at logon");
+ this->SetDesc(_("Define messages to be shown to users at logon"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -330,7 +330,7 @@ class CommandOSOperNews : public NewsBase
public:
CommandOSOperNews() : NewsBase("OPERNEWS")
{
- this->SetDesc("Define messages to be shown to users who oper");
+ this->SetDesc(_("Define messages to be shown to users who oper"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -366,7 +366,7 @@ class CommandOSRandomNews : public NewsBase
public:
CommandOSRandomNews() : NewsBase("RANDOMNEWS")
{
- this->SetDesc("Define messages to be randomly shown to users at logon");
+ this->SetDesc(_("Define messages to be randomly shown to users at logon"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_noop.cpp b/modules/core/os_noop.cpp
index 95fc7a360..70aecdac2 100644
--- a/modules/core/os_noop.cpp
+++ b/modules/core/os_noop.cpp
@@ -18,7 +18,7 @@ class CommandOSNOOP : public Command
public:
CommandOSNOOP() : Command("NOOP", 2, 2, "operserv/noop")
{
- this->SetDesc("Temporarily remove all O:lines of a server remotely");
+ this->SetDesc(_("Temporarily remove all O:lines of a server remotely"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_oline.cpp b/modules/core/os_oline.cpp
index 0d5232e64..8ed74ffb3 100644
--- a/modules/core/os_oline.cpp
+++ b/modules/core/os_oline.cpp
@@ -18,7 +18,7 @@ class CommandOSOLine : public Command
public:
CommandOSOLine() : Command("OLINE", 2, 2, "operserv/oline")
{
- this->SetDesc("Give Operflags to a certain user");
+ this->SetDesc(_("Give Operflags to a certain user"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_quit.cpp b/modules/core/os_quit.cpp
index 79501b43e..ed85467c4 100644
--- a/modules/core/os_quit.cpp
+++ b/modules/core/os_quit.cpp
@@ -19,7 +19,7 @@ class CommandOSQuit : public Command
public:
CommandOSQuit() : Command("QUIT", 0, 0, "operserv/quit")
{
- this->SetDesc("Terminate the Services program with no save");
+ this->SetDesc(_("Terminate the Services program with no save"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_reload.cpp b/modules/core/os_reload.cpp
index 46e3686a2..9b00ea8d8 100644
--- a/modules/core/os_reload.cpp
+++ b/modules/core/os_reload.cpp
@@ -18,7 +18,7 @@ class CommandOSReload : public Command
public:
CommandOSReload() : Command("RELOAD", 0, 0, "operserv/reload")
{
- this->SetDesc("Reload services' configuration file");
+ this->SetDesc(_("Reload services' configuration file"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_restart.cpp b/modules/core/os_restart.cpp
index f8580c577..02663e862 100644
--- a/modules/core/os_restart.cpp
+++ b/modules/core/os_restart.cpp
@@ -18,7 +18,7 @@ class CommandOSRestart : public Command
public:
CommandOSRestart() : Command("RESTART", 0, 0, "operserv/restart")
{
- this->SetDesc("Save databases and restart Services");
+ this->SetDesc(_("Save databases and restart Services"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_session.cpp b/modules/core/os_session.cpp
index 7dd41b769..2ea7e8242 100644
--- a/modules/core/os_session.cpp
+++ b/modules/core/os_session.cpp
@@ -169,7 +169,7 @@ class CommandOSSession : public Command
public:
CommandOSSession() : Command("SESSION", 2, 2, "operserv/session")
{
- this->SetDesc("View the list of host sessions");
+ this->SetDesc(_("View the list of host sessions"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -434,7 +434,7 @@ class CommandOSException : public Command
public:
CommandOSException() : Command("EXCEPTION", 1, 5)
{
- this->SetDesc("Modify the session-limit exception list");
+ this->SetDesc(_("Modify the session-limit exception list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_set.cpp b/modules/core/os_set.cpp
index 4de90ac53..c83a3a8b2 100644
--- a/modules/core/os_set.cpp
+++ b/modules/core/os_set.cpp
@@ -170,7 +170,7 @@ class CommandOSSet : public Command
public:
CommandOSSet() : Command("SET", 1, 2, "operserv/set")
{
- this->SetDesc("Set various global Services options");
+ this->SetDesc(_("Set various global Services options"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_shutdown.cpp b/modules/core/os_shutdown.cpp
index 8e4958c1c..c714623af 100644
--- a/modules/core/os_shutdown.cpp
+++ b/modules/core/os_shutdown.cpp
@@ -18,7 +18,7 @@ class CommandOSShutdown : public Command
public:
CommandOSShutdown() : Command("SHUTDOWN", 0, 0, "operserv/shutdown")
{
- this->SetDesc("Terminate services with save");
+ this->SetDesc(_("Terminate services with save"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_snline.cpp b/modules/core/os_snline.cpp
index 6758b98b6..335599616 100644
--- a/modules/core/os_snline.cpp
+++ b/modules/core/os_snline.cpp
@@ -363,7 +363,7 @@ class CommandOSSNLine : public Command
public:
CommandOSSNLine() : Command("SNLINE", 1, 3, "operserv/snline")
{
- this->SetDesc("Manipulate the SNLINE list");
+ this->SetDesc(_("Manipulate the SNLINE list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_sqline.cpp b/modules/core/os_sqline.cpp
index c9599f0e0..c3d1da9e8 100644
--- a/modules/core/os_sqline.cpp
+++ b/modules/core/os_sqline.cpp
@@ -343,7 +343,7 @@ class CommandOSSQLine : public Command
public:
CommandOSSQLine() : Command("SQLINE", 1, 4, "operserv/sqline")
{
- this->SetDesc("Manipulate the SQLINE list");
+ this->SetDesc(_("Manipulate the SQLINE list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_staff.cpp b/modules/core/os_staff.cpp
index 3050941a9..7e8a4f86d 100644
--- a/modules/core/os_staff.cpp
+++ b/modules/core/os_staff.cpp
@@ -18,7 +18,7 @@ class CommandOSStaff : public Command
public:
CommandOSStaff() : Command("STAFF", 0, 0, "operserv/staff")
{
- this->SetDesc("Display Services staff and online status");
+ this->SetDesc(_("Display Services staff and online status"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_stats.cpp b/modules/core/os_stats.cpp
index 8dedee571..59cd3c207 100644
--- a/modules/core/os_stats.cpp
+++ b/modules/core/os_stats.cpp
@@ -191,7 +191,7 @@ class CommandOSStats : public Command
public:
CommandOSStats() : Command("STATS", 0, 1, "operserv/stats")
{
- this->SetDesc("Show status of Services and network");
+ this->SetDesc(_("Show status of Services and network"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_svsnick.cpp b/modules/core/os_svsnick.cpp
index c21ac8b67..9465f84d2 100644
--- a/modules/core/os_svsnick.cpp
+++ b/modules/core/os_svsnick.cpp
@@ -18,7 +18,7 @@ class CommandOSSVSNick : public Command
public:
CommandOSSVSNick() : Command("SVSNICK", 2, 2, "operserv/svsnick")
{
- this->SetDesc("Forcefully change a user's nickname");
+ this->SetDesc(_("Forcefully change a user's nickname"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_szline.cpp b/modules/core/os_szline.cpp
index 30a339263..1998948e7 100644
--- a/modules/core/os_szline.cpp
+++ b/modules/core/os_szline.cpp
@@ -345,7 +345,7 @@ class CommandOSSZLine : public Command
public:
CommandOSSZLine() : Command("SZLINE", 1, 4, "operserv/szline")
{
- this->SetDesc("Manipulate the SZLINE list");
+ this->SetDesc(_("Manipulate the SZLINE list"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_update.cpp b/modules/core/os_update.cpp
index a1e5bcae8..094f3570d 100644
--- a/modules/core/os_update.cpp
+++ b/modules/core/os_update.cpp
@@ -18,7 +18,7 @@ class CommandOSUpdate : public Command
public:
CommandOSUpdate() : Command("UPDATE", 0, 0, "operserv/update")
{
- this->SetDesc("Force the Services databases to be updated immediately");
+ this->SetDesc(_("Force the Services databases to be updated immediately"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/core/os_userlist.cpp b/modules/core/os_userlist.cpp
index fd171dff7..0525ecbbf 100644
--- a/modules/core/os_userlist.cpp
+++ b/modules/core/os_userlist.cpp
@@ -18,7 +18,7 @@ class CommandOSUserList : public Command
public:
CommandOSUserList() : Command("USERLIST", 0, 2)
{
- this->SetDesc("Lists all user records");
+ this->SetDesc(_("Lists all user records"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/extra/cs_appendtopic.cpp b/modules/extra/cs_appendtopic.cpp
index 97a98e4cc..b02717d92 100644
--- a/modules/extra/cs_appendtopic.cpp
+++ b/modules/extra/cs_appendtopic.cpp
@@ -48,7 +48,7 @@ class CommandCSAppendTopic : public Command
public:
CommandCSAppendTopic() : Command("APPENDTOPIC", 2, 2)
{
- this->SetDesc("Add text to a channels topic");
+ this->SetDesc(_("Add text to a channels topic"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/extra/cs_enforce.cpp b/modules/extra/cs_enforce.cpp
index 5e79342a5..3a8e11735 100644
--- a/modules/extra/cs_enforce.cpp
+++ b/modules/extra/cs_enforce.cpp
@@ -123,7 +123,7 @@ class CommandCSEnforce : public Command
public:
CommandCSEnforce() : Command("ENFORCE", 1, 2)
{
- this->SetDesc("Enforce various channel modes and set options");
+ this->SetDesc(_("Enforce various channel modes and set options"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/extra/cs_entrymsg.cpp b/modules/extra/cs_entrymsg.cpp
index ad50dbb16..df68b141f 100644
--- a/modules/extra/cs_entrymsg.cpp
+++ b/modules/extra/cs_entrymsg.cpp
@@ -99,7 +99,7 @@ class CommandEntryMessage : public Command
public:
CommandEntryMessage(const Anope::string &cname) : Command(cname, 2, 3)
{
- this->SetDesc("Manage the channel's entry messages");
+ this->SetDesc(_("Manage the channel's entry messages"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/extra/cs_tban.cpp b/modules/extra/cs_tban.cpp
index 8932726d6..e3470504d 100644
--- a/modules/extra/cs_tban.cpp
+++ b/modules/extra/cs_tban.cpp
@@ -57,7 +57,7 @@ class CommandCSTBan : public Command
public:
CommandCSTBan() : Command("TBAN", 3, 3)
{
- this->SetDesc("Bans the user for a given length of time");
+ this->SetDesc(_("Bans the user for a given length of time"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
diff --git a/modules/extra/db_mysql.cpp b/modules/extra/db_mysql.cpp
index 57ef498c2..7b1addbdb 100644
--- a/modules/extra/db_mysql.cpp
+++ b/modules/extra/db_mysql.cpp
@@ -53,7 +53,7 @@ class CommandSQLSync : public Command
public:
CommandSQLSync() : Command("SQLSYNC", 0, 0, "operserv/sqlsync")
{
- this->SetDesc("Import your databases to SQL");
+ this->SetDesc(_("Import your databases to SQL"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params);
diff --git a/modules/extra/hs_request.cpp b/modules/extra/hs_request.cpp
index 9a4eb8644..3b0a3c4cf 100644
--- a/modules/extra/hs_request.cpp
+++ b/modules/extra/hs_request.cpp
@@ -47,7 +47,7 @@ class CommandHSRequest : public Command
public:
CommandHSRequest() : Command("REQUEST", 1, 1)
{
- this->SetDesc("Request a vHost for your nick");
+ this->SetDesc(_("Request a vHost for your nick"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -134,7 +134,7 @@ class CommandHSActivate : public Command
public:
CommandHSActivate() : Command("ACTIVATE", 1, 1, "hostserv/set")
{
- this->SetDesc("Approve the requested vHost of a user");
+ this->SetDesc(_("Approve the requested vHost of a user"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -191,7 +191,7 @@ class CommandHSReject : public Command
public:
CommandHSReject() : Command("REJECT", 1, 2, "hostserv/set")
{
- this->SetDesc("Reject the requested vHost of a user");
+ this->SetDesc(_("Reject the requested vHost of a user"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)
@@ -281,7 +281,7 @@ class CommandHSWaiting : public HSListBase
public:
CommandHSWaiting() : HSListBase("WAITING", 0, 0)
{
- this->SetDesc("Convenience command for LIST +req");
+ this->SetDesc(_("Convenience command for LIST +req"));
}
CommandReturn Execute(CommandSource &source, const std::vector<Anope::string> &params)