fix(editor): Task 12 review minors, delete hint and cite label
This commit is contained in:
1 parent
8c420d4b53
commit
11c2b0c5ee
12 files changed
+113
-47
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user