From 115295acb620aa4a2fea68ba32ed45b5c40bd071 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Mon, 28 Sep 2026 09:56:29 +0200 Subject: [PATCH] fix(oci): reuse the existing HTTP check message --- .../scripts/tests/test_oci_selection_setup_wording.py | 2 +- lang/de.json | 1 - lang/es.json | 9 ++++----- lang/fr.json | 1 - lang/it.json | 7 +++---- lang/pt.json | 3 +-- lang/sk.json | 1 - lang/sv.json | 3 +-- oci/remote/install_paperless_stack.sh | 2 +- oci/remote/install_tandoor_stack.sh | 2 +- 10 files changed, 12 insertions(+), 19 deletions(-) diff --git a/.github/scripts/tests/test_oci_selection_setup_wording.py b/.github/scripts/tests/test_oci_selection_setup_wording.py index 9fd7d4fd..6e721836 100644 --- a/.github/scripts/tests/test_oci_selection_setup_wording.py +++ b/.github/scripts/tests/test_oci_selection_setup_wording.py @@ -16,7 +16,7 @@ EMPTY = 'No registered OCI containers are available for selection on this host.' OLD_REPLAY = 'This stack requires replaying specific rootfs adaptations. Coordinated updates are not yet enabled for it.' NO_MEMBERS = 'This stack has no saved members to update.' REPLAY = 'This stack needs rootfs adaptations that coordinated updates cannot replay yet.' -HTTP = 'The HTTP check for the application failed:' +HTTP = 'The application did not pass its HTTP check:' def extracted(name, **dependencies): diff --git a/lang/de.json b/lang/de.json index a687b909..0fa1fb9e 100644 --- a/lang/de.json +++ b/lang/de.json @@ -5807,7 +5807,6 @@ "The GPU is being detached from VM": "Die GPU wird von der VM getrennt", "The GPU vendor differs from the requested profile": "Der GPU-Anbieter unterscheidet sich vom gewünschten Profil", "The GPU vendor does not match the selected GPU profile:": "Der GPU-Anbieter stimmt nicht mit dem ausgewählten GPU-Profil überein:", - "The HTTP check for the application failed:": "Die HTTP-Prüfung für die Anwendung ist fehlgeschlagen:", "The Immich CPU quota cannot be reproduced": "Die Immich CPU-Quote kann nicht reproduziert werden", "The Immich library needs at least 8 GB": "Die Immich-Bibliothek benötigt mindestens 8 GB", "The Immich startup was modified or cannot be reproduced": "Das Immich-Startup wurde modifiziert oder kann nicht reproduziert werden", diff --git a/lang/es.json b/lang/es.json index f4385ea9..946ed46e 100644 --- a/lang/es.json +++ b/lang/es.json @@ -4014,7 +4014,7 @@ "No reboot was started. Review the log before retrying:": "No se ha iniciado el reinicio. Revise el registro antes de volver a intentarlo:", "No recent": "No reciente", "No recent Samba servers found.": "No se encontraron servidores Samba recientes.", - "No registered OCI containers are available for selection on this host.": "No hay contenedores OCI registrados disponibles para su selección en este host.", + "No registered OCI containers are available for selection on this host.": "No hay contenedores OCI registrados disponibles para seleccionar en este host.", "No routing information found.": "No se encontró información de ruta.", "No scheduled backup jobs configured.": "No se han configurado trabajos de copia de seguridad programados.", "No scheduled backup jobs found.": "No se encontraron tareas de copia de seguridad programadas.", @@ -5807,7 +5807,6 @@ "The GPU is being detached from VM": "La GPU se está desconectando de la VM", "The GPU vendor differs from the requested profile": "El proveedor de GPU difiere del perfil solicitado", "The GPU vendor does not match the selected GPU profile:": "El proveedor GPU no coincide con el perfil GPU seleccionado:", - "The HTTP check for the application failed:": "falló la verificación HTTP de la aplicación:", "The Immich CPU quota cannot be reproduced": "La cuota de CPU Immich no se puede reproducir", "The Immich library needs at least 8 GB": "La biblioteca Immich necesita al menos 8 GB", "The Immich startup was modified or cannot be reproduced": "La startup Immich fue modificada o no se puede reproducir", @@ -5879,7 +5878,7 @@ "The application configuration needs a first start to complete.": "La configuración de la aplicación necesita un primer arranque para completarse.", "The application did not complete its initial setup:": "La aplicación no completó su configuración inicial:", "The application did not get an address on the access network:": "La aplicación no obtuvo una dirección en la red de acceso:", - "The application did not pass its HTTP check:": "La aplicación no pasó su cheque HTTP:", + "The application did not pass its HTTP check:": "La aplicación no superó la comprobación HTTP:", "The application did not respond in time:": "La aplicación no respondió a tiempo:", "The application stopped during its first start:": "La aplicación se detuvo durante su primer comienzo:", "The application was removed": "La solicitud fue eliminada", @@ -6359,8 +6358,8 @@ "This session is running in the Monitor terminal. Running it from here would cut the connection mid-install and leave the switch in a broken state.": "esta sesión se ejecuta en la terminal Monitor. Ejecutarlo desde aquí cortaría la conexión durante la instalación y dejaría el conmutador en un estado roto.", "This session is running in the Monitor terminal. Updating from here would restart the Monitor service and cut the connection mid-install, leaving the update in a broken state.": "esta sesión se ejecuta en la terminal Monitor. La actualización desde aquí reiniciaría el servicio Monitor y cortaría la conexión durante la instalación, dejando la actualización en un estado roto.", "This shows the storage type and disk identifier": "Esto muestra el tipo de almacenamiento y el identificador del disco.", - "This stack has no saved members to update.": "esta pila no tiene miembros guardados para actualizar.", - "This stack needs rootfs adaptations that coordinated updates cannot replay yet.": "esta pila necesita adaptaciones de rootfs que las actualizaciones coordinadas aún no pueden reproducir.", + "This stack has no saved members to update.": "Esta pila no tiene miembros guardados que actualizar.", + "This stack needs rootfs adaptations that coordinated updates cannot replay yet.": "Esta pila necesita adaptaciones del rootfs que las actualizaciones coordinadas aún no pueden reaplicar.", "This stack requires replaying specific rootfs adaptations. Coordinated updates are not yet enabled for it.": "Esta pila requiere reaplicar adaptaciones específicas del rootfs. Las actualizaciones coordinadas aún no están habilitadas para ella.", "This state has a high probability of VM startup/reset failures.": "Este estado tiene una alta probabilidad de que se produzcan errores de inicio/reinicio de la máquina virtual.", "This state indicates a high risk of passthrough failure due to": "Este estado indica un alto riesgo de fallo de paso debido a", diff --git a/lang/fr.json b/lang/fr.json index 86bea0aa..0b093309 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -5806,7 +5806,6 @@ "The GPU is being detached from VM": "Le GPU est détaché de la VM", "The GPU vendor differs from the requested profile": "Le fournisseur GPU diffère du profil demandé", "The GPU vendor does not match the selected GPU profile:": "Le fournisseur GPU ne correspond pas au profil GPU sélectionné :", - "The HTTP check for the application failed:": "La vérification HTTP de l'application a échoué :", "The Immich CPU quota cannot be reproduced": "Le quota de CPU Immich ne peut pas être reproduit", "The Immich library needs at least 8 GB": "La bibliothèque Immich a besoin d'au moins 8 Go", "The Immich startup was modified or cannot be reproduced": "Le démarrage de Immich a été modifié ou ne peut pas être reproduit", diff --git a/lang/it.json b/lang/it.json index 5e5ad0a2..7165cb80 100644 --- a/lang/it.json +++ b/lang/it.json @@ -4014,7 +4014,7 @@ "No reboot was started. Review the log before retrying:": "non è stato avviato alcun riavvio. Esaminare il registro prima di riprovare:", "No recent": "Non recente", "No recent Samba servers found.": "Nessun server Samba recente trovato.", - "No registered OCI containers are available for selection on this host.": "nessun contenitore OCI registrato è disponibile per la selezione su questo host.", + "No registered OCI containers are available for selection on this host.": "Nessun contenitore OCI registrato è disponibile per la selezione su questo host.", "No routing information found.": "Nessuna informazione sul percorso trovata.", "No scheduled backup jobs configured.": "nessun processo di backup pianificato configurato.", "No scheduled backup jobs found.": "Nessun processo di backup pianificato trovato.", @@ -5807,7 +5807,6 @@ "The GPU is being detached from VM": "La GPU viene scollegata dalla VM", "The GPU vendor differs from the requested profile": "Il fornitore GPU differisce dal profilo richiesto", "The GPU vendor does not match the selected GPU profile:": "Il fornitore GPU non corrisponde al profilo GPU selezionato:", - "The HTTP check for the application failed:": "il controllo HTTP per l'applicazione non è riuscito:", "The Immich CPU quota cannot be reproduced": "La quota Immich CPU non può essere riprodotta", "The Immich library needs at least 8 GB": "La libreria Immich ha bisogno di almeno 8 GB", "The Immich startup was modified or cannot be reproduced": "L'avvio Immich è stato modificato o non può essere riprodotto", @@ -6359,8 +6358,8 @@ "This session is running in the Monitor terminal. Running it from here would cut the connection mid-install and leave the switch in a broken state.": "questa sessione è in esecuzione nel terminale Monitor. Eseguirlo da qui interromperebbe la connessione a metà installazione e lascerebbe l'interruttore in uno stato interrotto.", "This session is running in the Monitor terminal. Updating from here would restart the Monitor service and cut the connection mid-install, leaving the update in a broken state.": "questa sessione è in esecuzione nel terminale Monitor. L'aggiornamento da qui riavvierebbe il servizio Monitor e interromperebbe la connessione durante l'installazione, lasciando l'aggiornamento in uno stato interrotto.", "This shows the storage type and disk identifier": "Mostra il tipo di archiviazione e l'identificatore del disco", - "This stack has no saved members to update.": "questo stack non ha membri salvati da aggiornare.", - "This stack needs rootfs adaptations that coordinated updates cannot replay yet.": "questo stack necessita di adattamenti rootfs che gli aggiornamenti coordinati non possono ancora riprodurre.", + "This stack has no saved members to update.": "Questo stack non ha membri salvati da aggiornare.", + "This stack needs rootfs adaptations that coordinated updates cannot replay yet.": "Questo stack necessita di adattamenti rootfs che gli aggiornamenti coordinati non possono ancora riprodurre.", "This stack requires replaying specific rootfs adaptations. Coordinated updates are not yet enabled for it.": "Questo stack requires rigioca specifici adattamenti rootfs. Gli aggiornamenti coordinati non sono ancora abilitati per esso.", "This state has a high probability of VM startup/reset failures.": "Questo stato ha un'alta probabilità di errori di avvio/reimpostazione della VM.", "This state indicates a high risk of passthrough failure due to": "Questo stato indica un rischio elevato di errore passthrough dovuto a", diff --git a/lang/pt.json b/lang/pt.json index af8cd30f..39edde88 100644 --- a/lang/pt.json +++ b/lang/pt.json @@ -5807,7 +5807,6 @@ "The GPU is being detached from VM": "A GPU está sendo desconectada da VM", "The GPU vendor differs from the requested profile": "O fornecedor da GPU difere do perfil solicitado", "The GPU vendor does not match the selected GPU profile:": "O fornecedor da GPU não corresponde ao perfil da GPU seleccionado:", - "The HTTP check for the application failed:": "A verificação HTTP do aplicativo falhou:", "The Immich CPU quota cannot be reproduced": "A quota de CPU Immich não pode ser reproduzida", "The Immich library needs at least 8 GB": "A biblioteca Immich precisa de pelo menos 8 GB", "The Immich startup was modified or cannot be reproduced": "A inicialização do Immich foi modificada ou não pode ser reproduzida", @@ -6359,7 +6358,7 @@ "This session is running in the Monitor terminal. Running it from here would cut the connection mid-install and leave the switch in a broken state.": "Esta sessão está sendo executada no terminal Monitor. Executá-lo a partir daqui cortaria a conexão no meio da instalação e deixaria o switch quebrado.", "This session is running in the Monitor terminal. Updating from here would restart the Monitor service and cut the connection mid-install, leaving the update in a broken state.": "Esta sessão está sendo executada no terminal Monitor. A atualização a partir daqui reiniciaria o serviço Monitor e cortaria a conexão no meio da instalação, deixando a atualização em um estado interrompido.", "This shows the storage type and disk identifier": "Isso mostra o tipo de armazenamento e o identificador do disco", - "This stack has no saved members to update.": "esta pilha não possui membros salvos para atualizar.", + "This stack has no saved members to update.": "Esta pilha não possui membros salvos para atualizar.", "This stack needs rootfs adaptations that coordinated updates cannot replay yet.": "Esta pilha precisa de adaptações de rootfs que as atualizações coordenadas ainda não podem ser reproduzidas.", "This stack requires replaying specific rootfs adaptations. Coordinated updates are not yet enabled for it.": "Esta pilha requires replaying adaptações rootfs específicas. As atualizações coordenadas ainda não estão habilitadas para ele.", "This state has a high probability of VM startup/reset failures.": "Este estado tem uma alta probabilidade de falhas de inicialização/redefinição da VM.", diff --git a/lang/sk.json b/lang/sk.json index 00f7fcc6..87a27c2c 100644 --- a/lang/sk.json +++ b/lang/sk.json @@ -5806,7 +5806,6 @@ "The GPU is being detached from VM": "GPU sa odpája z VM", "The GPU vendor differs from the requested profile": "Predajca GPU sa líši od požadovaného profilu", "The GPU vendor does not match the selected GPU profile:": "Dodávateľ GPU nezodpovedá zvolenému profilu GPU:", - "The HTTP check for the application failed:": "Kontrola HTTP pre aplikáciu zlyhala:", "The Immich CPU quota cannot be reproduced": "Kvóta Immich CPU nemôže byť reprodukovaná", "The Immich library needs at least 8 GB": "Knižnica Immich potrebuje aspoň 8 GB", "The Immich startup was modified or cannot be reproduced": "Spustenie Immich bolo upravené alebo nemožno reprodukovať", diff --git a/lang/sv.json b/lang/sv.json index eebd6061..c3327e30 100644 --- a/lang/sv.json +++ b/lang/sv.json @@ -5807,7 +5807,6 @@ "The GPU is being detached from VM": "GPU:n kopplas bort från VM", "The GPU vendor differs from the requested profile": "GPU-leverantören skiljer sig från den begärda profilen", "The GPU vendor does not match the selected GPU profile:": "GPU-leverantören matchar inte den valda GPU-profilen:", - "The HTTP check for the application failed:": "HTTP-kontrollen för programmet misslyckades:", "The Immich CPU quota cannot be reproduced": "Immich CPU kvot kan inte reproduceras", "The Immich library needs at least 8 GB": "Biblioteket Immich behöver minst 8 GB", "The Immich startup was modified or cannot be reproduced": "Immich startades eller kan inte reproduceras", @@ -5879,7 +5878,7 @@ "The application configuration needs a first start to complete.": "Applikationskonfigurationen behöver en första start för att slutföra.", "The application did not complete its initial setup:": "Ansökan slutförde inte sin första installation:", "The application did not get an address on the access network:": "Ansökan fick inte en adress på åtkomstnätet:", - "The application did not pass its HTTP check:": "Ansökan passerade inte HTTP-kontrollen:", + "The application did not pass its HTTP check:": "Applikationen klarade inte HTTP-kontrollen:", "The application did not respond in time:": "Ansökan svarade inte i tid:", "The application stopped during its first start:": "Ansökan slutade under sin första start:", "The application was removed": "Ansökan togs bort", diff --git a/oci/remote/install_paperless_stack.sh b/oci/remote/install_paperless_stack.sh index 812c0699..ce43c859 100755 --- a/oci/remote/install_paperless_stack.sh +++ b/oci/remote/install_paperless_stack.sh @@ -513,7 +513,7 @@ if (( START_AFTER == 1 )); then [[ -n $APPLICATION_LAN_IP ]] \ || die "$(translate "The application did not get an address on the access network:") Paperless-ngx" curl -fsS "http://${APPLICATION_LAN_IP}:8000/" >/dev/null 2>>"$OCI_LOG" \ - || die "$(translate "The HTTP check for the application failed:") Paperless-ngx" + || die "$(translate "The application did not pass its HTTP check:") Paperless-ngx" msg_ok "$(translate "Application responding:") http://${APPLICATION_LAN_IP}:8000/" fi diff --git a/oci/remote/install_tandoor_stack.sh b/oci/remote/install_tandoor_stack.sh index 0a92e5c1..436e2263 100755 --- a/oci/remote/install_tandoor_stack.sh +++ b/oci/remote/install_tandoor_stack.sh @@ -479,7 +479,7 @@ if (( START_AFTER == 1 )); then fi curl -fsS "http://${APPLICATION_LAN_IP}/" >/dev/null 2>>"$OCI_LOG" \ || { print_first_boot_diagnostics "$APPLICATION_ID" tandoor; \ - die "$(translate "The HTTP check for the application failed:") Tandoor"; } + die "$(translate "The application did not pass its HTTP check:") Tandoor"; } msg_ok "$(translate "Application responding:") http://${APPLICATION_LAN_IP}/" msg_info "$(translate "Creating the initial administrator...")" oci_quiet pct exec "$APPLICATION_ID" -- env DJANGO_SUPERUSER_PASSWORD="$ADMIN_PASSWORD" \