Update ConnectionModal component: remove fallback text for instructions and add missing translation keys for 'instructions' in English and Russian locales.

This commit is contained in:
PEDZEO
2026-01-20 02:49:28 +03:00
parent 075f03e46a
commit b81e5d0d5d
3 changed files with 5 additions and 3 deletions

View File

@@ -438,7 +438,7 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) {
</button> </button>
<div> <div>
<h2 className="font-semibold text-dark-100 text-sm">{selectedApp.name}</h2> <h2 className="font-semibold text-dark-100 text-sm">{selectedApp.name}</h2>
<p className="text-xs text-dark-500">{t('subscription.connection.instructions') || 'Инструкция'}</p> <p className="text-xs text-dark-500">{t('subscription.connection.instructions')}</p>
</div> </div>
</div> </div>
<button onClick={onClose} className="p-2 rounded-xl hover:bg-dark-800 text-dark-400"> <button onClick={onClose} className="p-2 rounded-xl hover:bg-dark-800 text-dark-400">

View File

@@ -184,7 +184,8 @@
"yourDevice": "Your device", "yourDevice": "Your device",
"copyLink": "Copy subscription link", "copyLink": "Copy subscription link",
"copied": "Link copied!", "copied": "Link copied!",
"openLink": "Open link" "openLink": "Open link",
"instructions": "Instructions"
}, },
"myDevices": "My Devices", "myDevices": "My Devices",
"noDevices": "No connected devices", "noDevices": "No connected devices",

View File

@@ -184,7 +184,8 @@
"yourDevice": "Ваше устройство", "yourDevice": "Ваше устройство",
"copyLink": "Скопировать ссылку", "copyLink": "Скопировать ссылку",
"copied": "Ссылка скопирована!", "copied": "Ссылка скопирована!",
"openLink": "Открыть ссылку" "openLink": "Открыть ссылку",
"instructions": "Инструкция"
}, },
"myDevices": "Мои устройства", "myDevices": "Мои устройства",
"noDevices": "Нет подключенных устройств", "noDevices": "Нет подключенных устройств",