summaryrefslogtreecommitdiff
path: root/modules/extra
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-03-11 17:26:27 -0500
committerAdam <Adam@anope.org>2011-03-11 17:26:27 -0500
commit9f46972f19060d2ede624bdec52b9091042e3735 (patch)
tree10e996859b3dd9435cf947742f5f261789cc2699 /modules/extra
parent46a3afadb9fbb78e96222cf7d4e494dbcbf66c44 (diff)
_()ify Command::SetDesc
Diffstat (limited to 'modules/extra')
-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
6 files changed, 9 insertions, 9 deletions
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)