main.ftl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. cluster-not-found = Cluster "{ $name }" not found
  2. nccl-config-missing = NCCL config not found
  3. cluster-auto-fail = No suitable cluster found
  4. cluster-selected = ✅ Auto-selected cluster: { $name } ({ $nodes } { $nodes ->
  5. [one] node
  6. *[other] nodes
  7. })
  8. container-log-header = 📜 Latest container logs:
  9. cluster-stopping = 🛑 Stopping cluster '{ $name }'...
  10. cluster-all-stopped = ✅ All containers stopped.
  11. cluster-section = === Cluster: { $name } ===
  12. doctor-header = 🩺 Doctor: { $name } ({ $engine }) [backend: { $backend }]
  13. doctor-node-section = --- { $name } ---
  14. doctor-all-passed = ✅ All checks passed!
  15. doctor-checks-failed = ⚠ Some checks failed. Run with --repair to auto-fix.
  16. doctor-repairing = 🔧 Repairing image...
  17. doctor-repaired = ✅ Repaired image: { $tag }
  18. doctor-dry-build = (dry-run) Would build { $tag } on { $node }
  19. logs-follow-head = 📜 Following logs for '{ $name }' (head node)...
  20. logs-section = --- { $name } ---
  21. health-cluster-header = === { $name } === { $nodes } { $nodes ->
  22. [one] node
  23. *[other] nodes
  24. }
  25. health-switch-off = 🚫 switch off
  26. health-interface-down = 🌐 interface down
  27. health-all-online = ✅ all online
  28. health-partial-online = ({ $online } online, { $offline } offline)
  29. health-node-online-cluster-down = ◍ { $name } ({ $ip }){ $net } — online (cluster offline)
  30. health-free-count = — { $free } free
  31. health-cluster-down = ⏻ cluster offline
  32. health-soft-off = ⚙ { $list } off (non-blocking)
  33. health-net-status = [net: { $details }]
  34. health-no-containers = (no containers)
  35. health-no-containers-inline = , no containers
  36. exec-header = ⚡ exec: { $cmd } ({ $nodes } { $nodes ->
  37. [one] node
  38. *[other] nodes
  39. })
  40. exec-section = --- { $name } ---
  41. exec-failed = ✗ { $name } :: { $cmd } :: { $error }
  42. exec-completed-errors = exec completed with errors (some nodes reported failures)
  43. power-off-dryrun = dry-run: skipping actual shutdown + HA call
  44. power-off-mikrotik-skip = { $entity } is a RouterOS API device ({ $address }) — HA skipped
  45. power-off-mikrotik-would = would: RouterOS /system/shutdown { $name } ({ $address })
  46. power-off-mikrotik-failed = { $name }: RouterOS shutdown failed ({ $error })
  47. power-on-mikrotik-manual = { $name }: RouterOS device — no remote power-on; power it on manually
  48. power-on-mikrotik-manual-would = would: power on { $name } manually (RouterOS has no remote on)
  49. power-off-mikrotik-relay = { $name }: relay { $relay } switched off (power cut)
  50. power-off-mikrotik-relay-would = would: turn off relay { $relay } (cuts power to { $name })
  51. power-off-mikrotik-relay-failed = { $name }: could not switch off relay { $relay } ({ $error }) — verify the outlet is de-energized
  52. power-on-mikrotik-relay-would = would: turn on relay { $relay} (powers on { $name})
  53. power-off-would = would: { $action } { $target }
  54. power-off-shutdown-failed = ✗ { $name } :: { $cmd } :: { $error }
  55. power-off-waiting = ⏳ waiting { $secs }s for nodes to settle
  56. power-off-no-ha = no [home_assistant] config; OS shutdown was performed above
  57. power-off-ssh-failures = some nodes reported SSH failures during shutdown
  58. power-on-dryrun = dry-run: skipping actual HA call
  59. power-on-would-on = would: HA turn_on { $entity }
  60. power-on-would-skip = would skip: { $name } (no entity)
  61. power-on-head = 💡 power on: { $nodes } node(s)
  62. ha-invalid-entity = { $name }: invalid entity '{ $entity }': { $error }
  63. ha-call-failed = HA { $service } { $entity }: { $error }
  64. ha-skip-no-entity = ⚠ { $name }: no `entity` configured, skipping HA
  65. ha-extra-failed = HA { $service } { $extra } ({ $label }): { $error }
  66. power-switch-would-off = would: HA turn_off { $entity }
  67. power-switch-would-off-extra = would: HA turn_off { $extra } (from extras)
  68. power-switch-would-on = would: HA turn_on { $entity }
  69. power-switch-would-on-extra = would: HA turn_on { $extra } (to extras)
  70. power-switch-shutdown-failed = ✗ { $name } shutdown: { $error }
  71. power-switch-waiting = ⏳ waiting { $secs }s for shutdown
  72. power-switch-no-ha = no [home_assistant] config; OS shutdown was performed
  73. power-off-entity-would = would: HA turn_off { $entity }
  74. pre-serve-skip = ⏭ Skipping pre-serve hooks (--skip-before-serve)
  75. pre-serve-failed = pre-serve: node { $name } failed: { $error }
  76. pre-serve-run = { $node } ({ $tag }) :: { $cmd }
  77. pre-serve-ignored = ⚠ { $cmd } ignored: { $error }
  78. host-key-header = Discovered host keys:
  79. host-key-line = { $name } ({ $ip }) -> host_key = { $key }
  80. host-key-error = { $name } ({ $ip }) -> error: { $error }
  81. host-key-no-match = (no nodes matched)
  82. recipe-starting = 🚀 Starting recipe: { $name } ({ $engine }) [backend: { $backend }]
  83. cluster-switch-off-detected = ⚠️ Cluster switch appears to be off
  84. cluster-switch-powered-on = ✅ Cluster switch powered on
  85. cluster-waiting-for-nodes = ⏳ Waiting for nodes to become available...
  86. cluster-nodes-available = ✅ All nodes are now available
  87. cluster-nodes-not-available-timeout = ❌ Timeout waiting for nodes to become available
  88. logs-header = 📜 Logs for cluster '{ $name }' ({ $count } nodes)
  89. engine-started = ✅ { $engine } started on { $name } (rank { $rank })
  90. engine-start-failed = Failed to start { $engine } on { $name } (rank { $rank }): { $error }
  91. cluster-started = 🎉 Cluster started! API → http://{ $ip }:{ $port }
  92. exec-both-specified = Specify either --cluster or --recipe, not both
  93. exec-missing = Must specify either --cluster or --recipe
  94. exec-node-not-found = Node '{ $name }' not found in cluster '{ $cluster }'
  95. exec-cluster-empty = Cluster '{ $name }' has no nodes
  96. exec-cannot-use-alias = Cannot use --alias together with a trailing command
  97. exec-must-specify = Must specify either --alias <name> or a command after `--`
  98. exec-unknown-alias-empty = Unknown alias @{ $name } (no aliases configured)
  99. exec-unknown-alias-list = Unknown alias @{ $name }; known aliases: { $aliases }
  100. mods-uploading = 📤 Uploading mods to { $node }...
  101. mods-uploaded = ✅ Mods uploaded to { $node }
  102. mods-entrypoint-required = Recipe '{ $name }' has mods but no entrypoint; entrypoint is required when mods are present
  103. after-stop-failed = after_stop: node { $name } failed: { $error }
  104. after-stop-run = { $node } ({ $tag }) :: { $cmd }
  105. after-stop-ignored = ⚠ { $cmd } ignored: { $error }
  106. solo-node-selected = 🎯 Solo: selected node { $name } in cluster { $cluster }
  107. # --- Strings that previously bypassed the i18n system (hardcoded) ---
  108. boot-wait = ⏳ Waiting { $secs }s for nodes to boot...
  109. doctor-found-repaired = 🩺 Found repaired image: { $tag }
  110. tmux-waiting-head = ⏳ Waiting for head node to be ready...
  111. tmux-head-ready = ✅ Head node ready. Starting worker nodes...
  112. tmux-head-api-ready = Head node API ready (attempt { $attempt })
  113. tmux-session-started = ✅ Session started on { $name }
  114. tmux-stopped = ✅ Stopped '{ $sess }' on { $name }
  115. tmux-all-stopped = ✅ All tmux sessions stopped.
  116. tmux-all-ok = ✅ ALL OK
  117. tmux-issues = ⚠️ { $issues }
  118. tmux-cluster-healthy = ✅ Cluster is healthy!
  119. tmux-node-section = --- { $name } ({ $sess }) ---
  120. tmux-node-no-output = --- { $name } — no output ---
  121. tmux-session-created = ✅ tmux session created on { $name }
  122. tmux-no-pty = (russh does not support interactive PTY. Use the following command directly:)
  123. sync-digest-match = '{ $name }' OK (digest matches)
  124. sync-syncing = { $name } ({ $ip }): syncing...
  125. sync-synced = { $name } OK
  126. sync-fabric-fallback = { $name }: 200G fabric hop failed ({ $err }) — falling back to 10G mgmt; fix node-to-node ssh over the fabric NICs (authorized_keys / host keys for the 200.x addresses)
  127. health-node-offline = ✗ { $name } ({ $ip }) — offline
  128. health-node-idle = ○ { $name } ({ $ip }){ $net }
  129. health-node-online = ● { $name } ({ $ip }){ $net }
  130. health-container-count = , { $count } { $count ->
  131. [one] container
  132. *[other] containers
  133. }
  134. power-off-head = 🛑 power off: { $nodes } node(s) — sudo shutdown now
  135. power-switch-head = 🔌 switch: { $from } → { $to } ({ $nodes } node(s) + { $entities } entity(ies) to disable)
  136. power-switch-powering-on = 💡 switch: powering on { $nodes } node(s) + { $entities } entity(ies) to { $to }
  137. health-task-join = task join: { $error }
  138. health-no-recipes = No sm121 containers running.
  139. health-running-recipes = Running recipes:
  140. health-recipe-line = { $recipe } — { $nodes } { $nodes ->
  141. [one] node
  142. *[other] nodes
  143. }: { $list }
  144. tmux-ray-backend = 🐍 Ray backend detected — starting head node first...
  145. tmux-mp-backend = 🔗 MP backend detected — starting all nodes in parallel...
  146. tmux-following-logs = 📜 Following logs from '{ $sess }' on { $name }...
  147. tmux-deploy-ignored-opts = ⚠️ tmux deploy: ignoring Docker-only CLI opts: { $opts }
  148. tmux-mods-unsupported = Recipe '{ $name }' uses [mods], which is Docker-only. tmux deployment does not support mods.
  149. tmux-composed-model-unsupported = Recipe '{ $name }' uses [composed_model], which is Docker-only. tmux deployment does not support composed model directories.
  150. tmux-health-section = Tmux:
  151. tmux-health-entry-running = { $recipe } — { $node }: running (API: { $api })
  152. tmux-health-entry-degraded = { $recipe } — { $node }: degraded (session exists, process dead)
  153. tmux-health-all-stopped = { $count ->
  154. [one] { $count } tmux recipe configured, all stopped
  155. *[other] { $count } tmux recipes configured, all stopped
  156. }
  157. tmux-api-ok = 200
  158. tmux-api-down = down
  159. venv-preparing = 🔧 Preparing venv: { $venv }
  160. venv-exists = ✓ venv already exists on { $name }
  161. venv-creating = venv not found on { $name } — creating...
  162. venv-created = ✓ venv created successfully on { $name }
  163. venv-not-created = venv was not created successfully on { $name } — setup commands ran but activate script is missing
  164. composed-dir-dry-run = [dry-run] would build composed model dir '{ $host }' on '{ $node }' (mount: { $mount }, { $sources } { $sources ->
  165. [one] source
  166. *[other] sources
  167. }, { $files } { $files ->
  168. [one] file
  169. *[other] files
  170. }, { $local } { $local ->
  171. [one] local file
  172. *[other] local files
  173. })
  174. composed-dir-built = Built composed model dir '{ $host }' on '{ $node }' ({ $sources } { $sources ->
  175. [one] source
  176. *[other] sources
  177. }, { $files } { $files ->
  178. [one] file
  179. *[other] files
  180. }, { $local } { $local ->
  181. [one] local file
  182. *[other] local files
  183. })
  184. # health render module (plain/md/html)
  185. health-nodes-count = { $nodes } { $nodes ->
  186. [one] node
  187. *[other] nodes
  188. }
  189. health-col-node = Node
  190. health-col-address = Address
  191. health-col-status = Status
  192. health-col-containers = Containers
  193. health-col-container = Container
  194. health-col-image = Image
  195. health-col-recipe = Recipe
  196. health-col-cluster = Cluster
  197. health-col-nodes = Nodes
  198. health-status-online = ● online
  199. health-status-offline = ✗ offline
  200. health-container-line = { $name } { $status } { $image }
  201. # sm121 report
  202. report-title = Tested recipes ({ $count })
  203. report-serving = Interactive recipe report: { $url } (live updates; Ctrl-C to stop)
  204. report-col-model = Model
  205. report-col-quant = Quant
  206. report-col-recipe = Recipe
  207. report-col-prov = Provenance
  208. report-col-engine = Engine
  209. report-col-nodes = Nodes×TP
  210. report-col-reports = Reports
  211. report-col-last = Last bench
  212. report-col-points = Points
  213. report-col-score = Score /100
  214. report-col-tps1 = Tok/s c1
  215. report-col-tps2 = Tok/s c2
  216. stop-not-verified = Containers not verified stopped on: { $nodes }
  217. report-col-up = Up
  218. report-col-launches = Launches
  219. dry-run-would-push = [dry-run] would push { $ref } (and refresh { $latest }) after the build
  220. push-mapping-failed = cannot map [registry].base { $base } to a push ref for { $image }
  221. pushing-image = Pushing image to { $ref } (tmux: { $session })...
  222. push-timeout = Push of { $ref } on { $node } timed out after { $elapsed } — inspect tmux session { $session } / log { $log } on the node.
  223. push-failed = Push of { $ref } on { $node } failed after { $elapsed }.\n{ $log }\nHint: if the log says unauthorized/denied — run `docker login { $host }` on { $node } (the launcher stores no registry credentials).
  224. pushed-image = Pushed { $ref } and refreshed { $latest } ({ $elapsed })
  225. push-running = Push running for { $elapsed }...
  226. push-already-published = { $ref } already published ({ $label}): unchanged image digest — skipping, use --force to re-publish
  227. power-on-on = { $name }: turned on
  228. power-on-cycled = { $name }: plug was on, node down — power cycled
  229. power-on-was-on = { $name }: plug already on (node up?) — left as is
  230. power-on-skip = { $name }: no HA entity — skipped
  231. power-on-failed = { $name }: HA call failed: { $error }
  232. power-on-cycling = ⟳ { $name }: plug reads on but the node is down — cycling { $entity }
  233. power-on-off-wait-timeout = { $name }: plug did not report off within 10 s (relay may have stuck)
  234. # --- recipe repos (src/recipe_repos.rs) ---
  235. git-failed = git { $cmd } failed: { $err }
  236. recipe-repo-archived-skip = recipe repo archived — skipping: { $url }
  237. recipe-repo-synced = recipe repo synced: { $url } → { $dir }
  238. recipe-repo-unreachable = recipe repo '{ $url }' unreachable — skipping ({ $err }); continuing with the reachable repos
  239. repos-registry-corrupt = repos registry '{ $path }' is corrupt ({ $err }) — moving it to '{ $bak }' and starting fresh
  240. repos-registry-backup-failed = could not back up corrupt registry { $path }
  241. repos-none-configured = no [[recipe_repos]] configured
  242. repos-col-repo = repo
  243. repos-col-state = state
  244. repos-col-last = last sync
  245. repos-col-count = recipes
  246. repos-state-archived = archived
  247. repos-state-synced = synced
  248. repos-state-not-cloned = not cloned
  249. repos-sync-dry-reclone = [dry-run] would re-clone recipe repo { $url } → { $dir }
  250. repos-sync-dry-sync = [dry-run] would clone/pull recipe repo { $url } → { $dir }
  251. repos-none-synced = no recipe repos synced (all unreachable or archived)
  252. archive-config-dir-fail = cannot determine the global config dir (dirs::config_dir)
  253. archive-dry-archive = [dry-run] would archive '{ $url }' in { $path }
  254. archive-dry-unarchive = [dry-run] would unarchive '{ $url }' in { $path }
  255. archive-done = archived '{ $url }' in { $path }
  256. unarchive-done = unarchived '{ $url }' in { $path }
  257. # --- promote (src/promote.rs) ---
  258. promote-repo-not-configured = repo '{ $url }' is not a configured [[recipe_repos]] entry — add it to the config (the promote needs its token for the push)
  259. promote-checkout-missing = repo '{ $url }' is not synced — run `sm121 repos sync` (dry-run: no git I/O)
  260. promote-checkout-sync-fail = repo '{ $url }' is not synced — sync it first (sm121 repos sync)
  261. promote-detached-head = checkout { $path } is in detached HEAD — check out a branch first
  262. promote-same-repo = --from and --to must be different repos
  263. promote-recipe-not-in-source = recipe '{ $recipe }' not found in the source repo's checkout ({ $path }) — is the checkout current? (sm121 repos sync)
  264. promote-recipe-in-target = recipe '{ $recipe }' already exists in the target repo — refusing to overwrite (remove it there first)
  265. promote-cp-failed = cp failed: { $err }
  266. promote-cp-context = running cp
  267. promote-target-dir-context = target recipes/ dir
  268. promote-run-start = promoting '{ $recipe }' from { $from } to { $to } ({ $count } { $count ->
  269. [one] step
  270. *[other] steps
  271. })
  272. promote-source-checkout = source checkout: { $path }
  273. promote-target-checkout = target checkout: { $path }
  274. promote-step-line = [{ $side }] { $description }
  275. promote-done = promoted '{ $recipe }' — the target now has it; the next sync of both repos keeps the move
  276. promote-dry-head = [dry-run] promote '{ $recipe }' from { $from } to { $to }:
  277. promote-dry-suppressed = (suppressed: -d dry-run wins over --apply)
  278. promote-run-apply-hint = re-run with --apply to execute
  279. # --- registry image source (src/docker/registry_pull.rs) ---
  280. registry-needs-registry = --image-source registry requires a [registry] section in the config
  281. registry-ref-map-fail = cannot map image '{ $image }' to a registry ref under base '{ $base }' (the image name must be a bare <name>[:tag])
  282. registry-pull-context = registry pull on '{ $node }'
  283. registry-present = registry image '{ $image }' already present on '{ $node }' (checksum label matches)
  284. registry-pulled = pulled '{ $ref }' → '{ $image }' on '{ $node }' (checksum label verified)
  285. registry-dry-run = [dry-run] --image-source registry: pull { $ref } → tag '{ $image }' on { $count } { $count ->
  286. [one] node
  287. *[other] nodes
  288. } (checksum { $checksum }…)
  289. registry-tag-not-found = { $node }: tag '{ $ref }' not found in the registry — build + push it first (sm121 build --recipe { $recipe } --build-node <node>), or fall back to --image-source repo
  290. registry-tag-failed = { $node }: docker tag failed after the pull
  291. registry-label-mismatch = { $node }: the pulled image's sm121.checksum label is '{ $got }', expected '{ $checksum }' — the registry tag does not carry this build
  292. registry-output-unparseable = { $node }: unparseable pull output: { $out }
  293. registry-pull-failed = --image-source registry failed on: { $failed }
  294. # --- drop_caches hook (src/docker/mod.rs) ---
  295. drop-caches-start = Dropping page cache on all nodes...
  296. drop-caches-failed = drop_caches on { $node } failed: { $err }