main.ftl 17 KB

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