Improve LXC updater selection, error handling and dashboard consistency

This commit is contained in:
MacRimi
2026-09-05 16:10:31 +02:00
parent 4f38d0e2e7
commit 6644b62f63
33 changed files with 5660 additions and 660 deletions
+171 -2
View File
@@ -45,7 +45,8 @@
"profile": "Perfil",
"node": "Nó",
"admin": "Administrador",
"menu": "Menu de navegação"
"menu": "Menu de navegação",
"audit": "Auditoria e relatórios"
},
"status": {
"healthy": "Saudável",
@@ -72,6 +73,8 @@
"networkErrorWhileSaving": "Erro de rede ao salvar"
},
"overview": {
"metricsTimeout": "A consulta de métricas excedeu 30 segundos. O ProxMenux tentará novamente automaticamente.",
"metricsCachedWarning": "Não foi possível atualizar as métricas. São apresentados os dados obtidos em {time}.",
"loadingTitle": "Carregando visão geral do sistema...",
"loadingDescription": "Buscando status e métricas do sistema",
"topProcessesCpu": "Veja os principais processos por CPU",
@@ -1217,7 +1220,15 @@
"humanWeekly": "Semanal ({day} {time})",
"humanMonthly": "Mensalmente (dia {day} às {time})",
"humanHourly": "de hora em hora",
"weekdays": ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"]
"weekdays": [
"Domingo",
"Segunda-feira",
"Terça-feira",
"Quarta-feira",
"Quinta-feira",
"Sexta-feira",
"Sábado"
]
},
"cronChip": {
"detected": "cron do host detectado",
@@ -1244,6 +1255,35 @@
"osStatusUnavailable": "Não foi possível determinar o estado das atualizações do sistema operativo.",
"installedByHelperPrefix": "Instalado por",
"helperScriptsName": "Proxmox VE Helper-Scripts",
"helperCommandEditHint": "Se modificar este comando de arranque, será guardado como comando personalizado.",
"customOnlineDescription": "Ou utilize um script online fornecido pelo programador:",
"customOnlineExampleNote": "Substitua o URL de exemplo pelo do script oficial da sua aplicação.",
"customExamplesHeading": "Exemplos para adaptar:",
"updaterChoiceHint": "Escolha e guarde um método de atualização.",
"updaterMethodLabel": "Método de atualização",
"helperMethod": "Helper-Scripts",
"customMethod": "Comando personalizado",
"helperMethodHelp": "Sobre Helper-Scripts",
"customMethodHelp": "Sobre comandos personalizados",
"helperDetectedChoice": "Foi detetado um atualizador Helper-Scripts para esta aplicação.",
"helperUnavailableChoice": "O atualizador Helper-Scripts selecionado já não está disponível.",
"disableUpdater": "Desativar",
"disableUpdaterConfirm": "Desativar o método de atualização de {name}? Os planos e agendamentos manterão as seleções, mas esta aplicação não será executada até configurar novamente um método.",
"noUpdaterSelected": "Não selecionou um método de atualização.",
"helperMethodDescription": "O ProxMenux executa o atualizador detetado dentro deste LXC e mostra o registo e o resultado. Este é mantido pelo Proxmox VE Helper-Scripts.",
"customMethodDescription": "Pode utilizar o atualizador da aplicação, um gestor de pacotes ou um novo binário. O comando é executado dentro deste LXC com privilégios de administrador.",
"updaterInstructions": "Consulte as instruções do atualizador.",
"helperDocumentation": "Documentação de atualização",
"helperSource": "Script da aplicação",
"customMethodExample": "Adapte os nomes, os caminhos e o serviço à sua aplicação. Só será executado o comando que guardar.",
"helperCommandLabel": "Comando dentro do LXC",
"helperCommandFallback": "Se o wget não estiver disponível, o ProxMenux utiliza curl -fsSL para transferir o mesmo script.",
"customScriptTitle": "Script de atualização",
"customScriptDescription": "Execute um script de atualização da aplicação já existente no LXC.",
"customPackageTitle": "Pacote Debian/Ubuntu",
"customPackageDescription": "Substitua my-package pelo pacote que pretende atualizar.",
"customBinaryTitle": "Binário",
"customBinaryDescription": "Primeiro transfira e verifique o binário oficial da versão e arquitetura corretas em /tmp/my-app.new. Este exemplo conserva uma cópia do binário anterior e reinicia o respetivo serviço.",
"helperUpdatesRun": "Instalado pelo Proxmox Helper-Scripts.",
"installedPrefix": "instalado",
"upstreamAvailable": "versão {version} disponível",
@@ -4868,5 +4908,134 @@
"customLinkDelete": "Delete",
"customLinkSaveError": "Save failed",
"customLinkDeleteError": "Delete failed"
},
"audit": {
"title": "Audit & Report",
"loading": "Loading assessment…",
"run": "Run assessment",
"running": "Assessing…",
"neverRun": "This host has not been assessed yet.",
"lastRun": "Last assessed on {when}",
"stale": "{days} days ago",
"readOnlyNotice": "The assessment only reads the host. It makes no changes.",
"noFindings": "No findings match the current filter.",
"showPassing": "Show passing checks",
"hidePassing": "Hide passing checks",
"affectedCount": "{count} affected",
"acceptedNotice": "{count} accepted risk(s) recorded on this host.",
"states": {
"fail": "Failed",
"warn": "Warning",
"accepted": "Accepted risk",
"pass": "Passed",
"not_applicable": "Not applicable"
},
"areas": {
"all": "All",
"system": "System",
"storage": "Storage",
"network": "Network",
"security": "Security",
"backup": "Backup",
"guests": "Guests",
"hardware": "Hardware"
},
"detail": {
"why": "Context",
"evidence": "Evidence",
"affected": "Affected",
"acceptedRisk": "Accepted risk"
},
"errors": {
"runFailed": "The assessment could not be started."
},
"checks": {
"backup": {
"guest_coverage": {
"title": "Backup coverage",
"rationale": "Compares the guest inventory against what each backup job selects. A job selects by VMID list, by pool, or with `all 1`, minus its `exclude` list. Jobs carrying `enabled 0` are not considered.",
"summary": {
"noJobs": "No backup job is defined on this node",
"covered": "All {total} guests are covered by a backup job",
"uncovered": "{count} of {total} guests are not covered by any enabled backup job"
}
}
},
"system": {
"pending_reboot": {
"title": "Restart state",
"rationale": "Checks for `/var/run/reboot-required` and, when present, the packages listed in `/var/run/reboot-required.pkgs`. Also reports the running kernel.",
"summary": {
"none": "No restart is pending",
"pending": "The host has a pending restart"
}
},
"enterprise_repo_without_subscription": {
"title": "Enterprise repository",
"rationale": "Looks for references to `enterprise.proxmox.com` in `/etc/apt/sources.list` and `sources.list.d`, and contrasts the result with the status returned by `pvesubscription get`.",
"summary": {
"notEnabled": "The enterprise repository is not enabled",
"subscribed": "The enterprise repository is backed by a subscription",
"unsubscribed": "The enterprise repository is enabled without an active subscription"
}
}
},
"guests": {
"privileged_containers": {
"title": "Container privileges",
"rationale": "Reviews each container configuration. Proxmox marks unprivileged containers with `unprivileged: 1`; its absence indicates a privileged container, which shares the host user namespace.",
"summary": {
"allUnprivileged": "All {total} containers are unprivileged",
"privileged": "{count} of {total} containers run privileged"
}
},
"qemu_without_agent": {
"title": "Guest agent on virtual machines",
"rationale": "Reviews each virtual machine configuration for `agent: 1`. The guest agent enables ordered shutdown, filesystem quiescing for snapshots and real disk usage reporting.",
"summary": {
"allHaveAgent": "All {total} virtual machines declare the guest agent",
"missingAgent": "{count} of {total} virtual machines do not declare the guest agent"
}
}
},
"security": {
"host_firewall_enabled": {
"title": "Firewall state",
"rationale": "Checks `enable: 1` in `/etc/pve/firewall/cluster.fw` and in the node's `host.fw`. Proxmox applies node rules only while the datacenter switch is on.",
"summary": {
"bothEnabled": "The firewall is enabled at datacenter and node level",
"datacenterOff": "The firewall is disabled at datacenter level, so node rules are not applied",
"nodeOff": "The firewall is enabled at datacenter level but not on this node"
}
}
},
"storage": {
"orphaned_volumes": {
"title": "Volume assignment",
"rationale": "Compares the volumes returned by `pvesm list` against the existing guest configurations. Only non-shared storage is examined: on shared storage a volume may belong to a guest running on another node.",
"summary": {
"none": "No orphaned volumes were found",
"found": "{count} volume(s) belong to no existing guest"
}
}
}
},
"summaryFallback": "The check could not be evaluated",
"acceptRisk": {
"action": "Accept risk",
"revoke": "Return to active",
"title": "Accept this risk",
"reasonLabel": "Reason",
"reasonHelp": "Required. It is recorded together with the author and the date.",
"reasonPlaceholder": "e.g. Lab containers, not covered on purpose",
"expiryLabel": "Review after",
"expiryHelp": "When the period ends the finding becomes active again.",
"expiryNever": "Does not expire",
"expiry90": "90 days",
"expiry180": "180 days",
"expiry365": "1 year",
"cancel": "Cancel",
"confirm": "Accept risk"
}
}
}