summaryrefslogtreecommitdiff
path: root/modules/extra/db_mysql.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-04 15:30:31 -0500
committerAdam <Adam@anope.org>2011-02-04 15:30:31 -0500
commit08583dc107974252312fb7c87532c9deb68e7f63 (patch)
tree0c42ec7422752cabd8352b49be976b4dc100c56c /modules/extra/db_mysql.cpp
parentc362a1e077d5ede9eadbe79483f2a755b5883e9a (diff)
Moved the language strings which are only used once
out of the core and into the modules that use them.
Diffstat (limited to 'modules/extra/db_mysql.cpp')
-rw-r--r--modules/extra/db_mysql.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/extra/db_mysql.cpp b/modules/extra/db_mysql.cpp
index 180b66463..03515d239 100644
--- a/modules/extra/db_mysql.cpp
+++ b/modules/extra/db_mysql.cpp
@@ -129,13 +129,17 @@ class CommandSQLSync : public Command
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
{
- source.Reply(OPER_HELP_SYNC);
+ source.Reply(_("Syntax: \002SQLSYNC\002\n"
+ " \n"
+ "This command syncs your databases with SQL. You should\n"
+ "only have to execute this command once, when you initially\n"
+ "import your databases into SQL."));
return true;
}
void OnServHelp(CommandSource &source)
{
- source.Reply(OPER_HELP_CMD_SQLSYNC);
+ source.Reply(_(" SQLSYNC Import your databases to SQL"));
}
};
@@ -1393,7 +1397,7 @@ CommandReturn CommandSQLSync::Execute(CommandSource &source, const std::vector<A
{
User *u = source.u;
SaveDatabases();
- u->SendMessage(OperServ, OPER_SYNC_UPDATED);
+ u->SendMessage(OperServ, _("Updating MySQL."));
return MOD_CONT;
}