]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix translation source in directEditing templates 30119/head 30298/head
authorAzul <azul@riseup.net>
Thu, 16 Dec 2021 15:28:58 +0000 (16:28 +0100)
committerAzul <azul@riseup.net>
Thu, 16 Dec 2021 15:30:50 +0000 (16:30 +0100)
The 'Empty file' string is translated in `lib` - not in `core`.

Signed-off-by: Azul <azul@riseup.net>
lib/private/DirectEditing/Manager.php

index 543f1e5adb7da910d0474d1f6dd8adcb7b52c3b0..e6efc6d28aaee63afb876f952d2be41b0c61bbb5 100644 (file)
@@ -82,7 +82,7 @@ class Manager implements IManager {
                $this->connection = $connection;
                $this->userId = $userSession->getUser() ? $userSession->getUser()->getUID() : null;
                $this->rootFolder = $rootFolder;
-               $this->l10n = $l10nFactory->get('core');
+               $this->l10n = $l10nFactory->get('lib');
                $this->encryptionManager = $encryptionManager;
        }