Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPierre Ozoux <pierre@ozoux.net>2022-04-12 18:59:21 +0300
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-06-08 01:35:53 +0300
commitce1441b616f62eb91ce20c6945632abc293e2580 (patch)
tree9117b73a757f68033abfeb0f3cf1b0bc413fb3b8 /lib
parent740b9e5ff15a470bc7ce9e35da1e3be1d68b02ff (diff)
Changes menu entry.
We realized with our users that when the apps Text and ONLYOFFICE are installed in parallel, this is a bit confusing. You can see a screenshot here, in french: https://forge.liiib.re/indiehost/tech/plateforme/-/issues/217#note_9733 So we propose this change. In relation to this change in [onlyoffice app](https://github.com/ONLYOFFICE/onlyoffice-nextcloud/pull/617). Signed-off-by: Pierre Ozoux <pierre@ozoux.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/AppInfo/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index a370e8056..aaa39fd18 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -68,7 +68,7 @@ class Application extends App implements IBootstrap {
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');