diff options
author | dartraiden <wowemuh@gmail.com> | 2024-05-03 02:43:01 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2024-05-03 02:43:56 +0300 |
commit | b89dd022af30b8d29a87b4fc95ead0a3cf37f60b (patch) | |
tree | 62ee760e3cc40f339edd4dcd87c075b1aac74ec2 /protocols | |
parent | a06d95d4a3f09ecc91682d94bad9575d79c23629 (diff) |
Use official client terminology
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Discord/res/discord.rc | 2 | ||||
-rw-r--r-- | protocols/Discord/src/mfa.cpp | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Discord/res/discord.rc b/protocols/Discord/res/discord.rc index 673dc3dfd5..3f4796137e 100644 --- a/protocols/Discord/res/discord.rc +++ b/protocols/Discord/res/discord.rc @@ -116,7 +116,7 @@ END IDD_MFA DIALOGEX 0, 0, 316, 52
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
-CAPTION "2-step verification"
+CAPTION "Multi-factor authentication"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,205,31,50,14
diff --git a/protocols/Discord/src/mfa.cpp b/protocols/Discord/src/mfa.cpp index f70ffd287d..86b37fe63d 100644 --- a/protocols/Discord/src/mfa.cpp +++ b/protocols/Discord/src/mfa.cpp @@ -61,7 +61,7 @@ public: m_proto->pMfaDialog = this; if (m_bHasTotp) - cmbAnother.AddString(TranslateT("Use authentication app"), 0); + cmbAnother.AddString(TranslateT("Use your authenticator app"), 0); if (m_bHasSms) cmbAnother.AddString(TranslateT("Use a code sent to your phone"), 1); cmbAnother.AddString(TranslateT("Use a backup code"), 2); @@ -97,9 +97,9 @@ public: switch (m_mode = cmbAnother.GetCurData()) { case 0: - m_label.SetText(TranslateT("Enter Discord verification code:")); break; + m_label.SetText(TranslateT("6-digit authentication code:")); break; case 1: - m_label.SetText(TranslateT("Enter SMS code you received:")); + m_label.SetText(TranslateT("6-digit authentication code:")); { JSONNode root; root << CHAR_PARAM("ticket", m_szTicket); auto *pReq = new AsyncHttpRequest(m_proto, REQUEST_POST, "/auth/mfa/sms/send", 0, &root); @@ -109,7 +109,7 @@ public: } break; default: - m_label.SetText(TranslateT("Enter one of your backup codes")); + m_label.SetText(TranslateT("8-digit backup code:")); } } @@ -127,7 +127,7 @@ public: INT_PTR OnError(UINT, WPARAM, LPARAM) { edtCode.SetText(L""); - MessageBox(m_hwnd, TranslateT("Wrong code entered"), TranslateT("MFA initialization"), MB_OK | MB_ICONERROR); + MessageBox(m_hwnd, TranslateT("Invalid two-factor code"), TranslateT("MFA initialization"), MB_OK | MB_ICONERROR); return 0; } }; |