chore: replace ambiguous "page" with "doc" (#5761)

close TOV-532
This commit is contained in:
JimmFly
2024-02-21 12:47:17 +00:00
parent 85be45a79c
commit c353b0d30f
8 changed files with 88 additions and 89 deletions

View File

@@ -40,7 +40,7 @@ export function createApplicationMenu() {
submenu: [
{
id: MENUITEM_NEW_PAGE,
label: 'New Page',
label: 'New Doc',
accelerator: isMac ? 'Cmd+N' : 'Ctrl+N',
click: () => {
applicationMenuSubjects.newPageAction.next();

View File

@@ -9,7 +9,7 @@ export * from './subject';
*/
export const applicationMenuEvents = {
/**
* File -> New Page
* File -> New Doc
*/
onNewPageAction: (fn: () => void) => {
const sub = applicationMenuSubjects.newPageAction.subscribe(fn);