feat: i18n for the real debrid api token

This commit is contained in:
lilezek 2024-05-01 21:49:40 +02:00
parent fb968310e0
commit 90a40d379a
7 changed files with 13 additions and 7 deletions

View file

@ -123,7 +123,8 @@
"enable_download_notifications": "When a download is complete", "enable_download_notifications": "When a download is complete",
"enable_repack_list_notifications": "When a new repack is added", "enable_repack_list_notifications": "When a new repack is added",
"telemetry": "Telemetry", "telemetry": "Telemetry",
"telemetry_description": "Enable anonymous usage statistics" "telemetry_description": "Enable anonymous usage statistics",
"real_debrid_api_token_description": "(Optional) Real Debrid API token"
}, },
"notifications": { "notifications": {
"download_complete": "Download complete", "download_complete": "Download complete",

View file

@ -113,7 +113,8 @@
"enable_download_notifications": "Cuando se completa una descarga", "enable_download_notifications": "Cuando se completa una descarga",
"enable_repack_list_notifications": "Cuando se añade un repack nuevo", "enable_repack_list_notifications": "Cuando se añade un repack nuevo",
"telemetry": "Telemetría", "telemetry": "Telemetría",
"telemetry_description": "Habilitar recopilación de datos de manera anónima" "telemetry_description": "Habilitar recopilación de datos de manera anónima",
"real_debrid_api_token_description": "(Opcional) Real Debrid API token"
}, },
"notifications": { "notifications": {
"download_complete": "Descarga completada", "download_complete": "Descarga completada",

View file

@ -113,7 +113,8 @@
"enable_download_notifications": "Quand un téléchargement est terminé", "enable_download_notifications": "Quand un téléchargement est terminé",
"enable_repack_list_notifications": "Quand un nouveau repack est ajouté", "enable_repack_list_notifications": "Quand un nouveau repack est ajouté",
"telemetry": "Télémétrie", "telemetry": "Télémétrie",
"telemetry_description": "Activer les statistiques d'utilisation anonymes" "telemetry_description": "Activer les statistiques d'utilisation anonymes",
"real_debrid_api_token_description": "(Facultatif) Real Debrid API token"
}, },
"notifications": { "notifications": {
"download_complete": "Téléchargement terminé", "download_complete": "Téléchargement terminé",

View file

@ -123,7 +123,8 @@
"enable_download_notifications": "Amikor egy letöltés befejeződik", "enable_download_notifications": "Amikor egy letöltés befejeződik",
"enable_repack_list_notifications": "Amikor egy új repack hozzáadásra kerül", "enable_repack_list_notifications": "Amikor egy új repack hozzáadásra kerül",
"telemetry": "Telemetria", "telemetry": "Telemetria",
"telemetry_description": "Névtelen felhasználási statisztikák engedélyezése" "telemetry_description": "Névtelen felhasználási statisztikák engedélyezése",
"real_debrid_api_token_description": "(Választható) Real Debrid API token"
}, },
"notifications": { "notifications": {
"download_complete": "Letöltés befejeződött", "download_complete": "Letöltés befejeződött",

View file

@ -117,7 +117,8 @@
"enable_download_notifications": "Quando un download è completo", "enable_download_notifications": "Quando un download è completo",
"enable_repack_list_notifications": "Quando viene aggiunto un nuovo repack", "enable_repack_list_notifications": "Quando viene aggiunto un nuovo repack",
"telemetry": "Telemetria", "telemetry": "Telemetria",
"telemetry_description": "Abilita statistiche di utilizzo anonime" "telemetry_description": "Abilita statistiche di utilizzo anonime",
"real_debrid_api_token_description": "(Facoltativo) Real Debrid API token"
}, },
"notifications": { "notifications": {
"download_complete": "Download completato", "download_complete": "Download completato",

View file

@ -119,7 +119,8 @@
"enable_download_notifications": "Quando um download for concluído", "enable_download_notifications": "Quando um download for concluído",
"enable_repack_list_notifications": "Quando a lista de repacks for atualizada", "enable_repack_list_notifications": "Quando a lista de repacks for atualizada",
"telemetry": "Telemetria", "telemetry": "Telemetria",
"telemetry_description": "Habilitar estatísticas de uso anônimas" "telemetry_description": "Habilitar estatísticas de uso anônimas",
"real_debrid_api_token_description": "(Opcional) Real Debrid API token"
}, },
"notifications": { "notifications": {
"download_complete": "Download concluído", "download_complete": "Download concluído",

View file

@ -111,7 +111,7 @@ export function Settings() {
/> />
<TextField <TextField
label={t("real_debrid_api_token")} label={t("real_debrid_api_token_description")}
value={form.realDebridApiToken ?? ""} value={form.realDebridApiToken ?? ""}
onChange={(event) => { onChange={(event) => {
updateUserPreferences("realDebridApiToken", event.target.value); updateUserPreferences("realDebridApiToken", event.target.value);