mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-01 10:22:08 +00:00
Describe the settings behaviour as the code does
- A failed channel switch shows the installer output above the error - Seven language catalogs plus built-in English - The version information sample keeps the real utils.sh path and channel label
This commit is contained in:
@@ -86,7 +86,7 @@ export default async function ShowVersionInformationPage({
|
||||
|
||||
<h2 className="text-2xl font-semibold mt-10 mb-4 text-gray-900">{t("sampleHeading")}</h2>
|
||||
<pre className="rounded-md bg-gray-100 p-4 overflow-x-auto text-xs font-mono text-gray-800 leading-relaxed border border-gray-200">{`Current ProxMenux version: VERSION
|
||||
Release channel: Stable (main)
|
||||
Release channel: Stable (main branch)
|
||||
|
||||
Installed components:
|
||||
✓ post_install_settings: installed
|
||||
@@ -98,7 +98,7 @@ Installed components:
|
||||
|
||||
ProxMenux files:
|
||||
✓ menu → /usr/local/bin/menu
|
||||
✓ utils.sh → /usr/local/share/proxmenux/scripts/utils.sh
|
||||
✓ utils.sh → /usr/local/share/proxmenux/utils.sh
|
||||
✓ config.json → /usr/local/share/proxmenux/config.json
|
||||
✓ version.txt → /usr/local/share/proxmenux/version.txt
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"downloadCmd": "curl -fsSL -o /tmp/test https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh && head -1 /tmp/test",
|
||||
"downloadOutro": "Wenn dies außerhalb von ProxMenux fehlschlägt, handelt es sich um ein Netzwerk- / Proxy-Problem auf dem Host.",
|
||||
"errorsTitle": "\"Installer mit Fehlern beendet\"",
|
||||
"errorsBody": "Der Installer hat einen Exitcode ungleich null zurückgegeben. Es gibt kein automatisches Zurücksetzen; einige Dateien oder Komponenten können bereits geändert worden sein. Prüfen Sie Ausgabe und aktuellen Zustand vor einem erneuten Versuch. Führen Sie den Installer für die vollständige Ausgabe per SSH oder in der Hostkonsole aus.",
|
||||
"errorsBody": "Der Installer hat einen Exitcode ungleich null zurückgegeben. Es gibt kein automatisches Zurücksetzen; einige Dateien oder Komponenten können bereits geändert worden sein. Lesen Sie die Ausgabe des Installers über der Fehlermeldung, bevor Sie Enter drücken, und prüfen Sie den aktuellen Zustand. Versuchen Sie es danach erneut über das Menü oder führen Sie den Installer manuell per SSH oder in der Hostkonsole aus.",
|
||||
"configTitle": "\"Konfigurationsdatei konnte nicht aktualisiert werden\" nach dem Wechsel zu Stable",
|
||||
"configBody": "Die Bereinigung von Beta-Metadaten nach der Installation ist fehlgeschlagen - in der Regel, weil <code>config.json</code> einen Syntaxfehler aus einer manuellen Bearbeitung aufweist. Validierung:",
|
||||
"configCmd": "jq . /usr/local/share/proxmenux/config.json",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"rows": [
|
||||
{
|
||||
"type": "Aktuelle Installation",
|
||||
"bundles": "Statische JSON-Kataloge für acht Sprachen; keine Python-Übersetzungsumgebung",
|
||||
"bundles": "Statische JSON-Kataloge für sieben Sprachen plus integriertes Englisch; keine Python-Übersetzungsumgebung",
|
||||
"menuRich": "<strong>Sprache ändern</strong> + Version anzeigen + Deinstallieren"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"downloadCmd": "curl -fsSL -o /tmp/test https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh && head -1 /tmp/test",
|
||||
"downloadOutro": "If this fails outside ProxMenux, it's a network / proxy issue on the host.",
|
||||
"errorsTitle": "“Installer finished with errors”",
|
||||
"errorsBody": "The installer returned a non-zero exit code. There is no automatic rollback: some files or components may already have changed. Inspect the output and current state before retrying. Run the installer manually from SSH or the host console for the full output.",
|
||||
"errorsBody": "The installer returned a non-zero exit code. There is no automatic rollback: some files or components may already have changed. Read the installer output shown above the error before pressing Enter and check the current state, then retry from the menu or run the installer manually from SSH or the host console.",
|
||||
"configTitle": "“Could not update config file” after switching to Stable",
|
||||
"configBody": "The post-install cleanup of beta metadata failed — usually because <code>config.json</code> has a syntax error from a manual edit. Validate it:",
|
||||
"configCmd": "jq . /usr/local/share/proxmenux/config.json",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"rows": [
|
||||
{
|
||||
"type": "Current installation",
|
||||
"bundles": "Static JSON catalogs for eight languages; no translation Python environment",
|
||||
"bundles": "Static JSON catalogs for seven languages plus built-in English; no translation Python environment",
|
||||
"menuRich": "<strong>Change Language</strong> + Show Version + Uninstall"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"downloadCmd": "curl -fsSL -o /tmp/test https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh && head -1 /tmp/test",
|
||||
"downloadOutro": "Si esto falla fuera de ProxMenux, es un problema de red / proxy en el host.",
|
||||
"errorsTitle": "\"El instalador terminó con errores\"",
|
||||
"errorsBody": "El instalador devolvió un código distinto de cero. No hay reversión automática: algunos archivos o componentes pueden haber cambiado. Revisa la salida y el estado actual antes de reintentar. Ejecuta el instalador manualmente por SSH o desde la consola del host para ver toda la salida.",
|
||||
"errorsBody": "El instalador devolvió un código distinto de cero. No hay reversión automática: algunos archivos o componentes pueden haber cambiado. Lee la salida del instalador que aparece encima del error antes de pulsar Intro y comprueba el estado actual; después reintenta desde el menú o ejecuta el instalador a mano por SSH o desde la consola del host.",
|
||||
"configTitle": "\"No se pudo actualizar el archivo de configuración\" tras cambiar a estable",
|
||||
"configBody": "La limpieza post-instalación de metadatos beta falló — normalmente porque <code>config.json</code> tiene un error de sintaxis por una edición manual. Valídalo:",
|
||||
"configCmd": "jq . /usr/local/share/proxmenux/config.json",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"rows": [
|
||||
{
|
||||
"type": "Instalación actual",
|
||||
"bundles": "Catálogos JSON estáticos para ocho idiomas; sin entorno Python de traducción",
|
||||
"bundles": "Catálogos JSON estáticos para siete idiomas, más el inglés integrado; sin entorno Python de traducción",
|
||||
"menuRich": "<strong>Cambiar idioma</strong> + Mostrar versión + Desinstalar"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"downloadCmd": "curl -fsSL -o /tmp/test https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh && head -1 /tmp/test",
|
||||
"downloadOutro": "Si cela échoue en dehors de ProxMenux, c'est un problème réseau / proxy sur l'hôte.",
|
||||
"errorsTitle": "L'installation est terminée par des erreurs.",
|
||||
"errorsBody": "L'installateur a renvoyé un code de sortie non nul. Aucun retour arrière automatique n'est prévu : certains fichiers ou composants peuvent déjà avoir changé. Examinez la sortie et l'état actuel avant de réessayer. Exécutez l'installateur manuellement par SSH ou depuis la console de l'hôte pour obtenir la sortie complète.",
|
||||
"errorsBody": "L'installateur a renvoyé un code de sortie non nul. Aucun retour arrière automatique n'est prévu : certains fichiers ou composants peuvent déjà avoir changé. Lisez la sortie de l'installateur affichée au-dessus de l'erreur avant d'appuyer sur Entrée et vérifiez l'état actuel, puis réessayez depuis le menu ou lancez l'installateur manuellement par SSH ou depuis la console de l'hôte.",
|
||||
"configTitle": "Impossible de mettre à jour le fichier de configuration après le passage à Stable",
|
||||
"configBody": "Le nettoyage post-installation des métadonnées bêta a échoué — généralement parce que <code>config.json</code> a une erreur de syntaxe d'une modification manuelle. Valider :",
|
||||
"configCmd": "jq . /usr/local/share/proxmenux/config.json",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"rows": [
|
||||
{
|
||||
"type": "Installation actuelle",
|
||||
"bundles": "Catalogues JSON statiques pour huit langues ; aucun environnement Python de traduction",
|
||||
"bundles": "Catalogues JSON statiques pour sept langues, plus l’anglais intégré ; aucun environnement Python de traduction",
|
||||
"menuRich": "<strong>Changer de langue</strong> + Afficher la version + Désinstaller"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"downloadCmd": "curl -fsSL -o /tmp/test https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh && head -1 /tmp/test",
|
||||
"downloadOutro": "Se questo non funziona al di fuori di ProxMenux, è un problema di rete / proxy sull'host.",
|
||||
"errorsTitle": "“Installer finito con errori”",
|
||||
"errorsBody": "Il programma di installazione ha restituito un codice diverso da zero. Non è previsto un ripristino automatico: alcuni file o componenti potrebbero essere già cambiati. Controlla l'output e lo stato attuale prima di riprovare. Esegui il programma manualmente via SSH o dalla console dell'host per vedere l'output completo.",
|
||||
"errorsBody": "Il programma di installazione ha restituito un codice diverso da zero. Non è previsto un ripristino automatico: alcuni file o componenti potrebbero essere già cambiati. Leggi l'output del programma di installazione mostrato sopra l'errore prima di premere Invio e controlla lo stato attuale, poi riprova dal menu o esegui il programma manualmente via SSH o dalla console dell'host.",
|
||||
"configTitle": "“Impossibile aggiornare il file di configurazione” dopo il passaggio a stabile",
|
||||
"configBody": "La pulizia post-installazione dei metadati beta non è riuscita — di solito perché <code>config.json</code> ha un errore di sintassi da una modifica manuale. Convalidalo:",
|
||||
"configCmd": "jq . /usr/local/share/proxmenux/config.json",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"rows": [
|
||||
{
|
||||
"type": "Installazione attuale",
|
||||
"bundles": "Cataloghi JSON statici per otto lingue; nessun ambiente Python di traduzione",
|
||||
"bundles": "Cataloghi JSON statici per sette lingue più l’inglese integrato; nessun ambiente Python di traduzione",
|
||||
"menuRich": "<strong>Cambia lingua</strong> + Mostra versione + Disinstalla"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"downloadCmd": "curl -fsSL -o /tmp/test https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh && head -1 /tmp/test",
|
||||
"downloadOutro": "Se isso falhar fora do ProxMenux, é um problema de rede / proxy no host.",
|
||||
"errorsTitle": "“Installer terminou com erros”",
|
||||
"errorsBody": "O instalador devolveu um código de saída diferente de zero. Não existe reversão automática: alguns ficheiros ou componentes podem já ter sido alterados. Verifique a saída e o estado atual antes de repetir. Execute o instalador manualmente por SSH ou na consola do anfitrião para ver a saída completa.",
|
||||
"errorsBody": "O instalador devolveu um código de saída diferente de zero. Não existe reversão automática: alguns ficheiros ou componentes podem já ter sido alterados. Leia a saída do instalador mostrada acima do erro antes de premir Enter e verifique o estado atual; depois repita a partir do menu ou execute o instalador manualmente por SSH ou na consola do anfitrião.",
|
||||
"configTitle": "\"Não foi possível atualizar o arquivo de configuração\" após mudar para Stable",
|
||||
"configBody": "A limpeza pós-instalação dos metadados beta falhou — geralmente porque o <code>config.json</code> tem um erro de sintaxe de uma edição manual. Validar:",
|
||||
"configCmd": "jq . /usr/local/share/proxmenux/config.json",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"rows": [
|
||||
{
|
||||
"type": "Instalação atual",
|
||||
"bundles": "Catálogos JSON estáticos para oito idiomas; sem ambiente Python de tradução",
|
||||
"bundles": "Catálogos JSON estáticos para sete idiomas, mais o inglês integrado; sem ambiente Python de tradução",
|
||||
"menuRich": "<strong>Alterar idioma</strong> + Mostrar versão + Desinstalar"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"downloadCmd": "curl -fsSL -o /tmp/test https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh && head -1 /tmp/test",
|
||||
"downloadOutro": "Ak toto zlyhá mimo ProxMenux, je to sieťový / proxy problém na hostiteľa.",
|
||||
"errorsTitle": "Installer skončil s chybami",
|
||||
"errorsBody": "Inštalátor vrátil nenulový návratový kód. Automatický návrat zmien neexistuje; niektoré súbory alebo komponenty sa už mohli zmeniť. Pred opakovaním skontrolujte výstup a aktuálny stav. Úplný výstup získate ručným spustením inštalátora cez SSH alebo konzolu hostiteľa.",
|
||||
"errorsBody": "Inštalátor vrátil nenulový návratový kód. Automatický návrat zmien neexistuje; niektoré súbory alebo komponenty sa už mohli zmeniť. Pred stlačením Enter si prečítajte výstup inštalátora nad chybou a skontrolujte aktuálny stav; potom to skúste znova z menu alebo spustite inštalátor ručne cez SSH alebo konzolu hostiteľa.",
|
||||
"configTitle": "Nie je možné aktualizovať konfiguračný súbor po prepnutí na Stable",
|
||||
"configBody": "Vyčistenie beta metadát po inštalácii zlyhalo, zvyčajne preto, že <code>config.json</code> má syntax chybu z manuálnej úpravy. Overte ho:",
|
||||
"configCmd": "jq . /usr/local/share/proxmenux/config.json",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"rows": [
|
||||
{
|
||||
"type": "Aktuálna inštalácia",
|
||||
"bundles": "Statické katalógy JSON pre osem jazykov; bez prekladového prostredia Python",
|
||||
"bundles": "Statické katalógy JSON pre sedem jazykov a vstavaná angličtina; bez prekladového prostredia Python",
|
||||
"menuRich": "<strong>Zmeniť jazyk</strong> + Zobraziť verziu + Odinštalovať"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
"downloadCmd": "curl -fsSL -o /tmp/test https://raw.githubusercontent.com/MacRimi/ProxMenux/main/install_proxmenux.sh && head -1 /tmp/test",
|
||||
"downloadOutro": "Om detta misslyckas utanför ProxMenux är det ett nätverk / proxyproblem på värden.",
|
||||
"errorsTitle": "\"Installer slutade med fel\"",
|
||||
"errorsBody": "Installeraren returnerade en slutkod som inte är noll. Ingen automatisk återställning sker; vissa filer eller komponenter kan redan ha ändrats. Granska utdata och aktuellt tillstånd innan du försöker igen. Kör installeraren manuellt via SSH eller värdkonsolen för fullständiga utdata.",
|
||||
"errorsBody": "Installeraren returnerade en slutkod som inte är noll. Ingen automatisk återställning sker; vissa filer eller komponenter kan redan ha ändrats. Läs installerarens utdata ovanför felet innan du trycker på Enter och kontrollera aktuellt tillstånd. Försök sedan igen från menyn eller kör installeraren manuellt via SSH eller värdkonsolen.",
|
||||
"configTitle": "\"Kan inte uppdatera konfigfil\" efter att ha bytt till Stable",
|
||||
"configBody": "Post-install rensningen av beta metadata misslyckades - vanligtvis eftersom <code>config.json</code> har ett syntaxfel från en manuell redigering. Validera det:",
|
||||
"configCmd": "jq . /usr/local/share/proxmenux/config.json",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"rows": [
|
||||
{
|
||||
"type": "Aktuell installation",
|
||||
"bundles": "Statiska JSON-kataloger för åtta språk; ingen Python-miljö för översättning",
|
||||
"bundles": "Statiska JSON-kataloger för sju språk plus inbyggd engelska; ingen Python-miljö för översättning",
|
||||
"menuRich": "<strong>Byt språk</strong> + Visa version + Avinstallera"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user