chore: improve tariff admin layout

This commit is contained in:
3252a8
2026-06-01 11:55:41 +03:00
parent 63ec3a6152
commit 5bb1400917
4 changed files with 507 additions and 243 deletions
+16
View File
@@ -1233,6 +1233,7 @@
"admin_status_limited": "Limited",
"admin_status_expired": "Expired",
"admin_status_disabled": "Disabled",
"admin_status_not_configured": "Not configured",
"admin_status_bot_only": "Bot Only",
"admin_user_detail_title": "User #{id}",
"admin_user_avatar_open": "Open avatar",
@@ -1980,6 +1981,9 @@
"admin_tariff_btn_period": "Period",
"admin_tariff_create_subtitle": "The catalog will be saved to JSON after confirmation",
"admin_tariff_create_title": "New tariff",
"admin_tariff_currency_supported": "Available",
"admin_tariff_currency_unsupported": "Blocked",
"admin_tariff_default_currency": "Payment currency",
"admin_tariff_default_updated": "Default tariff updated",
"admin_tariff_delete_subtitle": "Tariff {key} will disappear from the sales catalog.",
"admin_tariff_delete_title": "Delete tariff?",
@@ -2026,6 +2030,8 @@
"admin_tariff_premium_subhead": "Premium squads give the user access to faster/premium nodes; their traffic is counted separately from main traffic so it can be limited or sold separately",
"admin_tariff_premium_topup_subtitle": "Packages that extend the monthly premium limit when the user runs out",
"admin_tariff_premium_topup_title": "Premium traffic top-up",
"admin_tariff_provider_any_currency": "Any",
"admin_tariff_provider_not_declared": "Not declared",
"admin_tariff_pricing_empty": "Add at least one period so the tariff appears in the storefront.",
"admin_tariff_pricing_period_subtitle": "Each row is a separate storefront option: how many months the user pays for and how much it costs",
"admin_tariff_pricing_period_title": "Subscription periods and prices",
@@ -2037,6 +2043,16 @@
"admin_tariff_topup_title": "Traffic top-up over the monthly limit",
"admin_tariff_topup_traffic_hint": "For the traffic model, separate top-ups are not needed: packages configured on the Prices tab are the top-ups users can buy again as they run out.",
"admin_tariff_visible": "Tariff is visible in the storefront",
"admin_tariffs_catalog_subtitle": "Periods, prices, traffic, and user access.",
"admin_tariffs_currency_current": "Current currency",
"admin_tariffs_currency_subtitle": "Tariff prices and payment providers are checked against this currency.",
"admin_tariffs_currency_title": "Catalog currency",
"admin_tariffs_provider_available_count": "Available: {count}",
"admin_tariffs_provider_blocked_count": "Unsupported: {count}",
"admin_tariffs_provider_empty": "Provider data has not been loaded yet.",
"admin_tariffs_provider_enabled_count": "Enabled: {count}",
"admin_tariffs_provider_subtitle": "Shows which providers can accept the current catalog currency.",
"admin_tariffs_provider_title": "Payment providers",
"admin_tariffs_save_failed": "Failed to save tariffs",
"admin_tariffs_saved": "Tariffs saved",
"admin_tariffs_title": "Tariff catalog",
+16
View File
@@ -1233,6 +1233,7 @@
"admin_status_limited": "Ограничен",
"admin_status_expired": "Истёк",
"admin_status_disabled": "Выключен",
"admin_status_not_configured": "Не настроен",
"admin_status_bot_only": "Только бот",
"admin_user_detail_title": "Пользователь #{id}",
"admin_user_avatar_open": "Открыть аватар",
@@ -1980,6 +1981,9 @@
"admin_tariff_btn_period": "Период",
"admin_tariff_create_subtitle": "Каталог будет сохранён в JSON после подтверждения",
"admin_tariff_create_title": "Новый тариф",
"admin_tariff_currency_supported": "Доступен",
"admin_tariff_currency_unsupported": "Заблокирован",
"admin_tariff_default_currency": "Валюта оплаты",
"admin_tariff_default_updated": "Тариф по умолчанию обновлён",
"admin_tariff_delete_subtitle": "Тариф {key} исчезнет из каталога продаж.",
"admin_tariff_delete_title": "Удалить тариф?",
@@ -2026,6 +2030,8 @@
"admin_tariff_premium_subhead": "Premium-сквады дают пользователю доступ к более быстрым/премиальным нодам; их трафик считается отдельно от основного, чтобы можно было ограничить или продавать дополнительно",
"admin_tariff_premium_topup_subtitle": "Пакеты для расширения месячного premium-лимита, когда пользователь его исчерпал",
"admin_tariff_premium_topup_title": "Докупка premium-трафика",
"admin_tariff_provider_any_currency": "Любая",
"admin_tariff_provider_not_declared": "Не задано",
"admin_tariff_pricing_empty": "Добавьте хотя бы один период — без него тариф не появится на витрине.",
"admin_tariff_pricing_period_subtitle": "Каждая строка — отдельный вариант на витрине: за сколько месяцев пользователь платит и сколько это стоит",
"admin_tariff_pricing_period_title": "Периоды подписки и цены",
@@ -2037,6 +2043,16 @@
"admin_tariff_topup_title": "Докупка трафика поверх месячного лимита",
"admin_tariff_topup_traffic_hint": "Для трафиковой модели отдельные «докупки» не нужны — пакеты, которые вы настроили на вкладке «Цены», и являются докупками: пользователь покупает их повторно по мере исчерпания.",
"admin_tariff_visible": "Тариф виден на витрине",
"admin_tariffs_catalog_subtitle": "Периоды, цены, трафик и доступы пользователей.",
"admin_tariffs_currency_current": "Текущая валюта",
"admin_tariffs_currency_subtitle": "Цены тарифов и платёжные провайдеры проверяются по этой валюте.",
"admin_tariffs_currency_title": "Валюта каталога",
"admin_tariffs_provider_available_count": "Доступно: {count}",
"admin_tariffs_provider_blocked_count": "Не подходят: {count}",
"admin_tariffs_provider_empty": "Данные по провайдерам пока не загружены.",
"admin_tariffs_provider_enabled_count": "Включено: {count}",
"admin_tariffs_provider_subtitle": "Здесь видно, какие провайдеры смогут принять текущую валюту каталога.",
"admin_tariffs_provider_title": "Платёжные провайдеры",
"admin_tariffs_save_failed": "Ошибка сохранения тарифов",
"admin_tariffs_saved": "Тарифы сохранены",
"admin_tariffs_title": "Каталог тарифов",