Kaynağa Gözat

ENFORCE GUIDELINES: Build shared reusable localized renderer module with plain/md/html renderers over a pure-data report model — all three renderers resolve fluent messages via t! with any new keys added to both locales/en and locales/ru; scope wiring to health now, do not retrofit doctor/tmux status | decisions (explicit user choices — these OVERRIDE the spec doc wherever they conflict; follow them exactly): all three renderers (plain/md/html) resolve fluent messages via t! from a pure-data report model, with any new message keys added to both locales/en and locales/ru; health only — build the md/html renderer as a shared reusable module and wire --format into sm121 health now, do not retrofit doctor/tmux status in this series (TASK_0002)

Alexander Korolev 1 ay önce
ebeveyn
işleme
453ee960c8

+ 18 - 0
locales/de/main.ftl

@@ -186,3 +186,21 @@ venv-creating = venv nicht gefunden auf { $name } — erstelle...
 venv-created = ✓ venv erfolgreich erstellt auf { $name }
 venv-prepare-failed = Venv-Vorbereitung: Knoten { $name } fehlgeschlagen: { $error }
 venv-not-created = venv wurde nicht erfolgreich auf { $name } erstellt — Setup-Befehle wurden ausgeführt, aber das activate-Skript fehlt
+
+# health render module (plain/md/html)
+health-nodes-count = { $nodes } { $nodes ->
+        [one] Knoten
+       *[other] Knoten
+    }
+health-col-node = Knoten
+health-col-address = Adresse
+health-col-status = Status
+health-col-containers = Container
+health-col-container = Container
+health-col-image = Image
+health-col-recipe = Rezept
+health-col-cluster = Cluster
+health-col-nodes = Knoten
+health-status-online = ● online
+health-status-offline = ✗ offline
+health-container-line =     { $name }  { $status }  { $image }

+ 1 - 1
locales/en/main.ftl

@@ -187,7 +187,7 @@ composed-dir-built = Built composed model dir '{ $host }' on '{ $node }' ({ $sou
        *[other] files
     })
 
-# health render module (plain/md/html) — new keys; es/it/fr/de fall back to en
+# health render module (plain/md/html)
 health-nodes-count = { $nodes } { $nodes ->
         [one] node
        *[other] nodes

+ 18 - 0
locales/es/main.ftl

@@ -186,3 +186,21 @@ venv-creating = venv no encontrado en { $name } — creando...
 venv-created = ✓ venv creado correctamente en { $name }
 venv-prepare-failed = preparación venv: nodo { $name } falló: { $error }
 venv-not-created = venv no se creó correctamente en { $name } — los comandos de configuración se ejecutaron pero falta el script activate
+
+# health render module (plain/md/html)
+health-nodes-count = { $nodes } { $nodes ->
+        [one] nodo
+       *[other] nodos
+    }
+health-col-node = Nodo
+health-col-address = Dirección
+health-col-status = Estado
+health-col-containers = Contenedores
+health-col-container = Contenedor
+health-col-image = Imagen
+health-col-recipe = Receta
+health-col-cluster = Cluster
+health-col-nodes = Nodos
+health-status-online = ● en línea
+health-status-offline = ✗ fuera de línea
+health-container-line =     { $name }  { $status }  { $image }

+ 18 - 0
locales/fr/main.ftl

@@ -186,3 +186,21 @@ venv-creating = venv non trouvé sur { $name } — création...
 venv-created = ✓ venv créé avec succès sur { $name }
 venv-prepare-failed = préparation venv : nœud { $name } échec : { $error }
 venv-not-created = venv n'a pas été créé avec succès sur { $name } — les commandes de configuration ont été exécutées mais le script activate est manquant
+
+# health render module (plain/md/html)
+health-nodes-count = { $nodes } { $nodes ->
+        [one] nœud
+       *[other] nœuds
+    }
+health-col-node = Nœud
+health-col-address = Adresse
+health-col-status = Statut
+health-col-containers = Conteneurs
+health-col-container = Conteneur
+health-col-image = Image
+health-col-recipe = Recette
+health-col-cluster = Cluster
+health-col-nodes = Nœuds
+health-status-online = ● en ligne
+health-status-offline = ✗ hors ligne
+health-container-line =     { $name }  { $status }  { $image }

+ 18 - 0
locales/it/main.ftl

@@ -186,3 +186,21 @@ venv-creating = venv non trovato su { $name } — creazione...
 venv-created = ✓ venv creato con successo su { $name }
 venv-prepare-failed = preparazione venv: nodo { $name } fallito: { $error }
 venv-not-created = venv non creato correttamente su { $name } — i comandi di configurazione sono stati eseguiti ma manca lo script activate
+
+# health render module (plain/md/html)
+health-nodes-count = { $nodes } { $nodes ->
+        [one] nodo
+       *[other] nodi
+    }
+health-col-node = Nodo
+health-col-address = Indirizzo
+health-col-status = Stato
+health-col-containers = Container
+health-col-container = Container
+health-col-image = Immagine
+health-col-recipe = Ricetta
+health-col-cluster = Cluster
+health-col-nodes = Nodi
+health-status-online = ● online
+health-status-offline = ✗ offline
+health-container-line =     { $name }  { $status }  { $image }

+ 1 - 1
locales/ru/main.ftl

@@ -197,7 +197,7 @@ venv-created = ✓ venv успешно создан на { $name }
 venv-prepare-failed = подготовка venv: узел { $name } завершился с ошибкой: { $error }
 venv-not-created = venv не был создан успешно на { $name } — команды настройки выполнились, но скрипт activate отсутствует
 
-# health render module (plain/md/html) — new keys; es/it/fr/de fall back to en
+# health render module (plain/md/html)
 health-nodes-count = { $nodes } { $nodes ->
         [one] узел
         [few] узла