Skip to content

Commit 1d576be

Browse files
committed
fix: Rename mobile editing file creator name to leave out "New" prefix
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 39b6fe2 commit 1d576be

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/DirectEditing/TextDocumentCreator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function getId(): string {
3434
}
3535

3636
public function getName(): string {
37-
return $this->l10n->t('text document');
37+
return $this->l10n->t('Text document');
3838
}
3939

4040
public function getExtension(): string {

lib/Listeners/RegisterTemplateCreatorListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function handle(Event $event): void {
3333
}
3434

3535
$event->getTemplateManager()->registerTemplateFileCreator(function () {
36-
$markdownFile = new TemplateFileCreator(Application::APP_NAME, $this->l10n->t('New text file'), '.' . $this->configService->getDefaultFileExtension());
36+
$markdownFile = new TemplateFileCreator(Application::APP_NAME, $this->l10n->t('Text document'), '.' . $this->configService->getDefaultFileExtension());
3737
$markdownFile->addMimetype('text/markdown');
3838
$markdownFile->addMimetype('text/plain');
3939
$markdownFile->setIconSvgInline((string)file_get_contents($this->appManager->getAppPath('text') . '/img/article.svg'));

0 commit comments

Comments
 (0)