+ {/* Referral deep link — only relevant for not-yet-registered users who
+ arrived via a referral link; the bot itself handles registering
+ them with the code attached. Hidden otherwise to avoid a third,
+ visually-identical "Telegram" entry point next to the two auth
+ methods below. */}
+ {referralCode && (
-
- @{botUsername}
+ {t('auth.orOpenInApp')} @{botUsername}
+ )}
+
+
+
+ {t('common.or')}
+
{/* Manual opt-in: same deep-link flow used as the anti-block fallback,
- offered here as an explicit alternative for users who'd rather
- confirm in the bot than type a phone number into the widget. */}
+ offered here as an explicit equal alternative to the widget for
+ users who'd rather confirm in the bot than type a phone number. */}
diff --git a/src/locales/en.json b/src/locales/en.json
index 8bd981e..80e72e4 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -208,7 +208,7 @@
"loginFailed": "Login Failed",
"telegramWidgetBlocked": "Telegram login widget is unavailable. Use the bot to sign in:",
"deepLinkIntro": "Confirm sign-in right in the bot — no phone number needed:",
- "loginWithBot": "Login via bot (no phone number)",
+ "loginWithBot": "Login via bot",
"backToWidget": "Back to widget login",
"openBotToLogin": "Open bot to sign in",
"waitingForConfirmation": "Waiting for confirmation...",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 971a829..2feebe2 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -211,7 +211,7 @@
"loginFailed": "Ошибка входа",
"telegramWidgetBlocked": "Виджет входа через Telegram недоступен. Войдите через бота:",
"deepLinkIntro": "Подтвердите вход прямо в боте — без ввода номера телефона:",
- "loginWithBot": "Войти через бота (без номера телефона)",
+ "loginWithBot": "Войти через бота",
"backToWidget": "Назад к входу через виджет",
"openBotToLogin": "Открыть бота для входа",
"waitingForConfirmation": "Ожидание подтверждения...",