diff --git a/conf/i18n/common.xml b/conf/i18n/common.xml index 9554543..defaa66 100644 --- a/conf/i18n/common.xml +++ b/conf/i18n/common.xml @@ -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> \ No newline at end of file diff --git a/src/bnetd/command.cpp b/src/bnetd/command.cpp index ceddde0..339c844 100644 --- a/src/bnetd/command.cpp +++ b/src/bnetd/command.cpp @@ -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; }