diff --git a/lib/DirectEditing/TextDocumentCreator.php b/lib/DirectEditing/TextDocumentCreator.php index 23261536641..5cfab330a35 100644 --- a/lib/DirectEditing/TextDocumentCreator.php +++ b/lib/DirectEditing/TextDocumentCreator.php @@ -34,7 +34,7 @@ public function getId(): string { } public function getName(): string { - return $this->l10n->t('text document'); + return $this->l10n->t('Text document'); } public function getExtension(): string { diff --git a/lib/Listeners/RegisterTemplateCreatorListener.php b/lib/Listeners/RegisterTemplateCreatorListener.php index 0ff5a74921b..f0025c5a5fa 100644 --- a/lib/Listeners/RegisterTemplateCreatorListener.php +++ b/lib/Listeners/RegisterTemplateCreatorListener.php @@ -33,7 +33,7 @@ public function handle(Event $event): void { } $event->getTemplateManager()->registerTemplateFileCreator(function () { - $markdownFile = new TemplateFileCreator(Application::APP_NAME, $this->l10n->t('New text file'), '.' . $this->configService->getDefaultFileExtension()); + $markdownFile = new TemplateFileCreator(Application::APP_NAME, $this->l10n->t('Text document'), '.' . $this->configService->getDefaultFileExtension()); $markdownFile->addMimetype('text/markdown'); $markdownFile->addMimetype('text/plain'); $markdownFile->setIconSvgInline((string)file_get_contents($this->appManager->getAppPath('text') . '/img/article.svg'));