Modify error message in _handle_email_command() for "/verify get" command

This commit is contained in:
relesgoe 2020-05-23 15:52:11 -07:00
parent 0ec5ccabfd
commit 3f803056c4
2 changed files with 5 additions and 1 deletions
conf/i18n
src/bnetd

View file

@ -2108,5 +2108,9 @@
<original>The email address is too long, please use another one.</original>
<translate></translate>
</item>
<item id="526" file="command.cpp" function="_handle_email_command">
<original>You have not set an email address yet.</original>
<translate></translate>
</item>
</items>
</root>

View file

@ -5260,7 +5260,7 @@ namespace pvpgn
const char* email = account_get_email(account);
if (email == nullptr)
{
message_send_text(c, message_type_error, c, localize(c, "An error has occurred."));
message_send_text(c, message_type_error, c, localize(c, "You have not set an email address yet."));
return -1;
}