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:
1 parent
dbe70e774c
commit
2f85129547
5 files changed
+60
-16
No files matched your search
@@ -398,6 +398,8 @@
|
||||
command="systemctl --user status pipewire pipewire-pulse wireplumber"
|
||||
/>
|
||||
|
||||
<p class="inactive-warning">{$t('dacWizard.precheck.inactiveWarning')}</p>
|
||||
|
||||
<label class="checkbox-row">
|
||||
<input type="checkbox" bind:checked={precheckDone} />
|
||||
<span>{$t('dacWizard.precheck.checkbox')}</span>
|
||||
@@ -426,6 +428,7 @@
|
||||
|
||||
<div class="input-group">
|
||||
<label class="input-label">{$t('dacWizard.detectDac.inputLabel')}</label>
|
||||
<p class="input-warning">{$t('dacWizard.detectDac.inputWarning')}</p>
|
||||
<input
|
||||
type="text"
|
||||
class="text-input mono"
|
||||
@@ -605,6 +608,8 @@
|
||||
<code class="targeting-value">{dacNodeName}</code>
|
||||
</div>
|
||||
|
||||
<p class="rules-note">{$t('dacWizard.wireplumberConfig.rulesNote')}</p>
|
||||
|
||||
<CommandBlock command={generateWireplumberConfig()} />
|
||||
</div>
|
||||
|
||||
@@ -899,6 +904,33 @@
|
||||
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 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -987,6 +987,7 @@
|
||||
"title": "Audio-Stack prüfen",
|
||||
"subtitle": "Bestätigen Sie, dass PipeWire und WirePlumber laufen.",
|
||||
"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",
|
||||
"installTitle": "Erforderliche Pakete installieren",
|
||||
"installSubtitle": "Wählen Sie Ihre Distribution, um den Installationsbefehl zu sehen.",
|
||||
@@ -997,7 +998,7 @@
|
||||
"opensuse": "openSUSE",
|
||||
"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": {
|
||||
"title": "Standard-DAC identifizieren",
|
||||
@@ -1005,6 +1006,7 @@
|
||||
"step1": "Finden Sie Ihren DAC unter 'Audio > Sinks'. Notieren Sie die Nummer (z.B. 46).",
|
||||
"step2": "Dann mit dieser Nummer ausführen:",
|
||||
"inputLabel": "node.name eingeben",
|
||||
"inputWarning": "Muss exakt übereinstimmen. Ein einziges falsches Zeichen bricht die Regel.",
|
||||
"inputPlaceholder": "alsa_output.usb-...",
|
||||
"validation": {
|
||||
"validFormat": "Gültiges Format",
|
||||
@@ -1027,7 +1029,7 @@
|
||||
"backup": {
|
||||
"title": "Sicherung erstellen",
|
||||
"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"
|
||||
},
|
||||
"pipewireConfig": {
|
||||
@@ -1050,12 +1052,13 @@
|
||||
"custom": "Benutzerdefiniert..."
|
||||
},
|
||||
"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": {
|
||||
"title": "Nur Ihren DAC ansteuern",
|
||||
"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": {
|
||||
"title": "Audio-Dienste neu starten",
|
||||
|
||||
@@ -1046,6 +1046,7 @@
|
||||
"title": "Check Audio Stack",
|
||||
"subtitle": "Confirm PipeWire and WirePlumber are running.",
|
||||
"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",
|
||||
"installTitle": "Install Required Packages",
|
||||
"installSubtitle": "Select your distribution to see the install command.",
|
||||
@@ -1056,7 +1057,7 @@
|
||||
"opensuse": "openSUSE",
|
||||
"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": {
|
||||
"title": "Identify Default DAC",
|
||||
@@ -1064,6 +1065,7 @@
|
||||
"step1": "Find your DAC under 'Audio > Sinks'. Note the number (e.g., 46).",
|
||||
"step2": "Then run with that number:",
|
||||
"inputLabel": "Enter node.name",
|
||||
"inputWarning": "This must match exactly. One character off will break the rule.",
|
||||
"inputPlaceholder": "alsa_output.usb-...",
|
||||
"validation": {
|
||||
"validFormat": "Valid format",
|
||||
@@ -1086,7 +1088,7 @@
|
||||
"backup": {
|
||||
"title": "Create Backup",
|
||||
"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"
|
||||
},
|
||||
"pipewireConfig": {
|
||||
@@ -1109,12 +1111,13 @@
|
||||
"custom": "Custom..."
|
||||
},
|
||||
"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": {
|
||||
"title": "Target Your DAC Only",
|
||||
"subtitle": "Apply rules only to the detected sink.",
|
||||
"targeting": "This targets:"
|
||||
"targeting": "This targets:",
|
||||
"rulesNote": "These rules apply only to the detected DAC."
|
||||
},
|
||||
"restart": {
|
||||
"title": "Restart Audio Services",
|
||||
|
||||
@@ -1046,6 +1046,7 @@
|
||||
"title": "Verificar Stack de Audio",
|
||||
"subtitle": "Confirma que PipeWire y WirePlumber están activos.",
|
||||
"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",
|
||||
"installTitle": "Instalar Paquetes Requeridos",
|
||||
"installSubtitle": "Selecciona tu distribución para ver el comando de instalación.",
|
||||
@@ -1056,7 +1057,7 @@
|
||||
"opensuse": "openSUSE",
|
||||
"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": {
|
||||
"title": "Identificar DAC por Defecto",
|
||||
@@ -1064,6 +1065,7 @@
|
||||
"step1": "Busca tu DAC en 'Audio > Sinks'. Anota el número (ej. 46).",
|
||||
"step2": "Luego ejecuta con ese número:",
|
||||
"inputLabel": "Ingresa node.name",
|
||||
"inputWarning": "Debe coincidir exactamente. Un solo carácter diferente romperá la regla.",
|
||||
"inputPlaceholder": "alsa_output.usb-...",
|
||||
"validation": {
|
||||
"validFormat": "Formato válido",
|
||||
@@ -1086,7 +1088,7 @@
|
||||
"backup": {
|
||||
"title": "Crear Backup",
|
||||
"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"
|
||||
},
|
||||
"pipewireConfig": {
|
||||
@@ -1109,12 +1111,13 @@
|
||||
"custom": "Personalizado..."
|
||||
},
|
||||
"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": {
|
||||
"title": "Apuntar Solo a tu DAC",
|
||||
"subtitle": "Aplica reglas solo al sink detectado.",
|
||||
"targeting": "Esto apunta a:"
|
||||
"targeting": "Esto apunta a:",
|
||||
"rulesNote": "Estas reglas aplican únicamente al DAC detectado."
|
||||
},
|
||||
"restart": {
|
||||
"title": "Reiniciar Servicios de Audio",
|
||||
|
||||
@@ -987,6 +987,7 @@
|
||||
"title": "Vérifier la pile audio",
|
||||
"subtitle": "Confirmez que PipeWire et WirePlumber fonctionnent.",
|
||||
"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",
|
||||
"installTitle": "Installer les paquets requis",
|
||||
"installSubtitle": "Sélectionnez votre distribution pour voir la commande d'installation.",
|
||||
@@ -997,7 +998,7 @@
|
||||
"opensuse": "openSUSE",
|
||||
"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": {
|
||||
"title": "Identifier le DAC par défaut",
|
||||
@@ -1005,6 +1006,7 @@
|
||||
"step1": "Trouvez votre DAC sous 'Audio > Sinks'. Notez le numéro (ex. 46).",
|
||||
"step2": "Puis exécutez avec ce numéro :",
|
||||
"inputLabel": "Entrez node.name",
|
||||
"inputWarning": "Doit correspondre exactement. Un seul caractère erroné cassera la règle.",
|
||||
"inputPlaceholder": "alsa_output.usb-...",
|
||||
"validation": {
|
||||
"validFormat": "Format valide",
|
||||
@@ -1027,7 +1029,7 @@
|
||||
"backup": {
|
||||
"title": "Créer une sauvegarde",
|
||||
"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"
|
||||
},
|
||||
"pipewireConfig": {
|
||||
@@ -1050,12 +1052,13 @@
|
||||
"custom": "Personnalisé..."
|
||||
},
|
||||
"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": {
|
||||
"title": "Cibler uniquement votre DAC",
|
||||
"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": {
|
||||
"title": "Redémarrer les services audio",
|
||||
|
||||
Reference in new issue
Block a user