From 59c5195120009d6a0793bfd5a4265e0f38511e11 Mon Sep 17 00:00:00 2001 From: Gauvino Date: Mon, 1 Jun 2026 13:06:03 +0200 Subject: [PATCH] refactor(i18n): reuse login.login_button instead of new login.login alias login.login duplicated login.login_button (both 'Log In'). Point the TV password modal at the existing key and drop the redundant source key. Addresses CodeRabbit (en.json:29). --- components/login/TVPasswordEntryModal.tsx | 2 +- translations/en.json | 3 +-- translations/fr.json | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/components/login/TVPasswordEntryModal.tsx b/components/login/TVPasswordEntryModal.tsx index 596bb610a..7db1671e9 100644 --- a/components/login/TVPasswordEntryModal.tsx +++ b/components/login/TVPasswordEntryModal.tsx @@ -280,7 +280,7 @@ export const TVPasswordEntryModal: React.FC = ({ diff --git a/translations/en.json b/translations/en.json index 74e21646e..342cdedd5 100644 --- a/translations/en.json +++ b/translations/en.json @@ -25,8 +25,7 @@ "there_is_a_server_error": "There is a server error", "an_unexpected_error_occured_did_you_enter_the_correct_url": "An unexpected error occurred. Did you enter the server URL correctly?", "too_old_server_text": "Unsupported Jellyfin Server Discovered", - "too_old_server_description": "Please update Jellyfin to the latest version", - "login": "Log In" + "too_old_server_description": "Please update Jellyfin to the latest version" }, "server": { "enter_url_to_jellyfin_server": "Enter the URL to your Jellyfin server", diff --git a/translations/fr.json b/translations/fr.json index cce0472ee..266f5d389 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -25,8 +25,7 @@ "there_is_a_server_error": "Une erreur de serveur est survenue", "an_unexpected_error_occured_did_you_enter_the_correct_url": "Une erreur inattendue s'est produite. Avez-vous correctement saisi l'URL du serveur ?", "too_old_server_text": "Serveur Jellyfin non pris en charge découvert", - "too_old_server_description": "Veuillez mettre à jour Jellyfin vers la dernière version", - "login": "Se connecter" + "too_old_server_description": "Veuillez mettre à jour Jellyfin vers la dernière version" }, "server": { "enter_url_to_jellyfin_server": "Entrez l'URL de votre serveur Jellyfin",