fix(ui): English labels where Voyage shows Norwegian to every user
Operator decision 56 (2026-10-17): the product shows English. - Annotation HTML: the intent buttons, sidebar badges and the copied prompt read Fix / Change / Question. The stored keys stay fiks / endre / spørsmål, so annotations saved earlier still load. - /trekreview project-memory approval: "Add the line" / "Not now". - README, CLAUDE.md, docs/architecture.md, package.json and plugin.json describe what the product shows; README's hollow-answer line and the "anslag" in the profile section are English; a Norwegian code comment in profile-validator.mjs translated. The Norwegian hollow-answer list in approval-log.mjs and trekbrief.md stays: it matches what a user types. Both new tests failed on the code before the change. Suite 2606 (2604/0/2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f4bf9a85c6
commit
af5de3fcb8
10 changed files with 48 additions and 26 deletions
|
|
@ -192,3 +192,10 @@ test('armB workflow — a missing reviewer or engine forbids ALLOW on the Workfl
|
|||
assert.ok(src.includes("if (verdict === 'ALLOW' && missingReviewers > 0) verdict = 'WARN';"));
|
||||
assert.ok(src.includes('enginePayloads'));
|
||||
});
|
||||
|
||||
test('project-memory approval: the options the operator sees are English (operator decision 56)', () => {
|
||||
const src = read('commands/trekreview.md');
|
||||
assert.ok(src.includes('Options: **"Add the line"**'), 'the recommended option reads "Add the line"');
|
||||
assert.ok(src.includes('and **"Not now"**'), 'the other option reads "Not now"');
|
||||
assert.ok(!src.includes('Skriv linja inn') && !src.includes('Ikke nå'), 'no Norwegian option label left');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue