Skip to content

Commit 03ee14a

Browse files
Fix CLI localization gaps for 27.1.0 release
Add missing CLI help strings to all locales, remove orphaned emit JSON entries, and fix es-ES Error translation. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4724165 commit 03ee14a

8 files changed

Lines changed: 257 additions & 185 deletions

File tree

src/moldflow/locale/de-DE/LC_MESSAGES/locale.de-DE.po

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ msgstr ""
33
"Content-Type: text/plain; charset=UTF-8\n"
44
"Language: de-DE\n"
55

6+
msgid "\nDid you mean step '{step_name}'?"
7+
msgstr "\nMeinten Sie den Schritt '{step_name}'?"
8+
9+
msgid "\nFor JSON input on multi-step targets, group parameters by step name, e.g. {example}"
10+
msgstr "\nBei JSON-Eingaben für mehrstufige Ziele gruppieren Sie Parameter nach Schrittnamen, z. B. {example}"
11+
12+
msgid "\nFor JSON input, this step key must map to an object of parameter names, e.g. {example}"
13+
msgstr "\nBei JSON-Eingaben muss dieser Schritt-Schlüssel einem Objekt mit Parameternamen zugeordnet sein, z. B. {example}"
14+
615
msgid " Did you mean '{parameter}'?"
716
msgstr " Meinten Sie '{parameter}'?"
817

@@ -192,6 +201,12 @@ msgstr "Bildschirm löschen"
192201
msgid "Clears the terminal screen and redraws the banner."
193202
msgstr "Löscht den Terminalbildschirm und zeichnet das Banner neu."
194203

204+
msgid "Close Synergy and reset the session"
205+
msgstr "Synergy schließen und Sitzung zurücksetzen"
206+
207+
msgid "Closes Synergy and resets the session for a fresh start."
208+
msgstr "Schließt Synergy und setzt die Sitzung zurück, um einen Neustart zu ermöglichen."
209+
195210
msgid "Command exited with status {code}"
196211
msgstr "Befehl wurde mit Status {code} beendet"
197212

@@ -213,6 +228,9 @@ msgstr "Details"
213228
msgid "Direct parameter assignment remains the preferred non-JSON form."
214229
msgstr "Die direkte Parameterzuweisung bleibt die bevorzugte Nicht-JSON-Form."
215230

231+
msgid "Disable ANSI color/styling in CLI output."
232+
msgstr "ANSI-Farben/-Formatierung in der CLI-Ausgabe deaktivieren."
233+
216234
msgid "Discover invokable targets and the next command to run for each one."
217235
msgstr "Ermittelt aufrufbare Ziele und den jeweils nächsten auszuführenden Befehl."
218236

@@ -234,6 +252,9 @@ msgstr "Probelauf für {target}"
234252
msgid "Duplicate argument path '{path}' is not allowed."
235253
msgstr "Doppelter Argumentpfad '{path}' ist nicht zulässig."
236254

255+
msgid "Duplicate/conflicting paths are rejected. Arguments are passed as key=value or param.attr=value. For chained targets, prefix the parameter with the method name, for example find_plot_by_name.plot_name=\"My Plot\". Nested routing uses step.param.attr=value (for example param=1 conflicts with param.attr=2), and methods with positional-only parameters are not supported by named CLI routing."
256+
msgstr "Doppelte/konfliktierende Pfade werden abgelehnt. Argumente werden als key=value oder param.attr=value übergeben. Für verkettete Ziele wird der Parameter mit dem Methodennamen versehen, z. B. find_plot_by_name.plot_name=\"My Plot\". Verschachteltes Routing verwendet step.param.attr=value (z. B. param=1 steht in Konflikt mit param.attr=2), und Methoden mit rein positionsbasierten Parametern werden durch benanntes CLI-Routing nicht unterstützt."
257+
237258
msgid "Emit a JSON schema-like representation of target parameters."
238259
msgstr "Gibt eine JSON-Schema-ähnliche Darstellung der Zielparameter aus."
239260

@@ -243,17 +264,11 @@ msgstr "Gibt zeilengetrennte JSON-Trace-Ereignisse für Zielauflösung und Laufz
243264
msgid "Emit structured JSON for scripting or agent use."
244265
msgstr "Gibt strukturiertes JSON für Skripte oder Agenten aus."
245266

246-
msgid "Emit structured JSON for scripting or agent use."
247-
msgstr "Gibt strukturiertes JSON für Skripte oder Agenten aus."
248-
249267
msgid "Emit structured YAML for scripting or agent use (requires PyYAML)."
250268
msgstr "Gibt strukturiertes YAML für Skripte oder Agenten aus (PyYAML erforderlich)."
251269

252-
msgid "Emit structured YAML for scripting or agent use (requires PyYAML)."
253-
msgstr "Gibt strukturiertes YAML für Skripte oder Agenten aus (PyYAML erforderlich)."
254-
255-
msgid "Emit the result as JSON to stdout (useful for automation/LLMs)."
256-
msgstr "Gibt das Ergebnis als JSON auf stdout aus (nützlich für Automatisierung/LLMs)."
270+
msgid "Emit the structured result as JSON to stdout (useful for automation/LLMs)."
271+
msgstr "Gibt das strukturierte Ergebnis als JSON auf stdout aus (nützlich für Automatisierung/LLMs)."
257272

258273
msgid "Empty target"
259274
msgstr "Leeres Ziel"
@@ -435,6 +450,9 @@ msgstr "JSON-Beispiel:"
435450
msgid "JSON object containing parameter mappings (overrides positional args). Top-level arrays and scalars are not allowed."
436451
msgstr "JSON-Objekt mit Parameterzuordnungen (überschreibt positionsbezogene Argumente). Arrays und Skalare auf oberster Ebene sind nicht zulässig."
437452

453+
msgid "JSON object containing parameter mappings (overrides positional args). Top-level arrays/scalars are not allowed."
454+
msgstr "JSON-Objekt mit Parameterzuordnungen (überschreibt positionsbezogene Argumente). Arrays und Skalare auf oberster Ebene sind nicht zulässig."
455+
438456
msgid "JSON parameters must be a JSON object of named arguments. Example: --params-json '{\"param\": 1}' or --params-json '{\"step\": {\"param\": 1}}' for chained targets."
439457
msgstr "JSON‑Parameter müssen ein JSON‑Objekt benannter Argumente sein. Beispiel: --params-json '{\"param\": 1}' oder --params-json '{\"step\": {\"param\": 1}}' für verkettete Ziele."
440458

@@ -525,9 +543,15 @@ msgstr "Analysefehler:"
525543
msgid "Parse/validate/build kwargs and emit a call plan without executing invoke steps."
526544
msgstr "Parst/validiert/erstellt kwargs und gibt einen Aufrufplan aus, ohne Invoke-Schritte auszuführen."
527545

546+
msgid "Parse/validate/build kwargs and emit a template summary call plan without executing invoke steps."
547+
msgstr "Parst/validiert/erstellt kwargs und gibt einen Vorlagen-Zusammenfassungs-Aufrufplan aus, ohne Invoke-Schritte auszuführen."
548+
528549
msgid "Path to a JSON file containing an array of invoke calls for batch execution."
529550
msgstr "Pfad zu einer JSON-Datei, die ein Array von Invoke-Aufrufen für die Batch-Ausführung enthält."
530551

552+
msgid "Path to a JSON file containing parameter mappings (overrides positional args). The top-level payload must be an object, not arrays/scalars."
553+
msgstr "Pfad zu einer JSON-Datei mit Parameterzuordnungen (überschreibt positionsbezogene Argumente). Die Nutzlast auf oberster Ebene muss ein Objekt sein."
554+
531555
msgid "Path to a JSON file containing parameter mappings (overrides positional args). The top-level payload must be an object."
532556
msgstr "Pfad zu einer JSON-Datei mit Parameterzuordnungen (überschreibt positionsbezogene Argumente). Die Nutzlast auf oberster Ebene muss ein Objekt sein."
533557

@@ -552,12 +576,6 @@ msgstr "Eigenschaft {name} (id={id}, Typ={prop_type})"
552576
msgid "Read current value:"
553577
msgstr "Aktuellen Wert lesen:"
554578

555-
msgid "Close Synergy and reset the session"
556-
msgstr "Synergy schließen und Sitzung zurücksetzen"
557-
558-
msgid "Closes Synergy and resets the session for a fresh start."
559-
msgstr "Schließt Synergy und setzt die Sitzung zurück, um einen Neustart zu ermöglichen."
560-
561579
msgid "Resolved assignment:"
562580
msgstr "Aufgelöste Zuweisung:"
563581

@@ -774,15 +792,6 @@ msgstr "Strukturierte Ausgabe wurde nach {path} geschrieben."
774792
msgid "You are already in the REPL."
775793
msgstr "Sie befinden sich bereits in der REPL."
776794

777-
msgid "\nDid you mean step '{step_name}'?"
778-
msgstr "\nMeinten Sie den Schritt '{step_name}'?"
779-
780-
msgid "\nFor JSON input on multi-step targets, group parameters by step name, e.g. {example}"
781-
msgstr "\nBei JSON-Eingaben für mehrstufige Ziele gruppieren Sie Parameter nach Schrittnamen, z. B. {example}"
782-
783-
msgid "\nFor JSON input, this step key must map to an object of parameter names, e.g. {example}"
784-
msgstr "\nBei JSON-Eingaben muss dieser Schritt-Schlüssel einem Objekt mit Parameternamen zugeordnet sein, z. B. {example}"
785-
786795
msgid "both {first} and {second} must be provided together"
787796
msgstr "Sowohl {first} als auch {second} müssen gemeinsam angegeben werden"
788797

src/moldflow/locale/es-ES/LC_MESSAGES/locale.es-ES.po

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ msgstr ""
33
"Content-Type: text/plain; charset=UTF-8\n"
44
"Language: es-ES\n"
55

6+
msgid "\nDid you mean step '{step_name}'?"
7+
msgstr "\n¿Quiso decir el paso '{step_name}'?"
8+
9+
msgid "\nFor JSON input on multi-step targets, group parameters by step name, e.g. {example}"
10+
msgstr "\nPara la entrada JSON en destinos de varios pasos, agrupe los parámetros por nombre de paso, por ejemplo {example}"
11+
12+
msgid "\nFor JSON input, this step key must map to an object of parameter names, e.g. {example}"
13+
msgstr "\nPara la entrada JSON, esta clave de paso debe corresponder a un objeto de nombres de parámetros, por ejemplo {example}"
14+
615
msgid " Did you mean '{parameter}'?"
716
msgstr " ¿Quiso decir '{parameter}'?"
817

@@ -192,6 +201,12 @@ msgstr "Limpiar la pantalla"
192201
msgid "Clears the terminal screen and redraws the banner."
193202
msgstr "Limpia la pantalla del terminal y vuelve a dibujar el banner."
194203

204+
msgid "Close Synergy and reset the session"
205+
msgstr "Cerrar Synergy y restablecer la sesión"
206+
207+
msgid "Closes Synergy and resets the session for a fresh start."
208+
msgstr "Cierra Synergy y restablece la sesión para empezar de nuevo."
209+
195210
msgid "Command exited with status {code}"
196211
msgstr "El comando finalizó con el estado {code}"
197212

@@ -213,6 +228,9 @@ msgstr "Detalle"
213228
msgid "Direct parameter assignment remains the preferred non-JSON form."
214229
msgstr "La asignación directa de parámetros sigue siendo la forma no JSON preferida."
215230

231+
msgid "Disable ANSI color/styling in CLI output."
232+
msgstr "Desactivar color/estilo ANSI en la salida de la CLI."
233+
216234
msgid "Discover invokable targets and the next command to run for each one."
217235
msgstr "Descubra los objetivos invocables y el siguiente comando que debe ejecutar para cada uno."
218236

@@ -234,6 +252,9 @@ msgstr "Simulación para {target}"
234252
msgid "Duplicate argument path '{path}' is not allowed."
235253
msgstr "No se permite la ruta de argumento duplicada '{path}'."
236254

255+
msgid "Duplicate/conflicting paths are rejected. Arguments are passed as key=value or param.attr=value. For chained targets, prefix the parameter with the method name, for example find_plot_by_name.plot_name=\"My Plot\". Nested routing uses step.param.attr=value (for example param=1 conflicts with param.attr=2), and methods with positional-only parameters are not supported by named CLI routing."
256+
msgstr "Se rechazan rutas duplicadas o en conflicto. Los argumentos se pasan como key=value o param.attr=value. Para destinos encadenados, anteponga el nombre del método al parámetro, por ejemplo find_plot_by_name.plot_name=\"My Plot\". El enrutamiento anidado usa step.param.attr=value (por ejemplo, param=1 entra en conflicto con param.attr=2), y los métodos con parámetros posicionales no son compatibles con el enrutamiento CLI con nombre."
257+
237258
msgid "Emit a JSON schema-like representation of target parameters."
238259
msgstr "Emite una representación similar a un esquema JSON de los parámetros del destino."
239260

@@ -243,17 +264,11 @@ msgstr "Emite eventos de rastreo JSON delimitados por líneas en stderr para la
243264
msgid "Emit structured JSON for scripting or agent use."
244265
msgstr "Emita JSON estructurado para scripts o uso por agentes."
245266

246-
msgid "Emit structured JSON for scripting or agent use."
247-
msgstr "Emita JSON estructurado para scripts o uso por agentes."
248-
249267
msgid "Emit structured YAML for scripting or agent use (requires PyYAML)."
250268
msgstr "Emita YAML estructurado para scripts o uso por agentes (requiere PyYAML)."
251269

252-
msgid "Emit structured YAML for scripting or agent use (requires PyYAML)."
253-
msgstr "Emita YAML estructurado para scripts o uso por agentes (requiere PyYAML)."
254-
255-
msgid "Emit the result as JSON to stdout (useful for automation/LLMs)."
256-
msgstr "Emite el resultado como JSON en stdout (útil para automatización/LLM)."
270+
msgid "Emit the structured result as JSON to stdout (useful for automation/LLMs)."
271+
msgstr "Emite el resultado estructurado como JSON en stdout (útil para automatización/LLM)."
257272

258273
msgid "Empty target"
259274
msgstr "Destino vacío"
@@ -262,7 +277,7 @@ msgid "Empty type tag is not valid for '{primary_expected}'."
262277
msgstr "La etiqueta de tipo vacía no es válida para '{primary_expected}'."
263278

264279
msgid "Error:"
265-
msgstr "Error:"
280+
msgstr "Error :"
266281

267282
msgid "Example object shape: {shape}."
268283
msgstr "Forma de objeto de ejemplo: {shape}."
@@ -435,6 +450,9 @@ msgstr "Ejemplo JSON:"
435450
msgid "JSON object containing parameter mappings (overrides positional args). Top-level arrays and scalars are not allowed."
436451
msgstr "Objeto JSON que contiene asignaciones de parámetros (anula los argumentos posicionales). No se permiten arreglos ni escalares de nivel superior."
437452

453+
msgid "JSON object containing parameter mappings (overrides positional args). Top-level arrays/scalars are not allowed."
454+
msgstr "Objeto JSON que contiene asignaciones de parámetros (anula los argumentos posicionales). No se permiten arreglos ni escalares de nivel superior."
455+
438456
msgid "JSON parameters must be a JSON object of named arguments. Example: --params-json '{\"param\": 1}' or --params-json '{\"step\": {\"param\": 1}}' for chained targets."
439457
msgstr "Los parámetros JSON deben ser un objeto JSON con argumentos con nombre. Ejemplo: --params-json '{\"param\": 1}' o --params-json '{\"step\": {\"param\": 1}}' para destinos encadenados."
440458

@@ -525,9 +543,15 @@ msgstr "Error de análisis:"
525543
msgid "Parse/validate/build kwargs and emit a call plan without executing invoke steps."
526544
msgstr "Analiza, valida y construye kwargs, y emite un plan de llamadas sin ejecutar los pasos de invoke."
527545

546+
msgid "Parse/validate/build kwargs and emit a template summary call plan without executing invoke steps."
547+
msgstr "Analiza, valida y construye kwargs, y emite un plan de llamada de resumen de plantillas sin ejecutar los pasos de invoke."
548+
528549
msgid "Path to a JSON file containing an array of invoke calls for batch execution."
529550
msgstr "Ruta a un archivo JSON que contiene un arreglo de llamadas de invoke para su ejecución por lotes."
530551

552+
msgid "Path to a JSON file containing parameter mappings (overrides positional args). The top-level payload must be an object, not arrays/scalars."
553+
msgstr "Ruta a un archivo JSON que contiene asignaciones de parámetros (anula los argumentos posicionales). La carga de nivel superior debe ser un objeto."
554+
531555
msgid "Path to a JSON file containing parameter mappings (overrides positional args). The top-level payload must be an object."
532556
msgstr "Ruta a un archivo JSON que contiene asignaciones de parámetros (anula los argumentos posicionales). La carga de nivel superior debe ser un objeto."
533557

@@ -552,12 +576,6 @@ msgstr "Propiedad {name} (id={id}, tipo={prop_type})"
552576
msgid "Read current value:"
553577
msgstr "Leer valor actual:"
554578

555-
msgid "Close Synergy and reset the session"
556-
msgstr "Cerrar Synergy y restablecer la sesión"
557-
558-
msgid "Closes Synergy and resets the session for a fresh start."
559-
msgstr "Cierra Synergy y restablece la sesión para empezar de nuevo."
560-
561579
msgid "Resolved assignment:"
562580
msgstr "Asignación resuelta:"
563581

@@ -774,15 +792,6 @@ msgstr "Se escribió la salida estructurada en {path}."
774792
msgid "You are already in the REPL."
775793
msgstr "Ya se encuentra en el REPL."
776794

777-
msgid "\nDid you mean step '{step_name}'?"
778-
msgstr "\n¿Quiso decir el paso '{step_name}'?"
779-
780-
msgid "\nFor JSON input on multi-step targets, group parameters by step name, e.g. {example}"
781-
msgstr "\nPara la entrada JSON en destinos de varios pasos, agrupe los parámetros por nombre de paso, por ejemplo {example}"
782-
783-
msgid "\nFor JSON input, this step key must map to an object of parameter names, e.g. {example}"
784-
msgstr "\nPara la entrada JSON, esta clave de paso debe corresponder a un objeto de nombres de parámetros, por ejemplo {example}"
785-
786795
msgid "both {first} and {second} must be provided together"
787796
msgstr "Se deben proporcionar juntos {first} y {second}"
788797

0 commit comments

Comments
 (0)