mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 10:27:49 +00:00
feat(i18n): migrate all hardcoded Russian text to i18n
- Replace all hardcoded Russian strings with t() calls across 30+ files - Add ~500 new translation keys to all 4 locales (ru, en, zh, fa) - Convert module-level config objects to labelKey pattern - Remove Russian fallbacks from t() calls (fallbackLng handles it) - Replace DeepLinkRedirect custom i18n with standard t() calls - Fix subscription.servers key collision (string vs object)
This commit is contained in:
@@ -453,7 +453,7 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) {
|
||||
<BackIcon />
|
||||
</button>
|
||||
<h2 className="text-lg font-bold text-dark-100">
|
||||
{t('subscription.connection.selectPlatform') || 'Выберите платформу'}
|
||||
{t('subscription.connection.selectPlatform')}
|
||||
</h2>
|
||||
</div>
|
||||
<div className="space-y-2 p-4">
|
||||
@@ -498,8 +498,8 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) {
|
||||
<span className="text-sm text-dark-400">
|
||||
{appCount}{' '}
|
||||
{appCount === 1
|
||||
? t('subscription.connection.app') || 'приложение'
|
||||
: t('subscription.connection.apps') || 'приложений'}
|
||||
? t('subscription.connection.app')
|
||||
: t('subscription.connection.apps')}
|
||||
</span>
|
||||
</div>
|
||||
<ChevronIcon />
|
||||
@@ -623,9 +623,7 @@ export default function ConnectionModal({ onClose }: ConnectionModalProps) {
|
||||
</div>
|
||||
<div className="flex-1 text-left">
|
||||
<div className="font-medium text-dark-100">{selectedApp?.name}</div>
|
||||
<div className="text-sm text-dark-400">
|
||||
{t('subscription.connection.changeApp') || 'Сменить приложение'}
|
||||
</div>
|
||||
<div className="text-sm text-dark-400">{t('subscription.connection.changeApp')}</div>
|
||||
</div>
|
||||
<ChevronIcon />
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user