diff --git a/cli/cli.ts b/cli/cli.ts index 9a2f4902ebe..841c9575d58 100644 --- a/cli/cli.ts +++ b/cli/cli.ts @@ -1919,6 +1919,13 @@ ${gcards.map(gcard => `[${gcard.name}](${gcard.url})`).join(',\n')} targetStrings[`{id:extension-tag}${tag}`] = tag; } } + + const hardwareOptions = targetConfig?.hardwareOptions; + for (const opt of (hardwareOptions ?? [])) { + // Not translating hardware name, as that is typically a brand name / etc. + if (opt.description) + targetStrings[`{id:hardware-description}${opt.description}`] = opt.description; + } } // extract strings from editor ["editor", "fieldeditors", "cmds"] diff --git a/webapp/src/projects.tsx b/webapp/src/projects.tsx index 625d6603e9e..cfcab932528 100644 --- a/webapp/src/projects.tsx +++ b/webapp/src/projects.tsx @@ -1695,7 +1695,7 @@ export class ChooseHwDialog extends data.Component