summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-28 11:42:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-28 11:42:57 +0300
commitb13f7a520f9d6a792333ef9cd2dc0e786a57ca2e (patch)
tree6a2e3cac2f516ec5456438b4d1515ad80166bb1f /protocols
parentae18471b200212a464290262ab0f5dd28cd4c4ce (diff)
more for #3357
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Telegram/src/auth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Telegram/src/auth.cpp b/protocols/Telegram/src/auth.cpp
index 230c489dc5..61f249dcd7 100644
--- a/protocols/Telegram/src/auth.cpp
+++ b/protocols/Telegram/src/auth.cpp
@@ -154,9 +154,9 @@ void CTelegramProto::OnUpdateAuth(td::ClientManager::Response &response)
debugLogA("error happened: %s", to_string(*pError).c_str());
if (pError->message_ == "PHONE_CODE_EXPIRED")
- Popup(0, TranslateT("Phone code expired"), TranslateT("Error"));
+ Popup(0, TranslateT("Secret code expired"), TranslateT("Error"));
else if (pError->message_ == "INVALID_PHONE_CODE")
- Popup(0, TranslateT("Invalid phone code"), TranslateT("Error"));
+ Popup(0, TranslateT("Invalid secret code"), TranslateT("Error"));
else if (pError->message_ == "PASSWORD_HASH_INVALID")
Popup(0, TranslateT("Invalid password"), TranslateT("Error"));