(core) Rename page option 'Duplicate' to 'Duplicate Page', and shorten warning to be more noticeable

Test Plan: Changes too minor to affect tests

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3016
This commit is contained in:
Dmitry S
2021-09-09 23:26:43 -04:00
parent ddcd08e147
commit 70160fe01c
2 changed files with 4 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ export function buildPageDom(name: Observable<string>, actions: PageActions, ...
dom.cls('disabled', actions.isReadonly)),
menuItem(actions.onRemove, 'Remove', testId('remove'),
dom.cls('disabled', (use) => use(actions.isReadonly) || actions.isRemoveDisabled())),
menuItem(actions.onDuplicate, 'Duplicate', testId('duplicate'),
menuItem(actions.onDuplicate, 'Duplicate Page', testId('duplicate'),
dom.cls('disabled', actions.isReadonly)),
dom.maybe(actions.isReadonly, () => menuText('You do not have edit access to this document')),
];