fix(editor): Task 12 review minors, delete hint and cite label

This commit is contained in:
bchanot committed 2026-11-15 16:58:50 +01:00
1 parent 8c420d4b53
commit 11c2b0c5ee
12 files changed
+113 -47

No files matched your search

+3 -2
View File
@@ -18,12 +18,13 @@ describe('i18n dicts', () => {
})
describe('the delete hint of a cited reference (final review rev 4, item 2)', () => {
it('names the buttons of each step: « Aller à », « Modifier », « Retirer »', () => {
it('names each step: « Aller à », « X références », « Modifier », « Retirer »', () => {
for (const dict of [fr, en]) {
const hint = dict['editor.references.delete_hint']
const labels = [
dict['editor.references.go_to'],
dict['editor.findings.edit'],
dict['editor.findings.references_open_other'].replace('{count}', 'X'),
dict['editor.citations.edit'],
dict['editor.action.remove'],
]
const at = labels.map((label) => hint.indexOf(label))