mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-09-29 18:16:43 +00:00
feat(oci): show a single Verified status for tested applications
This commit is contained in:
@@ -5775,7 +5775,6 @@
|
||||
"Test runs on the drive hardware — safe to close this terminal.": "Testläufe auf der Laufwerkshardware – dieses Terminal kann sicher geschlossen werden.",
|
||||
"Test share visibility:": "Testen Sie die Sichtbarkeit der Freigabe:",
|
||||
"Test typically completes in ~2 minutes.": "Der Test ist normalerweise in ca. 2 Minuten abgeschlossen.",
|
||||
"Tested by the community": "Von der Community getestet",
|
||||
"Testing": "Testen",
|
||||
"Testing NFS connection...": "NFS-Verbindung wird getestet...",
|
||||
"Testing comprehensive guest access to server": "Testen eines umfassenden Gastzugriffs auf den Server",
|
||||
@@ -6809,7 +6808,6 @@
|
||||
"Verbose pool status": "Ausführlicher Poolstatus",
|
||||
"Verification": "Überprüfung",
|
||||
"Verified": "Geprüft",
|
||||
"Verified by ProxMenux": "Verifiziert durch ProxMenux",
|
||||
"Verify IOMMU group for PCI device": "Überprüfen Sie die IOMMU-Gruppe für das PCI-Gerät",
|
||||
"Verify Options > OS Type — currently set to:": "Optionen überprüfen > Betriebssystemtyp – derzeit eingestellt auf:",
|
||||
"Verify PVE version (must be 8.4.1 or newer):": "Überprüfen Sie die PVE-Version (muss 8.4.1 oder neuer sein):",
|
||||
|
||||
@@ -5775,7 +5775,6 @@
|
||||
"Test runs on the drive hardware — safe to close this terminal.": "Ejecuciones de prueba en el hardware de la unidad: es seguro cerrar este terminal.",
|
||||
"Test share visibility:": "Pruebe la visibilidad del recurso compartido:",
|
||||
"Test typically completes in ~2 minutes.": "La prueba normalmente se completa en aproximadamente 2 minutos.",
|
||||
"Tested by the community": "Probado por la comunidad",
|
||||
"Testing": "Pruebas",
|
||||
"Testing NFS connection...": "Probando conexión NFS...",
|
||||
"Testing comprehensive guest access to server": "Probando el acceso integral de invitados al servidor",
|
||||
@@ -6809,7 +6808,6 @@
|
||||
"Verbose pool status": "Estado detallado del grupo",
|
||||
"Verification": "Verificación",
|
||||
"Verified": "Verificado",
|
||||
"Verified by ProxMenux": "Verificado por ProxMenux",
|
||||
"Verify IOMMU group for PCI device": "Verificar el grupo IOMMU para el dispositivo PCI",
|
||||
"Verify Options > OS Type — currently set to:": "Verificar opciones > Tipo de sistema operativo: actualmente configurado en:",
|
||||
"Verify PVE version (must be 8.4.1 or newer):": "Verifique la versión de PVE (debe ser 8.4.1 o más reciente):",
|
||||
|
||||
@@ -5775,7 +5775,6 @@
|
||||
"Test runs on the drive hardware — safe to close this terminal.": "Tests effectués sur le matériel du lecteur – fermer ce terminal en toute sécurité.",
|
||||
"Test share visibility:": "Testez la visibilité des partages :",
|
||||
"Test typically completes in ~2 minutes.": "Le test se termine généralement en environ 2 minutes.",
|
||||
"Tested by the community": "Testé par la communauté",
|
||||
"Testing": "Essai",
|
||||
"Testing NFS connection...": "Test de la connexion NFS...",
|
||||
"Testing comprehensive guest access to server": "Test de l'accès invité complet au serveur",
|
||||
@@ -6808,7 +6807,6 @@
|
||||
"Verbose pool status": "État du pool détaillé",
|
||||
"Verification": "Vérification",
|
||||
"Verified": "Vérifié",
|
||||
"Verified by ProxMenux": "Vérifié par ProxMenux",
|
||||
"Verify IOMMU group for PCI device": "Vérifier le groupe IOMMU pour le périphérique PCI",
|
||||
"Verify Options > OS Type — currently set to:": "Vérifiez les options > Type de système d'exploitation – actuellement défini sur :",
|
||||
"Verify PVE version (must be 8.4.1 or newer):": "Vérifiez la version PVE (doit être 8.4.1 ou plus récente) :",
|
||||
|
||||
@@ -5775,7 +5775,6 @@
|
||||
"Test runs on the drive hardware — safe to close this terminal.": "Il test viene eseguito sull'hardware dell'unità: è sicuro chiudere questo terminale.",
|
||||
"Test share visibility:": "Testare la visibilità della condivisione:",
|
||||
"Test typically completes in ~2 minutes.": "Il test viene generalmente completato in circa 2 minuti.",
|
||||
"Tested by the community": "Testato dalla comunità",
|
||||
"Testing": "Test",
|
||||
"Testing NFS connection...": "Test della connessione NFS in corso...",
|
||||
"Testing comprehensive guest access to server": "Test dell'accesso ospite completo al server",
|
||||
@@ -6809,7 +6808,6 @@
|
||||
"Verbose pool status": "Stato del pool dettagliato",
|
||||
"Verification": "Verifica",
|
||||
"Verified": "Verificato",
|
||||
"Verified by ProxMenux": "Verificato da ProxMenux",
|
||||
"Verify IOMMU group for PCI device": "Verificare il gruppo IOMMU per il dispositivo PCI",
|
||||
"Verify Options > OS Type — currently set to:": "Verifica opzioni > Tipo sistema operativo: attualmente impostato su:",
|
||||
"Verify PVE version (must be 8.4.1 or newer):": "Verifica la versione PVE (deve essere 8.4.1 o successiva):",
|
||||
|
||||
@@ -5775,7 +5775,6 @@
|
||||
"Test runs on the drive hardware — safe to close this terminal.": "Testes executados no hardware da unidade – é seguro fechar este terminal.",
|
||||
"Test share visibility:": "Teste a visibilidade do compartilhamento:",
|
||||
"Test typically completes in ~2 minutes.": "O teste normalmente é concluído em aproximadamente 2 minutos.",
|
||||
"Tested by the community": "Testado pela comunidade",
|
||||
"Testing": "Teste",
|
||||
"Testing NFS connection...": "Testando conexão NFS...",
|
||||
"Testing comprehensive guest access to server": "Testando o acesso abrangente de convidados ao servidor",
|
||||
@@ -6809,7 +6808,6 @@
|
||||
"Verbose pool status": "Status detalhado do pool",
|
||||
"Verification": "Verificação",
|
||||
"Verified": "Verificado",
|
||||
"Verified by ProxMenux": "Verificado por ProxMenux",
|
||||
"Verify IOMMU group for PCI device": "Verifique o grupo IOMMU para dispositivo PCI",
|
||||
"Verify Options > OS Type — currently set to:": "Verifique Opções > Tipo de SO — atualmente definido como:",
|
||||
"Verify PVE version (must be 8.4.1 or newer):": "Verifique a versão do PVE (deve ser 8.4.1 ou mais recente):",
|
||||
|
||||
@@ -5775,7 +5775,6 @@
|
||||
"Test runs on the drive hardware — safe to close this terminal.": "Test beží priamo na hardvéri disku - tento terminál môžete bezpečne zatvoriť.",
|
||||
"Test share visibility:": "Otestovať viditeľnosť zdieľania:",
|
||||
"Test typically completes in ~2 minutes.": "Test sa zvyčajne dokončí približne za 2 minúty.",
|
||||
"Tested by the community": "Otestované komunitou",
|
||||
"Testing": "Testujem",
|
||||
"Testing NFS connection...": "Testujem NFS pripojenie...",
|
||||
"Testing comprehensive guest access to server": "Testujem podrobne prístup hosťa k serveru",
|
||||
@@ -6808,7 +6807,6 @@
|
||||
"Verbose pool status": "Podrobný stav poolu",
|
||||
"Verification": "Overenie",
|
||||
"Verified": "Overené",
|
||||
"Verified by ProxMenux": "Overené ProxMenux",
|
||||
"Verify IOMMU group for PCI device": "Overiť IOMMU skupinu PCI zariadenia",
|
||||
"Verify Options > OS Type — currently set to:": "Overte Options > OS Type - aktuálne nastavené na:",
|
||||
"Verify PVE version (must be 8.4.1 or newer):": "Overte verziu PVE (musí byť 8.4.1 alebo novšia):",
|
||||
|
||||
@@ -5775,7 +5775,6 @@
|
||||
"Test runs on the drive hardware — safe to close this terminal.": "Testkörningar på hårdvaran – säkert att stänga denna terminal.",
|
||||
"Test share visibility:": "Testandels synlighet:",
|
||||
"Test typically completes in ~2 minutes.": "Testet slutförs vanligtvis inom ~2 minuter.",
|
||||
"Tested by the community": "Testad av communityn",
|
||||
"Testing": "Testning",
|
||||
"Testing NFS connection...": "Testar NFS-anslutning...",
|
||||
"Testing comprehensive guest access to server": "Testar omfattande gäståtkomst till servern",
|
||||
@@ -6809,7 +6808,6 @@
|
||||
"Verbose pool status": "Utförlig poolstatus",
|
||||
"Verification": "Kontroll",
|
||||
"Verified": "Verifierad",
|
||||
"Verified by ProxMenux": "Verifierad av ProxMenux",
|
||||
"Verify IOMMU group for PCI device": "Verifiera IOMMU-gruppen för PCI-enhet",
|
||||
"Verify Options > OS Type — currently set to:": "Verifiera alternativ > OS-typ — för närvarande inställd på:",
|
||||
"Verify PVE version (must be 8.4.1 or newer):": "Verifiera PVE-version (måste vara 8.4.1 eller nyare):",
|
||||
|
||||
@@ -60,7 +60,9 @@ def publisher(item: dict[str, Any]) -> str:
|
||||
|
||||
|
||||
def is_tested(item: dict[str, Any]) -> bool:
|
||||
return item.get("template_status") == "laboratory-validated"
|
||||
"""Tested for real, in the ProxMenux lab or by the community."""
|
||||
return (item.get("template_status") == "laboratory-validated"
|
||||
or bool((item.get("community_tested") or {}).get("by")))
|
||||
|
||||
|
||||
MENU_SIZE = (22, 75, 15)
|
||||
@@ -168,12 +170,8 @@ def _app_detail_text(catalog: Catalog, item: dict[str, Any], template: dict[str,
|
||||
|
||||
row(translate("Source"), publisher(item))
|
||||
# Only a real test is shown; OCI manager Apps is labelled beta as a whole.
|
||||
community = item.get("community_tested") or {}
|
||||
if is_tested(item):
|
||||
row(translate("Status"), translate("Verified by ProxMenux"))
|
||||
elif community.get("by"):
|
||||
who = " · ".join(part for part in (f"@{community['by']}", community.get("date")) if part)
|
||||
row(translate("Status"), f"{translate('Tested by the community')} ({who})")
|
||||
row(translate("Status"), translate("Verified"))
|
||||
row(translate("Architectures"), _display_architectures(ui))
|
||||
endpoints = template.get("first_run", {}).get("endpoints", [])
|
||||
if endpoints:
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"p": "Selecting an application shows its description, the image it runs and two installation modes: <strong>Install with default settings</strong>, which asks almost nothing, and <strong>Install with advanced settings</strong>, which offers the real storage, bridge and resource selectors of the node."
|
||||
},
|
||||
{
|
||||
"p": "An application that has been tested for real shows it in that view: <strong>Verified by ProxMenux</strong> when it was tested in the ProxMenux lab, marked with ✓ in the lists, or <strong>Tested by the community</strong>, with who tested it and when."
|
||||
"p": "An application that has been tested for real shows <strong>Verified</strong> in that view and is marked with ✓ in the lists, whether it was tested in the ProxMenux lab or by the community."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
"p": "Al seleccionar una aplicación se muestra su descripción, la imagen que ejecuta y dos modos de instalación: <strong>Instalar con la configuración predeterminada</strong>, que apenas hace preguntas, e <strong>Instalar con la configuración avanzada</strong>, que ofrece los selectores reales de almacenamiento, bridge y recursos del nodo."
|
||||
},
|
||||
{
|
||||
"p": "Una aplicación probada en real lo indica en esa vista: <strong>Verificado por ProxMenux</strong> si se probó en el laboratorio de ProxMenux, marcada con ✓ en las listas, o <strong>Probado por la comunidad</strong>, con quién la probó y cuándo."
|
||||
"p": "Una aplicación probada en real muestra <strong>Verificado</strong> en esa vista y aparece marcada con ✓ en las listas, tanto si se probó en el laboratorio de ProxMenux como si la probó la comunidad."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user