diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index a370e80567b..aaa39fd18da 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -68,7 +68,7 @@ public function register(IRegistrationContext $context): void { public function boot(IBootContext $context): void { $context->injectFn(function (ITemplateManager $templateManager, IL10N $l) { $templateManager->registerTemplateFileCreator(function () use ($l) { - $markdownFile = new TemplateFileCreator(Application::APP_NAME, $l->t('New text document'), '.md'); + $markdownFile = new TemplateFileCreator(Application::APP_NAME, $l->t('New text file'), '.md'); $markdownFile->addMimetype('text/markdown'); $markdownFile->addMimetype('text/plain'); $markdownFile->setIconClass('icon-filetype-text'); diff --git a/src/helpers/files.js b/src/helpers/files.js index 551670052f2..67f281d0378 100644 --- a/src/helpers/files.js +++ b/src/helpers/files.js @@ -55,8 +55,8 @@ const registerFileCreate = () => { // register the new menu entry menu.addMenuEntry({ id: 'file', - displayName: t('text', 'New text document'), - templateName: t('text', 'New text document') + '.md', + displayName: t('text', 'New text file'), + templateName: t('text', 'New text file') + '.md', iconClass: 'icon-filetype-text', fileType: 'file', actionHandler(name) {