feat(dac-wizard): apply ChatGPT micro-adjustments

Step 1 (Precheck):
- Add inactive warning: "If any service is inactive, stop here..."

Step 2 (Other distro):
- Change to "Ensure these packages (or equivalents) are installed"

Step 3 (Detect DAC):
- Add input warning: "This must match exactly..."

Step 4 (Backup):
- Update hint about user responsibility for keeping backup

Step 6 (Pulse):
- Change "browsers" to "browsers and apps"

Step 7 (WirePlumber):
- Add rules note: "These rules apply only to the detected DAC"

All translations updated for EN/ES/FR/DE
This commit is contained in:
vicrodh committed 2026-02-03 03:15:59 -06:00
1 parent dbe70e774c
commit 2f85129547
5 files changed
+60 -16

No files matched your search

+32
View File
@@ -398,6 +398,8 @@
command="systemctl --user status pipewire pipewire-pulse wireplumber" command="systemctl --user status pipewire pipewire-pulse wireplumber"
/> />
<p class="inactive-warning">{$t('dacWizard.precheck.inactiveWarning')}</p>
<label class="checkbox-row"> <label class="checkbox-row">
<input type="checkbox" bind:checked={precheckDone} /> <input type="checkbox" bind:checked={precheckDone} />
<span>{$t('dacWizard.precheck.checkbox')}</span> <span>{$t('dacWizard.precheck.checkbox')}</span>
@@ -426,6 +428,7 @@
<div class="input-group"> <div class="input-group">
<label class="input-label">{$t('dacWizard.detectDac.inputLabel')}</label> <label class="input-label">{$t('dacWizard.detectDac.inputLabel')}</label>
<p class="input-warning">{$t('dacWizard.detectDac.inputWarning')}</p>
<input <input
type="text" type="text"
class="text-input mono" class="text-input mono"
@@ -605,6 +608,8 @@
<code class="targeting-value">{dacNodeName}</code> <code class="targeting-value">{dacNodeName}</code>
</div> </div>
<p class="rules-note">{$t('dacWizard.wireplumberConfig.rulesNote')}</p>
<CommandBlock command={generateWireplumberConfig()} /> <CommandBlock command={generateWireplumberConfig()} />
</div> </div>
@@ -899,6 +904,33 @@
color: var(--text-muted); color: var(--text-muted);
} }
/* Micro-adjustment warning texts */
.inactive-warning {
font-size: 13px;
color: var(--warning, #fbbf24);
margin: 0;
padding: 8px 12px;
background: rgba(251, 191, 36, 0.1);
border-radius: 6px;
border-left: 3px solid var(--warning, #fbbf24);
}
.input-warning {
font-size: 12px;
color: var(--text-muted);
margin: 0;
font-style: italic;
}
.rules-note {
font-size: 13px;
color: var(--color-success, #22c55e);
margin: 0;
padding: 8px 12px;
background: rgba(34, 197, 94, 0.1);
border-radius: 6px;
}
.checkbox-row { .checkbox-row {
display: flex; display: flex;
align-items: center; align-items: center;
+7 -4
View File
@@ -987,6 +987,7 @@
"title": "Audio-Stack prüfen", "title": "Audio-Stack prüfen",
"subtitle": "Bestätigen Sie, dass PipeWire und WirePlumber laufen.", "subtitle": "Bestätigen Sie, dass PipeWire und WirePlumber laufen.",
"hint": "Suchen Sie nach 'active (running)' für alle Dienste", "hint": "Suchen Sie nach 'active (running)' für alle Dienste",
"inactiveWarning": "Wenn ein Dienst inaktiv ist, stoppen Sie hier und beheben Sie das Problem, bevor Sie fortfahren.",
"checkbox": "Ich habe diesen Befehl ausgeführt und die Dienste sind aktiv", "checkbox": "Ich habe diesen Befehl ausgeführt und die Dienste sind aktiv",
"installTitle": "Erforderliche Pakete installieren", "installTitle": "Erforderliche Pakete installieren",
"installSubtitle": "Wählen Sie Ihre Distribution, um den Installationsbefehl zu sehen.", "installSubtitle": "Wählen Sie Ihre Distribution, um den Installationsbefehl zu sehen.",
@@ -997,7 +998,7 @@
"opensuse": "openSUSE", "opensuse": "openSUSE",
"other": "Andere" "other": "Andere"
}, },
"otherHint": "Bitte installieren Sie: pipewire, pipewire-pulse, wireplumber, alsa-utils" "otherHint": "Stellen Sie sicher, dass diese Pakete (oder Äquivalente) installiert sind: pipewire, pipewire-pulse, wireplumber, alsa-utils"
}, },
"detectDac": { "detectDac": {
"title": "Standard-DAC identifizieren", "title": "Standard-DAC identifizieren",
@@ -1005,6 +1006,7 @@
"step1": "Finden Sie Ihren DAC unter 'Audio > Sinks'. Notieren Sie die Nummer (z.B. 46).", "step1": "Finden Sie Ihren DAC unter 'Audio > Sinks'. Notieren Sie die Nummer (z.B. 46).",
"step2": "Dann mit dieser Nummer ausführen:", "step2": "Dann mit dieser Nummer ausführen:",
"inputLabel": "node.name eingeben", "inputLabel": "node.name eingeben",
"inputWarning": "Muss exakt übereinstimmen. Ein einziges falsches Zeichen bricht die Regel.",
"inputPlaceholder": "alsa_output.usb-...", "inputPlaceholder": "alsa_output.usb-...",
"validation": { "validation": {
"validFormat": "Gültiges Format", "validFormat": "Gültiges Format",
@@ -1027,7 +1029,7 @@
"backup": { "backup": {
"title": "Sicherung erstellen", "title": "Sicherung erstellen",
"subtitle": "Erforderlich vor jeder Änderung.", "subtitle": "Erforderlich vor jeder Änderung.",
"hint": "Sie können diese Sicherung später bei Bedarf wiederherstellen.", "hint": "Sie sind verantwortlich für die Aufbewahrung dieser Sicherung, bis alles funktioniert.",
"checkbox": "Ich habe die Sicherung erstellt" "checkbox": "Ich habe die Sicherung erstellt"
}, },
"pipewireConfig": { "pipewireConfig": {
@@ -1050,12 +1052,13 @@
"custom": "Benutzerdefiniert..." "custom": "Benutzerdefiniert..."
}, },
"customPlaceholder": "Binärname (z.B. mein-player)", "customPlaceholder": "Binärname (z.B. mein-player)",
"warning": "Beste Ergebnisse: Verwenden Sie Bit-Perfect nur pro App. Globales Pulse-Bit-Perfect kann Browser beschädigen, die festes 48kHz ausgeben." "warning": "Beste Ergebnisse: Verwenden Sie Bit-Perfect nur pro App. Globales Pulse-Bit-Perfect kann Browser und Apps beschädigen, die festes 48kHz ausgeben."
}, },
"wireplumberConfig": { "wireplumberConfig": {
"title": "Nur Ihren DAC ansteuern", "title": "Nur Ihren DAC ansteuern",
"subtitle": "Regeln nur auf den erkannten Sink anwenden.", "subtitle": "Regeln nur auf den erkannten Sink anwenden.",
"targeting": "Dies zielt auf:" "targeting": "Dies zielt auf:",
"rulesNote": "Diese Regeln gelten nur für den erkannten DAC."
}, },
"restart": { "restart": {
"title": "Audio-Dienste neu starten", "title": "Audio-Dienste neu starten",
+7 -4
View File
@@ -1046,6 +1046,7 @@
"title": "Check Audio Stack", "title": "Check Audio Stack",
"subtitle": "Confirm PipeWire and WirePlumber are running.", "subtitle": "Confirm PipeWire and WirePlumber are running.",
"hint": "Look for 'active (running)' for all services", "hint": "Look for 'active (running)' for all services",
"inactiveWarning": "If any service is inactive, stop here and fix it before continuing.",
"checkbox": "I ran this command and services are active", "checkbox": "I ran this command and services are active",
"installTitle": "Install Required Packages", "installTitle": "Install Required Packages",
"installSubtitle": "Select your distribution to see the install command.", "installSubtitle": "Select your distribution to see the install command.",
@@ -1056,7 +1057,7 @@
"opensuse": "openSUSE", "opensuse": "openSUSE",
"other": "Other" "other": "Other"
}, },
"otherHint": "Please install: pipewire, pipewire-pulse, wireplumber, alsa-utils" "otherHint": "Ensure these packages (or equivalents) are installed: pipewire, pipewire-pulse, wireplumber, alsa-utils"
}, },
"detectDac": { "detectDac": {
"title": "Identify Default DAC", "title": "Identify Default DAC",
@@ -1064,6 +1065,7 @@
"step1": "Find your DAC under 'Audio > Sinks'. Note the number (e.g., 46).", "step1": "Find your DAC under 'Audio > Sinks'. Note the number (e.g., 46).",
"step2": "Then run with that number:", "step2": "Then run with that number:",
"inputLabel": "Enter node.name", "inputLabel": "Enter node.name",
"inputWarning": "This must match exactly. One character off will break the rule.",
"inputPlaceholder": "alsa_output.usb-...", "inputPlaceholder": "alsa_output.usb-...",
"validation": { "validation": {
"validFormat": "Valid format", "validFormat": "Valid format",
@@ -1086,7 +1088,7 @@
"backup": { "backup": {
"title": "Create Backup", "title": "Create Backup",
"subtitle": "Required before any changes.", "subtitle": "Required before any changes.",
"hint": "You can restore this backup later if needed.", "hint": "You are responsible for keeping this backup until you verify everything works.",
"checkbox": "I created the backup" "checkbox": "I created the backup"
}, },
"pipewireConfig": { "pipewireConfig": {
@@ -1109,12 +1111,13 @@
"custom": "Custom..." "custom": "Custom..."
}, },
"customPlaceholder": "Binary name (e.g., my-player)", "customPlaceholder": "Binary name (e.g., my-player)",
"warning": "Best results: use app-scoped bit-perfect only. Global Pulse bit-perfect can break browsers that output fixed 48kHz." "warning": "Best results: use app-scoped bit-perfect only. Global Pulse bit-perfect can break browsers and apps that output fixed 48kHz."
}, },
"wireplumberConfig": { "wireplumberConfig": {
"title": "Target Your DAC Only", "title": "Target Your DAC Only",
"subtitle": "Apply rules only to the detected sink.", "subtitle": "Apply rules only to the detected sink.",
"targeting": "This targets:" "targeting": "This targets:",
"rulesNote": "These rules apply only to the detected DAC."
}, },
"restart": { "restart": {
"title": "Restart Audio Services", "title": "Restart Audio Services",
+7 -4
View File
@@ -1046,6 +1046,7 @@
"title": "Verificar Stack de Audio", "title": "Verificar Stack de Audio",
"subtitle": "Confirma que PipeWire y WirePlumber están activos.", "subtitle": "Confirma que PipeWire y WirePlumber están activos.",
"hint": "Busca 'active (running)' en todos los servicios", "hint": "Busca 'active (running)' en todos los servicios",
"inactiveWarning": "Si algún servicio está inactivo, detente aquí y corrígelo antes de continuar.",
"checkbox": "Ejecuté el comando y los servicios están activos", "checkbox": "Ejecuté el comando y los servicios están activos",
"installTitle": "Instalar Paquetes Requeridos", "installTitle": "Instalar Paquetes Requeridos",
"installSubtitle": "Selecciona tu distribución para ver el comando de instalación.", "installSubtitle": "Selecciona tu distribución para ver el comando de instalación.",
@@ -1056,7 +1057,7 @@
"opensuse": "openSUSE", "opensuse": "openSUSE",
"other": "Otra" "other": "Otra"
}, },
"otherHint": "Instala: pipewire, pipewire-pulse, wireplumber, alsa-utils" "otherHint": "Asegúrate de tener instalados (o equivalentes): pipewire, pipewire-pulse, wireplumber, alsa-utils"
}, },
"detectDac": { "detectDac": {
"title": "Identificar DAC por Defecto", "title": "Identificar DAC por Defecto",
@@ -1064,6 +1065,7 @@
"step1": "Busca tu DAC en 'Audio > Sinks'. Anota el número (ej. 46).", "step1": "Busca tu DAC en 'Audio > Sinks'. Anota el número (ej. 46).",
"step2": "Luego ejecuta con ese número:", "step2": "Luego ejecuta con ese número:",
"inputLabel": "Ingresa node.name", "inputLabel": "Ingresa node.name",
"inputWarning": "Debe coincidir exactamente. Un solo carácter diferente romperá la regla.",
"inputPlaceholder": "alsa_output.usb-...", "inputPlaceholder": "alsa_output.usb-...",
"validation": { "validation": {
"validFormat": "Formato válido", "validFormat": "Formato válido",
@@ -1086,7 +1088,7 @@
"backup": { "backup": {
"title": "Crear Backup", "title": "Crear Backup",
"subtitle": "Requerido antes de cualquier cambio.", "subtitle": "Requerido antes de cualquier cambio.",
"hint": "Puedes restaurar este backup después si es necesario.", "hint": "Eres responsable de conservar este backup hasta verificar que todo funciona.",
"checkbox": "Creé el backup" "checkbox": "Creé el backup"
}, },
"pipewireConfig": { "pipewireConfig": {
@@ -1109,12 +1111,13 @@
"custom": "Personalizado..." "custom": "Personalizado..."
}, },
"customPlaceholder": "Nombre del binario (ej. mi-player)", "customPlaceholder": "Nombre del binario (ej. mi-player)",
"warning": "Mejor resultado: usa bit-perfect por app. El bit-perfect global en Pulse puede romper navegadores que usan 48kHz fijo." "warning": "Mejor resultado: usa bit-perfect por app. El bit-perfect global en Pulse puede romper navegadores y apps que usan 48kHz fijo."
}, },
"wireplumberConfig": { "wireplumberConfig": {
"title": "Apuntar Solo a tu DAC", "title": "Apuntar Solo a tu DAC",
"subtitle": "Aplica reglas solo al sink detectado.", "subtitle": "Aplica reglas solo al sink detectado.",
"targeting": "Esto apunta a:" "targeting": "Esto apunta a:",
"rulesNote": "Estas reglas aplican únicamente al DAC detectado."
}, },
"restart": { "restart": {
"title": "Reiniciar Servicios de Audio", "title": "Reiniciar Servicios de Audio",
+7 -4
View File
@@ -987,6 +987,7 @@
"title": "Vérifier la pile audio", "title": "Vérifier la pile audio",
"subtitle": "Confirmez que PipeWire et WirePlumber fonctionnent.", "subtitle": "Confirmez que PipeWire et WirePlumber fonctionnent.",
"hint": "Recherchez 'active (running)' pour tous les services", "hint": "Recherchez 'active (running)' pour tous les services",
"inactiveWarning": "Si un service est inactif, arrêtez-vous ici et corrigez-le avant de continuer.",
"checkbox": "J'ai exécuté cette commande et les services sont actifs", "checkbox": "J'ai exécuté cette commande et les services sont actifs",
"installTitle": "Installer les paquets requis", "installTitle": "Installer les paquets requis",
"installSubtitle": "Sélectionnez votre distribution pour voir la commande d'installation.", "installSubtitle": "Sélectionnez votre distribution pour voir la commande d'installation.",
@@ -997,7 +998,7 @@
"opensuse": "openSUSE", "opensuse": "openSUSE",
"other": "Autre" "other": "Autre"
}, },
"otherHint": "Veuillez installer : pipewire, pipewire-pulse, wireplumber, alsa-utils" "otherHint": "Assurez-vous que ces paquets (ou équivalents) sont installés : pipewire, pipewire-pulse, wireplumber, alsa-utils"
}, },
"detectDac": { "detectDac": {
"title": "Identifier le DAC par défaut", "title": "Identifier le DAC par défaut",
@@ -1005,6 +1006,7 @@
"step1": "Trouvez votre DAC sous 'Audio > Sinks'. Notez le numéro (ex. 46).", "step1": "Trouvez votre DAC sous 'Audio > Sinks'. Notez le numéro (ex. 46).",
"step2": "Puis exécutez avec ce numéro :", "step2": "Puis exécutez avec ce numéro :",
"inputLabel": "Entrez node.name", "inputLabel": "Entrez node.name",
"inputWarning": "Doit correspondre exactement. Un seul caractère erroné cassera la règle.",
"inputPlaceholder": "alsa_output.usb-...", "inputPlaceholder": "alsa_output.usb-...",
"validation": { "validation": {
"validFormat": "Format valide", "validFormat": "Format valide",
@@ -1027,7 +1029,7 @@
"backup": { "backup": {
"title": "Créer une sauvegarde", "title": "Créer une sauvegarde",
"subtitle": "Requis avant toute modification.", "subtitle": "Requis avant toute modification.",
"hint": "Vous pourrez restaurer cette sauvegarde ultérieurement si nécessaire.", "hint": "Vous êtes responsable de conserver cette sauvegarde jusqu'à ce que tout fonctionne.",
"checkbox": "J'ai créé la sauvegarde" "checkbox": "J'ai créé la sauvegarde"
}, },
"pipewireConfig": { "pipewireConfig": {
@@ -1050,12 +1052,13 @@
"custom": "Personnalisé..." "custom": "Personnalisé..."
}, },
"customPlaceholder": "Nom du binaire (ex. mon-lecteur)", "customPlaceholder": "Nom du binaire (ex. mon-lecteur)",
"warning": "Meilleurs résultats : utilisez le bit-perfect par application uniquement. Le bit-perfect Pulse global peut casser les navigateurs qui émettent en 48kHz fixe." "warning": "Meilleurs résultats : utilisez le bit-perfect par application uniquement. Le bit-perfect Pulse global peut casser les navigateurs et applications qui émettent en 48kHz fixe."
}, },
"wireplumberConfig": { "wireplumberConfig": {
"title": "Cibler uniquement votre DAC", "title": "Cibler uniquement votre DAC",
"subtitle": "Appliquer les règles uniquement au sink détecté.", "subtitle": "Appliquer les règles uniquement au sink détecté.",
"targeting": "Ceci cible :" "targeting": "Ceci cible :",
"rulesNote": "Ces règles s'appliquent uniquement au DAC détecté."
}, },
"restart": { "restart": {
"title": "Redémarrer les services audio", "title": "Redémarrer les services audio",