1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 17:23:14 +02:00

Moved the language strings which are only used once

out of the core and into the modules that use them.
This commit is contained in:
Adam
2011-02-04 15:30:31 -05:00
parent c362a1e077
commit 08583dc107
226 changed files with 42289 additions and 45412 deletions
+7 -3
View File
@@ -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;
}