Modify error message in _handle_email_command() for "/verify get" command
This commit is contained in:
parent
0ec5ccabfd
commit
3f803056c4
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue