ui: plainer wording across labels and command descriptions

Replace internal jargon and uncommon words in user-facing strings (better for
non-native English readers): drop "TransformRegistry-driven" / "drives
transforms" from the connect/set-connector-type subtitles; "transform lookup"
→ "tells connect how to wire its pins"; "populate pin specs" → "fills in each
pin's role and direction"; "clear the visualization area" → "clear the console
output"; "materialised" → "added"; refresh the verify description. Regenerated
commands.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-03 18:33:32 +02:00
parent 1a31dd64b6
commit 7810711fd4
4 changed files with 13 additions and 13 deletions

View File

@@ -67,7 +67,7 @@ connect a part across two modules (interactive screen if no args)
--- ---
### `set-connector-type` *(interactive)* ### `set-connector-type` *(interactive)*
tag a part's connector type for transform lookup tag a part's connector type (tells connect how to wire its pins)
**Arguments** **Arguments**
@@ -91,7 +91,7 @@ detect signal groups (diff pairs, buses) and structural anomalies
--- ---
### `attach-bsdl` ### `attach-bsdl`
attach a BSDL (.bsd) model to a part and populate pin specs attach a BSDL (.bsd) model to a part (fills in each pin's role and direction)
**Arguments** **Arguments**
@@ -106,7 +106,7 @@ attach a BSDL (.bsd) model to a part and populate pin specs
--- ---
### `clear` ### `clear`
clear the visualization area clear the console output
**No arguments.** **No arguments.**
--- ---
@@ -253,7 +253,7 @@ execute a file of commands line by line (interactive cmds rejected)
--- ---
### `verify` ### `verify`
check pin roles, bridged-net consistency, and model-driven pin specs (contention/undriven/NC) check pin roles, power/gnd net consistency, and (with BSDL) pin and JTAG checks
**No arguments.** **No arguments.**
--- ---

View File

@@ -80,7 +80,7 @@ void Tui::RegisterCommands() {
"list commands (or `help <name>` for one command's details)", "list commands (or `help <name>` for one command's details)",
}; };
commands["clear"] = { {}, [this](auto &) { output.clear(); }, true, commands["clear"] = { {}, [this](auto &) { output.clear(); }, true,
"clear the visualization area" }; "clear the console output" };
// quit / exit work from any screen: set the flag *and* call Exit() on the // quit / exit work from any screen: set the flag *and* call Exit() on the
// captured ScreenInteractive so the FTXUI loop returns immediately. The // captured ScreenInteractive so the FTXUI loop returns immediately. The
// legacy main-screen Renderer also reads `quit` as a belt-and-braces // legacy main-screen Renderer also reads `quit` as a belt-and-braces
@@ -327,7 +327,7 @@ void Tui::RegisterCommands() {
Print("verify: " + std::to_string(missing_anoms.size()) Print("verify: " + std::to_string(missing_anoms.size())
+ " BSDL completeness issue(s)."); + " BSDL completeness issue(s).");
}, true, }, true,
"check pin roles, bridged-net consistency, and model-driven pin specs (contention/undriven/NC)" }; "check pin roles, power/gnd net consistency, and (with BSDL) pin and JTAG checks" };
commands["dashboard"] = { {}, [this](auto &) { commands["dashboard"] = { {}, [this](auto &) {
screen_idx = 4; screen_idx = 4;
@@ -475,11 +475,11 @@ void Tui::RegisterCommands() {
Print(mod->name + "/" + prt->name + ": connector_type = " Print(mod->name + "/" + prt->name + ": connector_type = "
+ (args[2].empty() ? "(none)" : args[2])); + (args[2].empty() ? "(none)" : args[2]));
if (rep.materialised > 0) if (rep.materialised > 0)
Print("set-connector-type: materialised " + std::to_string(rep.materialised) Print("set-connector-type: added " + std::to_string(rep.materialised)
+ " NC pin(s) from connector layout"); + " NC pin(s) from the connector layout");
}, },
/*prompt_for_missing=*/ false, /*prompt_for_missing=*/ false,
"tag a part's connector type for transform lookup", "tag a part's connector type (tells connect how to wire its pins)",
/*scriptable=*/ true, /*scriptable=*/ true,
/*interactive=*/ true, /*interactive=*/ true,
}; };
@@ -530,7 +530,7 @@ void Tui::RegisterCommands() {
+ (r.unbound ? (", " + std::to_string(r.unbound) + " unbound") : "")); + (r.unbound ? (", " + std::to_string(r.unbound) + " unbound") : ""));
}, },
/*prompt_for_missing=*/ false, /*prompt_for_missing=*/ false,
"attach a BSDL (.bsd) model to a part and populate pin specs", "attach a BSDL (.bsd) model to a part (fills in each pin's role and direction)",
/*scriptable=*/ true, /*scriptable=*/ true,
/*interactive=*/ false, /*interactive=*/ false,
}; };
@@ -644,7 +644,7 @@ void Tui::RegisterCommands() {
int added = FillIdentityNCs(p1, p2); int added = FillIdentityNCs(p1, p2);
Print("connect: " + info); Print("connect: " + info);
if (added > 0) if (added > 0)
Print("connect: materialised " + std::to_string(added) Print("connect: added " + std::to_string(added)
+ " NC pin(s) so both sides match"); + " NC pin(s) so both sides match");
} }
} }

View File

@@ -138,7 +138,7 @@ Component Tui::BuildConnectScreen() {
text(" essim ") | bold, text(" essim ") | bold,
text("") | dim, text("") | dim,
text("connect") | bold, text("connect") | bold,
text(" — wire two parts across modules (TransformRegistry-driven)") | dim, text(" — wire two parts across modules") | dim,
}); });
Element help = RenderHelpPanel("connect", { Element help = RenderHelpPanel("connect", {

View File

@@ -146,7 +146,7 @@ Component Tui::BuildSettypeScreen() {
text(" essim ") | bold, text(" essim ") | bold,
text("") | dim, text("") | dim,
text("set-connector-type") | bold, text("set-connector-type") | bold,
text(" — tag a part with its connector kind (drives transforms + pin roles)") | dim, text(" — tag a part's connector type (used to wire it correctly)") | dim,
}); });
Element help = RenderHelpPanel("set-connector-type", { Element help = RenderHelpPanel("set-connector-type", {