From 33d69ef3f3f1ec5f08a4a1c17b5bede2ca65b9b9 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Sun, 8 Feb 2026 14:06:46 -0600 Subject: [PATCH] Add i18n keys for reset audio, factory reset; move streaming keys to playback Moves streamUncached, initialBuffer, streamingOnly and related keys from settings.audio to settings.playback in all 4 locale files. Adds reset audio/playback keys to settings.audio section. Adds factory reset keys to settings.storage section. --- src/lib/i18n/locales/de.json | 42 ++++++++++++++++++++++++------------ src/lib/i18n/locales/en.json | 42 ++++++++++++++++++++++++------------ src/lib/i18n/locales/es.json | 42 ++++++++++++++++++++++++------------ src/lib/i18n/locales/fr.json | 42 ++++++++++++++++++++++++------------ 4 files changed, 112 insertions(+), 56 deletions(-) diff --git a/src/lib/i18n/locales/de.json b/src/lib/i18n/locales/de.json index fcedf5726..d8a2a1c59 100644 --- a/src/lib/i18n/locales/de.json +++ b/src/lib/i18n/locales/de.json @@ -519,17 +519,6 @@ "flatpakWarningDesc": "PipeWire kann aufgrund von Dämonzugriffsbeschränkungen in Sandbox-Umgebungen keine bitperfekte Wiedergabe garantieren.", "flatpakRecommended": "Empfohlen:", "flatpakRecommendedDesc": "Wechsle zum ALSA-Direct-Backend für echte bitperfekte Audioausgabe.", - "streamUncached": "Nicht zwischengespeicherte Titel streamen", - "streamUncachedDesc": "Startet die Wiedergabe schneller, wenn der Titel nicht im Cache ist. Vorspulen kann während der initialen Pufferung eingeschränkt sein.", - "initialBuffer": "Initiale Puffergröße", - "initialBufferDesc": "Sekunden zum Puffern vor dem Start der Wiedergabe ({seconds}s)", - "streamingOnly": "Nur Streaming", - "streamingOnlyDesc": "Deaktiviert den temporären Cache. Nicht empfohlen ohne schnelle Verbindung. Offline-Bibliothekstitel werden immer zuerst abgespielt.", - "streamBuffer": "Stream-Pufferung", - "streamBufferDesc": "Startet die Wiedergabe schneller, wenn der Titel nicht im Cache ist. Vorspulen kann während der initialen Pufferung eingeschränkt sein.", - "streamBufferSeconds": "Sekunden zum Puffern vor dem Start der Wiedergabe ({seconds}s)", - "disableCache": "Wiedergabe-Cache deaktivieren", - "disableCacheDesc": "Deaktiviert den temporären Cache. Nicht empfohlen ohne schnelle Verbindung. Offline-Bibliothekstitel werden immer zuerst abgespielt.", "bitPerfectHelp": "Hilfe bei der bitperfekten Gerätedetektion", "bitPerfectDetection": "Bitperfekte Gerätedetektion", "isInstalled": "ist installiert", @@ -537,7 +526,14 @@ "alsaUtilsDesc": "Das Paket alsa-utils bietet Hardware-Aufzählungswerkzeuge, die QBZ verwendet, um bitperfekte Geräte zu erkennen (hw:X,Y).", "alsaUtilsNotInstalled": "Ohne es werden nur generische ALSA-Geräte angezeigt und Sie sehen das BP-Abzeichen für echte bitperfekte Ausgaben nicht.", "systemConfigured": "Ihr System ist korrekt für die bitperfekte Gerätedetektion konfiguriert.", - "deviceNotListed": "Wenn dein Gerät nicht als bitperfekt aufgeführt ist, stelle sicher, dass es angeschlossen und vom System erkannt wird." + "deviceNotListed": "Wenn dein Gerät nicht als bitperfekt aufgeführt ist, stelle sicher, dass es angeschlossen und vom System erkannt wird.", + "resetTitle": "Audio- & Wiedergabeeinstellungen zurücksetzen", + "resetDesc": "Setzt alle Audio- und Wiedergabeeinstellungen auf die Werkseinstellungen zurück. Nützlich bei Audioproblemen.", + "resetButton": "Einstellungen zurücksetzen", + "resetConfirmTitle": "Audio- & Wiedergabeeinstellungen zurücksetzen?", + "resetConfirmDesc": "Dies setzt alle Audioausgabe-, Backend- und Wiedergabeeinstellungen auf die Standardwerte zurück. Die Wiedergabe wird gestoppt.", + "resetSuccess": "Audio- und Wiedergabeeinstellungen wurden auf die Standardwerte zurückgesetzt.", + "resetError": "Fehler beim Zurücksetzen der Audioeinstellungen: {error}" }, "playback": { "title": "Wiedergabe", @@ -554,7 +550,18 @@ "continueWithinSource": "Innerhalb der Quelle fortfahren", "playOnlySelectedTrack": "Nur ausgewählten Titel abspielen", "showContextIcon": "Kontext des abgespielten Titels im Player anzeigen", - "showContextIconTooltip": "Zeigt den Kontext, aus dem der aktuelle Titel abgespielt wird (Album, Künstler, Playlist usw.)" + "showContextIconTooltip": "Zeigt den Kontext, aus dem der aktuelle Titel abgespielt wird (Album, Künstler, Playlist usw.)", + "streamUncached": "Nicht zwischengespeicherte Titel streamen", + "streamUncachedDesc": "Startet die Wiedergabe schneller, wenn der Titel nicht im Cache ist. Vorspulen kann während der initialen Pufferung eingeschränkt sein.", + "initialBuffer": "Initiale Puffergröße", + "initialBufferDesc": "Sekunden zum Puffern vor dem Start der Wiedergabe ({seconds}s)", + "streamingOnly": "Nur Streaming", + "streamingOnlyDesc": "Deaktiviert den temporären Cache. Nicht empfohlen ohne schnelle Verbindung. Offline-Bibliothekstitel werden immer zuerst abgespielt.", + "streamBuffer": "Stream-Pufferung", + "streamBufferDesc": "Startet die Wiedergabe schneller, wenn der Titel nicht im Cache ist. Vorspulen kann während der initialen Pufferung eingeschränkt sein.", + "streamBufferSeconds": "Sekunden zum Puffern vor dem Start der Wiedergabe ({seconds}s)", + "disableCache": "Wiedergabe-Cache deaktivieren", + "disableCacheDesc": "Deaktiviert den temporären Cache. Nicht empfohlen ohne schnelle Verbindung. Offline-Bibliothekstitel werden immer zuerst abgespielt." }, "appearance": { "title": "Darstellung", @@ -676,7 +683,14 @@ "cachedTracks": "Zwischengespeicherte Warteschlangentitel", "cacheSize": "Größe des Warteschlangen-Cache", "clearCache": "Warteschlangen-Cache löschen", - "clearing": "Löschen..." + "clearing": "Löschen...", + "factoryResetTitle": "Alle Anwendungsdaten löschen", + "factoryResetDesc": "Löscht dauerhaft alle Einstellungen, Caches, Anmeldedaten und Benutzerdaten. Sie werden abgemeldet und die App kehrt in ihren Ausgangszustand zurück.", + "factoryResetCheckbox": "Ich verstehe, dass alle Daten dauerhaft gelöscht werden und dies nicht rückgängig gemacht werden kann", + "factoryResetButton": "Alle Daten löschen", + "factoryResetFinalConfirm": "Sind Sie absolut sicher? Dies löscht alle Anwendungsdaten einschließlich Ihrer Anmeldedaten, Einstellungen, Caches und Offline-Bibliothek. Diese Aktion kann nicht rückgängig gemacht werden.", + "factoryResetConfirmButton": "Ja, alles löschen", + "factoryResetError": "Fehler beim Löschen der Anwendungsdaten: {error}" }, "blacklist": { "title": "Künstler-Blacklist", diff --git a/src/lib/i18n/locales/en.json b/src/lib/i18n/locales/en.json index 30433bd5d..3891ce506 100644 --- a/src/lib/i18n/locales/en.json +++ b/src/lib/i18n/locales/en.json @@ -537,17 +537,6 @@ "flatpakWarningDesc": "PipeWire cannot guarantee bit-perfect playback in sandboxed environments due to daemon access restrictions.", "flatpakRecommended": "Recommended:", "flatpakRecommendedDesc": "Switch to ALSA Direct backend for true bit-perfect audio.", - "streamUncached": "Stream Uncached Tracks", - "streamUncachedDesc": "Start playback faster when track is not in cache. Seeking may be limited during initial buffering.", - "initialBuffer": "Initial Buffer Size", - "initialBufferDesc": "Seconds to buffer before starting playback ({seconds}s)", - "streamingOnly": "Streaming Only", - "streamingOnlyDesc": "Disables temporary cache. Not recommended without a fast connection. Offline library tracks always play first.", - "streamBuffer": "Stream Buffering", - "streamBufferDesc": "Start playback faster when track is not in cache. Seeking may be limited during initial buffering.", - "streamBufferSeconds": "Seconds to buffer before starting playback ({seconds}s)", - "disableCache": "Disable Playback Cache", - "disableCacheDesc": "Disables temporary cache. Not recommended without a fast connection. Offline library tracks always play first.", "bitPerfectHelp": "Help with bit-perfect device detection", "bitPerfectDetection": "Bit-perfect Device Detection", "isInstalled": "is installed", @@ -555,7 +544,14 @@ "alsaUtilsDesc": "The alsa-utils package provides hardware enumeration tools that QBZ uses to detect bit-perfect capable devices (hw:X,Y).", "alsaUtilsNotInstalled": "Without it, only generic ALSA devices are shown, and you won't see the BP badge for true bit-perfect outputs.", "systemConfigured": "Your system is properly configured for bit-perfect device detection.", - "deviceNotListed": "If you don't see your device listed as bit-perfect, ensure it's connected and recognized by your system." + "deviceNotListed": "If you don't see your device listed as bit-perfect, ensure it's connected and recognized by your system.", + "resetTitle": "Reset Audio & Playback Settings", + "resetDesc": "Restores all audio and playback settings to their factory defaults. Useful if you experience audio issues.", + "resetButton": "Reset Settings", + "resetConfirmTitle": "Reset Audio & Playback Settings?", + "resetConfirmDesc": "This will reset all audio output, backend, and playback settings to defaults. Playback will be stopped.", + "resetSuccess": "Audio and playback settings have been reset to defaults.", + "resetError": "Failed to reset audio settings: {error}" }, "playback": { "title": "Playback", @@ -572,7 +568,18 @@ "continueWithinSource": "Continue within source", "playOnlySelectedTrack": "Play only selected track", "showContextIcon": "Show track playing context in player", - "showContextIconTooltip": "Shows the context from which the current track is being played (album, artist, playlist, etc.)" + "showContextIconTooltip": "Shows the context from which the current track is being played (album, artist, playlist, etc.)", + "streamUncached": "Stream Uncached Tracks", + "streamUncachedDesc": "Start playback faster when track is not in cache. Seeking may be limited during initial buffering.", + "initialBuffer": "Initial Buffer Size", + "initialBufferDesc": "Seconds to buffer before starting playback ({seconds}s)", + "streamingOnly": "Streaming Only", + "streamingOnlyDesc": "Disables temporary cache. Not recommended without a fast connection. Offline library tracks always play first.", + "streamBuffer": "Stream Buffering", + "streamBufferDesc": "Start playback faster when track is not in cache. Seeking may be limited during initial buffering.", + "streamBufferSeconds": "Seconds to buffer before starting playback ({seconds}s)", + "disableCache": "Disable Playback Cache", + "disableCacheDesc": "Disables temporary cache. Not recommended without a fast connection. Offline library tracks always play first." }, "appearance": { "title": "Appearance", @@ -696,7 +703,14 @@ "cachedTracks": "Cached Queue Tracks", "cacheSize": "Queue Cache Size", "clearCache": "Clear queue cache", - "clearing": "Clearing..." + "clearing": "Clearing...", + "factoryResetTitle": "Delete All Application Data", + "factoryResetDesc": "Permanently deletes all settings, caches, credentials, and user data. You will be logged out and the app will return to its initial state.", + "factoryResetCheckbox": "I understand all data will be permanently deleted and this cannot be undone", + "factoryResetButton": "Delete All Data", + "factoryResetFinalConfirm": "Are you absolutely sure? This will delete all application data including your credentials, settings, caches, and offline library. This action cannot be undone.", + "factoryResetConfirmButton": "Yes, delete everything", + "factoryResetError": "Failed to delete application data: {error}" }, "blacklist": { "title": "Artist Blacklist", diff --git a/src/lib/i18n/locales/es.json b/src/lib/i18n/locales/es.json index de5d8e7e1..7ccefb5ba 100644 --- a/src/lib/i18n/locales/es.json +++ b/src/lib/i18n/locales/es.json @@ -537,17 +537,6 @@ "flatpakWarningDesc": "PipeWire no puede garantizar reproducción bit-perfect en entornos sandbox debido a restricciones de acceso al daemon.", "flatpakRecommended": "Recomendado:", "flatpakRecommendedDesc": "Cambiar al backend ALSA Direct para audio bit-perfect verdadero.", - "streamUncached": "Transmitir Pistas Sin Caché", - "streamUncachedDesc": "Inicia la reproducción más rápido cuando la pista no está en caché. La búsqueda puede estar limitada durante el buffering inicial.", - "initialBuffer": "Tamaño del Buffer Inicial", - "initialBufferDesc": "Segundos a almacenar en buffer antes de iniciar reproducción ({seconds}s)", - "streamingOnly": "Solo Streaming", - "streamingOnlyDesc": "Desactiva el caché temporal. No recomendado sin una conexión rápida. Las pistas de la biblioteca offline siempre se reproducen primero.", - "streamBuffer": "Buffering de Stream", - "streamBufferDesc": "Inicia la reproducción más rápido cuando la pista no está en caché. La búsqueda puede estar limitada durante el buffering inicial.", - "streamBufferSeconds": "Segundos a almacenar antes de iniciar reproducción ({seconds}s)", - "disableCache": "Deshabilitar Caché de Reproducción", - "disableCacheDesc": "Deshabilita el caché temporal. No recomendado sin conexión rápida. Las pistas de biblioteca offline siempre se reproducen primero.", "bitPerfectHelp": "Ayuda con detección de dispositivos bit-perfect", "bitPerfectDetection": "Detección de Dispositivos Bit-perfect", "isInstalled": "está instalado", @@ -555,7 +544,14 @@ "alsaUtilsDesc": "El paquete alsa-utils proporciona herramientas de enumeración de hardware que QBZ usa para detectar dispositivos capaces de bit-perfect (hw:X,Y).", "alsaUtilsNotInstalled": "Sin él, solo se muestran dispositivos ALSA genéricos y no verás la insignia BP para salidas verdaderamente bit-perfect.", "systemConfigured": "Tu sistema está correctamente configurado para detección de dispositivos bit-perfect.", - "deviceNotListed": "Si no ves tu dispositivo listado como bit-perfect, asegúrate de que esté conectado y reconocido por tu sistema." + "deviceNotListed": "Si no ves tu dispositivo listado como bit-perfect, asegúrate de que esté conectado y reconocido por tu sistema.", + "resetTitle": "Restablecer Configuración de Audio y Reproducción", + "resetDesc": "Restaura toda la configuración de audio y reproducción a sus valores predeterminados de fábrica. Útil si experimentas problemas de audio.", + "resetButton": "Restablecer Configuración", + "resetConfirmTitle": "¿Restablecer Configuración de Audio y Reproducción?", + "resetConfirmDesc": "Esto restablecerá toda la configuración de salida de audio, backend y reproducción a los valores predeterminados. La reproducción se detendrá.", + "resetSuccess": "La configuración de audio y reproducción se ha restablecido a los valores predeterminados.", + "resetError": "Error al restablecer la configuración de audio: {error}" }, "playback": { "title": "Reproducción", @@ -572,7 +568,18 @@ "continueWithinSource": "Continuar dentro del contexto", "playOnlySelectedTrack": "Reproducir solo la pista seleccionada", "showContextIcon": "Mostrar contexto de reproducción en el reproductor", - "showContextIconTooltip": "Muestra el contexto desde donde se reproduce la pista actual (álbum, artista, playlist, etc.)" + "showContextIconTooltip": "Muestra el contexto desde donde se reproduce la pista actual (álbum, artista, playlist, etc.)", + "streamUncached": "Transmitir Pistas Sin Caché", + "streamUncachedDesc": "Inicia la reproducción más rápido cuando la pista no está en caché. La búsqueda puede estar limitada durante el buffering inicial.", + "initialBuffer": "Tamaño del Buffer Inicial", + "initialBufferDesc": "Segundos a almacenar en buffer antes de iniciar reproducción ({seconds}s)", + "streamingOnly": "Solo Streaming", + "streamingOnlyDesc": "Desactiva el caché temporal. No recomendado sin una conexión rápida. Las pistas de la biblioteca offline siempre se reproducen primero.", + "streamBuffer": "Buffering de Stream", + "streamBufferDesc": "Inicia la reproducción más rápido cuando la pista no está en caché. La búsqueda puede estar limitada durante el buffering inicial.", + "streamBufferSeconds": "Segundos a almacenar antes de iniciar reproducción ({seconds}s)", + "disableCache": "Deshabilitar Caché de Reproducción", + "disableCacheDesc": "Deshabilita el caché temporal. No recomendado sin conexión rápida. Las pistas de biblioteca offline siempre se reproducen primero." }, "appearance": { "title": "Apariencia", @@ -696,7 +703,14 @@ "cachedTracks": "Pistas de la cola en caché", "cacheSize": "Tamaño de caché de la cola", "clearCache": "Limpiar caché de la cola", - "clearing": "Limpiando..." + "clearing": "Limpiando...", + "factoryResetTitle": "Eliminar Todos los Datos de la Aplicación", + "factoryResetDesc": "Elimina permanentemente toda la configuración, cachés, credenciales y datos del usuario. Se cerrará la sesión y la aplicación volverá a su estado inicial.", + "factoryResetCheckbox": "Entiendo que todos los datos se eliminarán permanentemente y esto no se puede deshacer", + "factoryResetButton": "Eliminar Todos los Datos", + "factoryResetFinalConfirm": "¿Estás absolutamente seguro? Esto eliminará todos los datos de la aplicación, incluyendo credenciales, configuración, cachés y biblioteca offline. Esta acción no se puede deshacer.", + "factoryResetConfirmButton": "Sí, eliminar todo", + "factoryResetError": "Error al eliminar los datos de la aplicación: {error}" }, "blacklist": { "title": "Lista Negra de Artistas", diff --git a/src/lib/i18n/locales/fr.json b/src/lib/i18n/locales/fr.json index 026098c01..56e043d96 100644 --- a/src/lib/i18n/locales/fr.json +++ b/src/lib/i18n/locales/fr.json @@ -519,17 +519,6 @@ "flatpakWarningDesc": "PipeWire ne peut pas garantir une lecture bit-perfect dans les environnements en bac à sable en raison des restrictions d'accès au démon.", "flatpakRecommended": "Recommandé :", "flatpakRecommendedDesc": "Passez au backend ALSA Direct pour un vrai son bit-perfect.", - "streamUncached": "Streamer les pistes non mises en cache", - "streamUncachedDesc": "Démarrez la lecture plus rapidement lorsque la piste n'est pas dans le cache. La recherche peut être limitée pendant la mise en tampon initiale.", - "initialBuffer": "Taille du tampon initiale", - "initialBufferDesc": "Secondes de tampon avant de démarrer la lecture ({seconds}s)", - "streamingOnly": "Streaming uniquement", - "streamingOnlyDesc": "Désactive le cache temporaire. Non recommandé sans connexion rapide. Les pistes de la bibliothèque hors ligne sont toujours lues en premier.", - "streamBuffer": "Mise en mémoire tampon du flux", - "streamBufferDesc": "Démarrez la lecture plus rapidement lorsque la piste n'est pas dans le cache. La recherche peut être limitée pendant la mise en tampon initiale.", - "streamBufferSeconds": "Secondes de tampon avant de démarrer la lecture ({seconds}s)", - "disableCache": "Désactiver le cache de lecture", - "disableCacheDesc": "Désactive le cache temporaire. Non recommandé sans connexion rapide. Les pistes de la bibliothèque hors ligne sont toujours lues en premier.", "bitPerfectHelp": "Aide pour la détection de périphériques bit-perfect", "bitPerfectDetection": "Détection de périphérique bit-perfect", "isInstalled": "est installé", @@ -537,7 +526,14 @@ "alsaUtilsDesc": "Le paquet alsa-utils fournit des outils d'énumération du matériel que QBZ utilise pour détecter les appareils capables de bit-perfect (hw:X,Y).", "alsaUtilsNotInstalled": "Sans cela, seuls les périphériques ALSA génériques sont affichés et vous ne verrez pas le badge BP pour les véritables sorties bit-perfect.", "systemConfigured": "Votre système est correctement configuré pour la détection des périphériques bit-perfect.", - "deviceNotListed": "Si vous ne voyez pas votre appareil listé comme bit-perfect, assurez-vous qu'il est connecté et reconnu par votre système." + "deviceNotListed": "Si vous ne voyez pas votre appareil listé comme bit-perfect, assurez-vous qu'il est connecté et reconnu par votre système.", + "resetTitle": "Réinitialiser les paramètres audio et de lecture", + "resetDesc": "Restaure tous les paramètres audio et de lecture à leurs valeurs par défaut. Utile en cas de problèmes audio.", + "resetButton": "Réinitialiser les paramètres", + "resetConfirmTitle": "Réinitialiser les paramètres audio et de lecture ?", + "resetConfirmDesc": "Cela réinitialisera tous les paramètres de sortie audio, de backend et de lecture aux valeurs par défaut. La lecture sera arrêtée.", + "resetSuccess": "Les paramètres audio et de lecture ont été réinitialisés aux valeurs par défaut.", + "resetError": "Échec de la réinitialisation des paramètres audio : {error}" }, "playback": { "title": "Lecture", @@ -554,7 +550,18 @@ "continueWithinSource": "Continuer au sein de la source", "playOnlySelectedTrack": "Lire uniquement la piste sélectionnée", "showContextIcon": "Afficher le contexte de la piste en cours de lecture dans le lecteur", - "showContextIconTooltip": "Affiche le contexte depuis lequel la piste actuelle est lue (album, artiste, playlist, etc.)" + "showContextIconTooltip": "Affiche le contexte depuis lequel la piste actuelle est lue (album, artiste, playlist, etc.)", + "streamUncached": "Streamer les pistes non mises en cache", + "streamUncachedDesc": "Démarrez la lecture plus rapidement lorsque la piste n'est pas dans le cache. La recherche peut être limitée pendant la mise en tampon initiale.", + "initialBuffer": "Taille du tampon initiale", + "initialBufferDesc": "Secondes de tampon avant de démarrer la lecture ({seconds}s)", + "streamingOnly": "Streaming uniquement", + "streamingOnlyDesc": "Désactive le cache temporaire. Non recommandé sans connexion rapide. Les pistes de la bibliothèque hors ligne sont toujours lues en premier.", + "streamBuffer": "Mise en mémoire tampon du flux", + "streamBufferDesc": "Démarrez la lecture plus rapidement lorsque la piste n'est pas dans le cache. La recherche peut être limitée pendant la mise en tampon initiale.", + "streamBufferSeconds": "Secondes de tampon avant de démarrer la lecture ({seconds}s)", + "disableCache": "Désactiver le cache de lecture", + "disableCacheDesc": "Désactive le cache temporaire. Non recommandé sans connexion rapide. Les pistes de la bibliothèque hors ligne sont toujours lues en premier." }, "appearance": { "title": "Apparence", @@ -676,7 +683,14 @@ "cachedTracks": "Pistes mises en cache dans la file d'attente", "cacheSize": "Taille du cache de la file d'attente", "clearCache": "Effacer le cache de la file d'attente", - "clearing": "Effacement..." + "clearing": "Effacement...", + "factoryResetTitle": "Supprimer toutes les données de l'application", + "factoryResetDesc": "Supprime définitivement tous les paramètres, caches, identifiants et données utilisateur. Vous serez déconnecté et l'application reviendra à son état initial.", + "factoryResetCheckbox": "Je comprends que toutes les données seront définitivement supprimées et que cela ne peut pas être annulé", + "factoryResetButton": "Supprimer toutes les données", + "factoryResetFinalConfirm": "Êtes-vous absolument sûr ? Cela supprimera toutes les données de l'application, y compris vos identifiants, paramètres, caches et bibliothèque hors ligne. Cette action est irréversible.", + "factoryResetConfirmButton": "Oui, tout supprimer", + "factoryResetError": "Échec de la suppression des données de l'application : {error}" }, "blacklist": { "title": "Liste noire des artistes",