1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 22:13:12 +02:00

changed some _() to gtl() and updated do_strftime() and duration()

This commit is contained in:
DukePyrolator
2011-06-13 18:20:22 +02:00
parent 6148ffa669
commit 1cd65878db
14 changed files with 147 additions and 145 deletions
+3 -3
View File
@@ -98,8 +98,8 @@ static bool SendPassMail(User *u, NickAlias *na, const Anope::string &pass)
{
char subject[BUFSIZE], message[BUFSIZE];
snprintf(subject, sizeof(subject), GetString(na->nc, "Nickname password (%s)").c_str(), na->nick.c_str());
snprintf(message, sizeof(message), GetString(na->nc,
snprintf(subject, sizeof(subject), GetString(na->nc, gtl("Nickname password (%s)")).c_str(), na->nick.c_str());
snprintf(message, sizeof(message), GetString(na->nc, gtl(
"Hi,\n"
" \n"
"You have requested to receive the password of nickname %s by e-mail.\n"
@@ -107,7 +107,7 @@ static bool SendPassMail(User *u, NickAlias *na, const Anope::string &pass)
" \n"
"If you don't know why this mail was sent to you, please ignore it silently.\n"
" \n"
"%s administrators.").c_str(), na->nick.c_str(), pass.c_str(), Config->NetworkName.c_str());
"%s administrators.")).c_str(), na->nick.c_str(), pass.c_str(), Config->NetworkName.c_str());
return Mail(u, na->nc, nickserv->Bot(), subject, message);
}