From f664ce327d7e9cc539e952ae188ec4094794f92e Mon Sep 17 00:00:00 2001
From: vicrodh <103399283+vicrodh@users.noreply.github.com>
Date: Mon, 13 Apr 2026 14:56:39 -0600
Subject: [PATCH] i18n(updater): add autoUpdate keys and download actions
Adds updates.autoUpdate.* keys (title, checking, downloading,
downloadingProgress, installing, restarting, failed) and
actions.downloadAndInstall / actions.downloadManually to all 5
locales (en, es, de, fr, pt).
cc
---
src/lib/i18n/locales/de.json | 13 ++++++++++++-
src/lib/i18n/locales/en.json | 13 ++++++++++++-
src/lib/i18n/locales/es.json | 13 ++++++++++++-
src/lib/i18n/locales/fr.json | 11 +++++++++++
src/lib/i18n/locales/pt.json | 13 ++++++++++++-
5 files changed, 59 insertions(+), 4 deletions(-)
diff --git a/src/lib/i18n/locales/de.json b/src/lib/i18n/locales/de.json
index 7891efc5d..88f387d96 100644
--- a/src/lib/i18n/locales/de.json
+++ b/src/lib/i18n/locales/de.json
@@ -771,6 +771,8 @@
"clearSelection": "Klare Auswahl",
"copyCommand": "Befehl kopieren",
"downloadOnGitHub": "Auf GitHub herunterladen",
+ "downloadAndInstall": "Herunterladen & Installieren",
+ "downloadManually": "Manuell herunterladen",
"findAvailableVersion": "Finden Sie die verfügbare Version",
"gotIt": "Habe es",
"okClose": "OK, schließen",
@@ -2275,7 +2277,16 @@
},
"runningInsideSandbox": "QBZ hat erkannt, dass es in einer {env}-Sandbox ausgeführt wird.",
"newReleaseAvailable": "Neue Version verfügbar",
- "newVersionReleased": "Eine neue Version von QBZ wurde veröffentlicht"
+ "newVersionReleased": "Eine neue Version von QBZ wurde veröffentlicht",
+ "autoUpdate": {
+ "title": "QBZ wird aktualisiert",
+ "checking": "Suche nach Updates...",
+ "downloading": "Update wird heruntergeladen...",
+ "downloadingProgress": "Update wird heruntergeladen... {percent}%",
+ "installing": "Update wird installiert...",
+ "restarting": "Wird neu gestartet...",
+ "failed": "Update fehlgeschlagen"
+ }
},
"common": {
"name": "Name"
diff --git a/src/lib/i18n/locales/en.json b/src/lib/i18n/locales/en.json
index 38b96a802..5d324c92d 100644
--- a/src/lib/i18n/locales/en.json
+++ b/src/lib/i18n/locales/en.json
@@ -770,6 +770,8 @@
"copyCommand": "Copy command",
"downloadOnGitHub": "Download on GitHub",
"visitReleasePage": "Visit release page",
+ "downloadAndInstall": "Download & Install",
+ "downloadManually": "Download manually",
"okClose": "OK, close",
"tryAgain": "Try Again",
"startOffline": "Start Offline",
@@ -2405,7 +2407,16 @@
"releaseNotesNotAvailableForVersion": "Release notes are not available for this version."
},
"newReleaseAvailable": "New release available",
- "checkForUpdates": "Check for updates"
+ "checkForUpdates": "Check for updates",
+ "autoUpdate": {
+ "title": "Updating QBZ",
+ "checking": "Checking for updates...",
+ "downloading": "Downloading update...",
+ "downloadingProgress": "Downloading update... {percent}%",
+ "installing": "Installing update...",
+ "restarting": "Restarting...",
+ "failed": "Update failed"
+ }
},
"performerRoles": {
"a&R": "Artists and Repertoire",
diff --git a/src/lib/i18n/locales/es.json b/src/lib/i18n/locales/es.json
index ffbd17c35..352cd16e6 100644
--- a/src/lib/i18n/locales/es.json
+++ b/src/lib/i18n/locales/es.json
@@ -770,6 +770,8 @@
"clearSelection": "Borrar selección",
"copyCommand": "comando copiar",
"downloadOnGitHub": "Descargar en GitHub",
+ "downloadAndInstall": "Descargar e instalar",
+ "downloadManually": "Descargar manualmente",
"findAvailableVersion": "Encuentra la versión disponible",
"gotIt": "Entiendo",
"okClose": "Bien, cerca",
@@ -2419,7 +2421,16 @@
},
"runningInsideSandbox": "QBZ detectó que se está ejecutando dentro de un {env} sandbox.",
"newReleaseAvailable": "Nueva versión disponible",
- "newVersionReleased": "Se ha lanzado una nueva versión de QBZ."
+ "newVersionReleased": "Se ha lanzado una nueva versión de QBZ.",
+ "autoUpdate": {
+ "title": "Actualizando QBZ",
+ "checking": "Buscando actualizaciones...",
+ "downloading": "Descargando actualización...",
+ "downloadingProgress": "Descargando actualización... {percent}%",
+ "installing": "Instalando actualización...",
+ "restarting": "Reiniciando...",
+ "failed": "Error al actualizar"
+ }
},
"common": {
"name": "Nombre"
diff --git a/src/lib/i18n/locales/fr.json b/src/lib/i18n/locales/fr.json
index 03c46ad7c..0884bba12 100644
--- a/src/lib/i18n/locales/fr.json
+++ b/src/lib/i18n/locales/fr.json
@@ -765,6 +765,8 @@
"clearSelection": "Effacer la sélection",
"copyCommand": "Copier la commande",
"downloadOnGitHub": "Télécharger sur GitHub",
+ "downloadAndInstall": "Télécharger et installer",
+ "downloadManually": "Télécharger manuellement",
"findAvailableVersion": "Rechercher la version disponible",
"gotIt": "J'ai compris",
"okClose": "OK, fermer",
@@ -2425,6 +2427,15 @@
"releaseNotesNotAvailableForVersion": "Les notes de version ne sont pas disponibles pour cette version.",
"whatsNew": "Quoi de neuf",
"whatsNewIn": "Quoi de neuf dans v{version}"
+ },
+ "autoUpdate": {
+ "title": "Mise à jour de QBZ",
+ "checking": "Recherche de mises à jour...",
+ "downloading": "Téléchargement de la mise à jour...",
+ "downloadingProgress": "Téléchargement de la mise à jour... {percent}%",
+ "installing": "Installation de la mise à jour...",
+ "restarting": "Redémarrage...",
+ "failed": "Échec de la mise à jour"
}
},
"musician": {
diff --git a/src/lib/i18n/locales/pt.json b/src/lib/i18n/locales/pt.json
index d8dd588c6..7a8f67e11 100644
--- a/src/lib/i18n/locales/pt.json
+++ b/src/lib/i18n/locales/pt.json
@@ -771,6 +771,8 @@
"clearSelection": "Limpar seleção",
"copyCommand": "Comando copiar",
"downloadOnGitHub": "Baixe no GitHub",
+ "downloadAndInstall": "Baixar e instalar",
+ "downloadManually": "Baixar manualmente",
"findAvailableVersion": "Encontre a versão disponível",
"gotIt": "Entendi",
"okClose": "OK, feche",
@@ -2385,7 +2387,16 @@
},
"runningInsideSandbox": "QBZ detectou que está sendo executado dentro de um {env} sandbox.",
"newReleaseAvailable": "Novo lançamento disponível",
- "newVersionReleased": "Uma nova versão do QBZ foi lançada"
+ "newVersionReleased": "Uma nova versão do QBZ foi lançada",
+ "autoUpdate": {
+ "title": "Atualizando QBZ",
+ "checking": "Procurando atualizações...",
+ "downloading": "Baixando atualização...",
+ "downloadingProgress": "Baixando atualização... {percent}%",
+ "installing": "Instalando atualização...",
+ "restarting": "Reiniciando...",
+ "failed": "Falha na atualização"
+ }
},
"common": {
"name": "Nome"