From 0a13b6b58ce4b940d064903e5f7a87a815fa38b7 Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Wed, 27 May 2026 23:11:40 +0300 Subject: [PATCH] fix(i18n): add missing admin.custom_css labels (en + ru) These keys were referenced in SettingsForm but absent from both locales, so they rendered as raw keys instead of the intended text. --- src/lib/i18n/en.json | 3 +++ src/lib/i18n/ru.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json index d200f32..e818ed5 100644 --- a/src/lib/i18n/en.json +++ b/src/lib/i18n/en.json @@ -222,6 +222,9 @@ "admin.auth_oauth": "OAuth", "admin.auth_both": "Both", "admin.registration_enabled": "Allow user registration", + "admin.custom_css": "Custom CSS", + "admin.custom_css_description": "System-wide custom CSS applied to all pages. Scoped to .custom-css-scope to prevent breaking core UI.", + "admin.custom_css_label": "System-wide CSS", "admin.oauth_config": "OAuth Configuration", "admin.oauth_description": "Configure your OIDC provider (e.g. Authentik, Keycloak). Set Auth Mode to \"OAuth\" or \"Both\" above to enable OAuth login.", "admin.oauth_client_id": "Client ID", diff --git a/src/lib/i18n/ru.json b/src/lib/i18n/ru.json index 904c89d..e55e947 100644 --- a/src/lib/i18n/ru.json +++ b/src/lib/i18n/ru.json @@ -212,6 +212,9 @@ "admin.auth_oauth": "OAuth", "admin.auth_both": "Оба", "admin.registration_enabled": "Разрешить регистрацию пользователей", + "admin.custom_css": "Пользовательский CSS", + "admin.custom_css_description": "Пользовательский CSS, применяемый ко всем страницам. Ограничен областью .custom-css-scope, чтобы не сломать основной интерфейс.", + "admin.custom_css_label": "Общесистемный CSS", "admin.oauth_config": "Настройка OAuth", "admin.oauth_description": "Настройте провайдер OIDC (напр. Authentik, Keycloak). Установите режим аутентификации «OAuth» или «Оба» выше, чтобы включить вход через OAuth.", "admin.oauth_client_id": "Client ID",