From 3d71c35e956b856a001f74d594b98ec8a6392d29 Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Wed, 16 Mar 2022 15:02:35 +0300 Subject: [PATCH 01/14] az updated --- assets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets b/assets index f8dd8633..01a35499 160000 --- a/assets +++ b/assets @@ -1 +1 @@ -Subproject commit f8dd863379b4efd918dc1f77326390148993f2bc +Subproject commit 01a35499a3cfb4013d990100e119a7f47f02616f From 1ab35d095b8f2ff70812ca981df7da5a8818c2d8 Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Wed, 23 Mar 2022 18:51:07 +0300 Subject: [PATCH 02/14] revert repair --- appinfo/info.xml | 5 - lib/mimerepair.php | 226 --------------------------------------------- 2 files changed, 231 deletions(-) delete mode 100644 lib/mimerepair.php diff --git a/appinfo/info.xml b/appinfo/info.xml index 03572db1..9df3d0c1 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -30,9 +30,4 @@ OCA\Onlyoffice\Command\DocumentServer - - - OCA\Onlyoffice\MimeRepair - - \ No newline at end of file diff --git a/lib/mimerepair.php b/lib/mimerepair.php deleted file mode 100644 index f9e98c36..00000000 --- a/lib/mimerepair.php +++ /dev/null @@ -1,226 +0,0 @@ -config = new AppConfig(self::$appName); - } - - /** - * Returns the step's name - */ - public function getName() { - return self::$appName; - } - - /** - * @param IOutput $output - */ - public function run(IOutput $output) { - \OC::$server->getLogger()->debug("Mimetypes repair run", ["app" => self::$appName]); - - $customAliasPath = \OC::$SERVERROOT . "/config/" . self::CUSTOM_MIMETYPEALIASES; - - $formats = $this->config->FormatsSetting(); - $mimes = [ - $formats["docxf"]["mime"] => self::DOCUMENT_ALIAS, - $formats["oform"]["mime"] => self::DOCUMENT_ALIAS - ]; - - $customAlias = $mimes; - if (file_exists($customAliasPath)) { - $customAlias = json_decode(file_get_contents($customAliasPath), true); - foreach ($mimes as $mime => $icon) { - if (!isset($customAlias[$mime])) { - $customAlias[$mime] = $icon; - } - } - } - - file_put_contents($customAliasPath, json_encode($customAlias, JSON_PRETTY_PRINT)); - - //matches the command maintenance:mimetype:update-js - //from OC\Core\Command\Maintenance\Mimetype\UpdateJS - $detector = \OC::$server->getMimeTypeDetector(); - - \file_put_contents( - \OC::$SERVERROOT . "/core/js/" . self::MIMETYPELIST, - $this->generateMimeTypeListContent( - $detector->getAllAliases(), - $this->getFiles(), - $this->getThemes() - )); - } - - /** - * Copy OC\Core\Command\Maintenance\Mimetype\UpdateJS - * - * @return array - */ - private function getFiles() { - $dir = new \DirectoryIterator(\OC::$SERVERROOT . "/core/img/filetypes"); - - $files = []; - foreach ($dir as $fileInfo) { - if ($fileInfo->isFile()) { - $files[] = \preg_replace("/.[^.]*$/", "", $fileInfo->getFilename()); - } - } - - $files = \array_values(\array_unique($files)); - \sort($files); - return $files; - } - - /** - * Copy OC\Core\Command\Maintenance\Mimetype\UpdateJS - * - * @param $themeDirectory - * - * @return array - */ - private function getFileTypeIcons($themeDirectory) { - $fileTypeIcons = []; - $fileTypeIconDirectory = $themeDirectory . "/core/img/filetypes"; - - if (\is_dir($fileTypeIconDirectory)) { - $fileTypeIconFiles = new \DirectoryIterator($fileTypeIconDirectory); - foreach ($fileTypeIconFiles as $fileTypeIconFile) { - if ($fileTypeIconFile->isFile()) { - $fileTypeIconName = \preg_replace("/.[^.]*$/", "", $fileTypeIconFile->getFilename()); - $fileTypeIcons[] = $fileTypeIconName; - } - } - } - - $fileTypeIcons = \array_values(\array_unique($fileTypeIcons)); - \sort($fileTypeIcons); - - return $fileTypeIcons; - } - - /** - * Copy OC\Core\Command\Maintenance\Mimetype\UpdateJS - * - * @return array - */ - private function getThemes() { - return \array_merge( - $this->getAppThemes(), - $this->getLegacyThemes() - ); - } - - /** - * Copy OC\Core\Command\Maintenance\Mimetype\UpdateJS - * - * @return array - */ - private function getAppThemes() { - $themes = []; - - $apps = \OC_App::getEnabledApps(); - - foreach ($apps as $app) { - if (\OC_App::isType($app, "theme")) { - $themes[$app] = $this->getFileTypeIcons(\OC_App::getAppPath($app)); - } - } - - return $themes; - } - - /** - * Copy OC\Core\Command\Maintenance\Mimetype\UpdateJS - * - * @return array - */ - private function getLegacyThemes() { - $themes = []; - - if (\is_dir(\OC::$SERVERROOT . "/themes/")) { - $legacyThemeDirectories = new \DirectoryIterator(\OC::$SERVERROOT . "/themes/"); - - foreach ($legacyThemeDirectories as $legacyThemeDirectory) { - if ($legacyThemeDirectory->isFile() || $legacyThemeDirectory->isDot()) { - continue; - } - $themes[$legacyThemeDirectory->getFilename()] = $this->getFileTypeIcons( - $legacyThemeDirectory->getPathname() - ); - } - } - - return $themes; - } - - /** - * Copy OC\Core\Command\Maintenance\Mimetype\UpdateJS - * - * @param array $aliases - * @param array $files - * @param array $themes - * - * @return string - */ - private function generateMimeTypeListContent($aliases, $files, $themes) { - $aliasesJson = \json_encode($aliases, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); - $filesJson = \json_encode($files, JSON_PRETTY_PRINT); - $themesJson = \json_encode($themes, JSON_PRETTY_PRINT); - - $content = <<< MTLC -/** -* This file is automatically generated -* DO NOT EDIT MANUALLY! -* -* You can update the list of MimeType Aliases in config/mimetypealiases.json -* The list of files is fetched from core/img/filetypes -* To regenerate this file run ./occ maintenance:mimetype:update-js -*/ -OC.MimeTypeList={ - aliases: $aliasesJson, - files: $filesJson, - themes: $themesJson -}; -MTLC; - - return $content; - } -} \ No newline at end of file From 701ac304721f1e216941f5b70aba9f9848d82d66 Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Tue, 29 Mar 2022 18:47:40 +0300 Subject: [PATCH 03/14] edit all langs (notification) --- l10n/bg_BG.js | 2 +- l10n/bg_BG.json | 2 +- l10n/de.js | 2 +- l10n/de.json | 2 +- l10n/de_DE.js | 2 +- l10n/de_DE.json | 2 +- l10n/es.js | 2 +- l10n/es.json | 2 +- l10n/fr.js | 2 +- l10n/fr.json | 2 +- l10n/it.js | 2 +- l10n/it.json | 2 +- l10n/ja.js | 2 +- l10n/ja.json | 2 +- l10n/pl.js | 2 +- l10n/pl.json | 2 +- l10n/pt_BR.js | 2 +- l10n/pt_BR.json | 2 +- l10n/ru.js | 2 +- l10n/ru.json | 2 +- l10n/sv.js | 2 +- l10n/sv.json | 2 +- l10n/zh_CN.js | 2 +- l10n/zh_CN.json | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/l10n/bg_BG.js b/l10n/bg_BG.js index 0f5a739e..7c31f07f 100644 --- a/l10n/bg_BG.js +++ b/l10n/bg_BG.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Формат на произход", "Failed to send notification": "Неуспешно изпращане на известие", "Notification sent successfully": "Успешно изпратено известие", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s, споменат във %2\$s: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s, Ви спомена във %2\$s: \"%3\$s\".", "Choose a format to convert {fileName}": "Изберете формат за конвертиране {fileName}", "Form template": "Шаблон на формуляр", "Form template from existing text file": "Шаблон на формуляр от съществуващ текстов файл", diff --git a/l10n/bg_BG.json b/l10n/bg_BG.json index 4ce55134..4138b823 100644 --- a/l10n/bg_BG.json +++ b/l10n/bg_BG.json @@ -95,7 +95,7 @@ "Origin format": "Формат на произход", "Failed to send notification": "Неуспешно изпращане на известие", "Notification sent successfully": "Успешно изпратено известие", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s, споменат във %2$s: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s, Ви спомена във %2$s: \"%3$s\".", "Choose a format to convert {fileName}": "Изберете формат за конвертиране {fileName}", "Form template": "Шаблон на формуляр", "Form template from existing text file": "Шаблон на формуляр от съществуващ текстов файл", diff --git a/l10n/de.js b/l10n/de.js index 09f1848a..62b0719d 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Ursprüngliches Format", "Failed to send notification": "Fehler beim Senden einer Benachrichtigung", "Notification sent successfully": "Benachrichtigung erfolgreich gesendet", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s hat in %2\$s erwähnt: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s hat dich in %2\$s erwähnt: \"%3\$s\".", "Choose a format to convert {fileName}": "Wählen Sie das Format für {fileName} aus", "Form template": "Formularvorlage", "Form template from existing text file": "Formularvorlage aus Textdatei", diff --git a/l10n/de.json b/l10n/de.json index efbe4a4e..828fee20 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -95,7 +95,7 @@ "Origin format": "Ursprüngliches Format", "Failed to send notification": "Fehler beim Senden einer Benachrichtigung", "Notification sent successfully": "Benachrichtigung erfolgreich gesendet", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s hat in %2$s erwähnt: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s hat dich in %2$s erwähnt: \"%3$s\".", "Choose a format to convert {fileName}": "Wählen Sie das Format für {fileName} aus", "Form template": "Formularvorlage", "Form template from existing text file": "Formularvorlage aus Textdatei", diff --git a/l10n/de_DE.js b/l10n/de_DE.js index c1ed2611..87fb54fa 100644 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Ursprüngliches Format", "Failed to send notification": "Fehler beim Senden einer Benachrichtigung", "Notification sent successfully": "Benachrichtigung erfolgreich gesendet", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s hat in %2\$s erwähnt: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s hat dich in %2\$s erwähnt: \"%3\$s\".", "Choose a format to convert {fileName}": "Wählen Sie das Format für {fileName} aus", "Form template": "Formularvorlage", "Form template from existing text file": "Formularvorlage aus Textdatei", diff --git a/l10n/de_DE.json b/l10n/de_DE.json index 0ead447b..6432ebe5 100644 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -95,7 +95,7 @@ "Origin format": "Ursprüngliches Format", "Failed to send notification": "Fehler beim Senden einer Benachrichtigung", "Notification sent successfully": "Benachrichtigung erfolgreich gesendet", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s hat in %2$s erwähnt: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s hat dich in %2$s erwähnt: \"%3$s\".", "Choose a format to convert {fileName}": "Wählen Sie das Format für {fileName} aus", "Form template": "Formularvorlage", "Form template from existing text file": "Formularvorlage aus Textdatei", diff --git a/l10n/es.js b/l10n/es.js index c9720919..ff614c78 100644 --- a/l10n/es.js +++ b/l10n/es.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Formato original", "Failed to send notification": "Error al enviar la notificación", "Notification sent successfully": "Notificación enviada correctamente", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s ha mencionado en %2\$s: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s le ha mencionado en %2\$s: \"%3\$s\".", "Choose a format to convert {fileName}": "Elija un formato para convertir {fileName}", "Form template": "Plantilla de formulario", "Form template from existing text file": "Plantilla de formulario desde un archivo de texto existente", diff --git a/l10n/es.json b/l10n/es.json index 266d06d5..e1b66f47 100644 --- a/l10n/es.json +++ b/l10n/es.json @@ -95,7 +95,7 @@ "Origin format": "Formato original", "Failed to send notification": "Error al enviar la notificación", "Notification sent successfully": "Notificación enviada correctamente", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s ha mencionado en %2$s: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s le ha mencionado en %2$s: \"%3$s\".", "Choose a format to convert {fileName}": "Elija un formato para convertir {fileName}", "Form template": "Plantilla de formulario", "Form template from existing text file": "Plantilla de formulario desde un archivo de texto existente", diff --git a/l10n/fr.js b/l10n/fr.js index 7fb611bc..66ede175 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Format d’origin", "Failed to send notification": "Échec de l’envoi de la notification", "Notification sent successfully": "Notification a été envoyée avec succès", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s a mentionné dans %2\$s: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s vous a mentionné dans %2\$s: \"%3\$s\".", "Choose a format to convert {fileName}": "Choisissez un format à convertir {fileName}", "Form template": "Modèle de formulaire", "Form template from existing text file": "Modèle de formulaire à partir d'un fichier texte existant", diff --git a/l10n/fr.json b/l10n/fr.json index fd2bb24f..1a195114 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -95,7 +95,7 @@ "Origin format": "Format d’origin", "Failed to send notification": "Échec de l’envoi de la notification", "Notification sent successfully": "Notification a été envoyée avec succès", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s a mentionné dans %2$s: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s vous a mentionné dans %2$s: \"%3$s\".", "Choose a format to convert {fileName}": "Choisissez un format à convertir {fileName}", "Form template": "Modèle de formulaire ", "Form template from existing text file": "Modèle de formulaire à partir d'un fichier texte existant", diff --git a/l10n/it.js b/l10n/it.js index c1c12880..22bff6c2 100644 --- a/l10n/it.js +++ b/l10n/it.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Formato di origine", "Failed to send notification": "Invio di notifica non riuscito", "Notification sent successfully": "Notifica è stata inviata con successo", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s ha menzionato in %2\$s: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s ti ha menzionato in %2\$s: \"%3\$s\".", "Choose a format to convert {fileName}": "Scegli un formato per convertire {fileName}", "Form template": "Modello di modulo", "Form template from existing text file": "Modello di modulo da file di testo esistente", diff --git a/l10n/it.json b/l10n/it.json index b7028932..f29fb39c 100644 --- a/l10n/it.json +++ b/l10n/it.json @@ -95,7 +95,7 @@ "Origin format": "Formato di origine", "Failed to send notification": "Invio di notifica non riuscito", "Notification sent successfully": "Notifica è stata inviata con successo", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s ha menzionato in %2$s: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s ti ha menzionato in %2$s: \"%3$s\".", "Choose a format to convert {fileName}": "Scegli un formato per convertire {fileName}", "Form template": "Modello di modulo", "Form template from existing text file": "Modello di modulo da file di testo esistente", diff --git a/l10n/ja.js b/l10n/ja.js index 53e6909f..837bd6c3 100644 --- a/l10n/ja.js +++ b/l10n/ja.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "オリジンの形式", "Failed to send notification": "通知を送信できませんでした", "Notification sent successfully": "通知を送信しました", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s は %2\$s: \"%3\$s\"に記載されました。", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s は あなたを %2\$s: \"%3\$s\"に記載されました。", "Choose a format to convert {fileName}": "{fileName}を変換する形式を選択してください", "Form template": "フォーム テンプレート", "Form template from existing text file": "既存のテキストファイルからフォームテンプレートを作成する", diff --git a/l10n/ja.json b/l10n/ja.json index ac5ba018..92ee9543 100644 --- a/l10n/ja.json +++ b/l10n/ja.json @@ -95,7 +95,7 @@ "Origin format": "オリジンの形式", "Failed to send notification": "通知を送信できませんでした", "Notification sent successfully": "通知を送信しました", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s は %2$s: \"%3$s\"に記載されました。", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s は あなたを %2$s: \"%3$s\"に記載されました。", "Choose a format to convert {fileName}": "{fileName}を変換する形式を選択してください", "Form template": "フォーム テンプレート", "Form template from existing text file": "既存のテキストファイルからフォームテンプレートを作成する", diff --git a/l10n/pl.js b/l10n/pl.js index 60dba20a..bb9e35b6 100644 --- a/l10n/pl.js +++ b/l10n/pl.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Oryginalny format", "Failed to send notification": "Nie udało się wysłać powiadomienia", "Notification sent successfully": "Powiadomienie zostało wysłane", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s dodał(a) w %2\$s następujący komentarz: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s dodał(a) Cię w %2\$s następujący komentarz: \"%3\$s\".", "Choose a format to convert {fileName}": "Wybierz format, do którego chcesz przekonwertować {fileName}", "Form template": "Szablon formularza", "Form template from existing text file": "Szablon formularza z istniejącego pliku tekstowego", diff --git a/l10n/pl.json b/l10n/pl.json index 0c466012..a22f0198 100644 --- a/l10n/pl.json +++ b/l10n/pl.json @@ -95,7 +95,7 @@ "Origin format": "Oryginalny format", "Failed to send notification": "Nie udało się wysłać powiadomienia", "Notification sent successfully": "Powiadomienie zostało wysłane", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s dodał(a) w %2$s następujący komentarz: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s dodał(a) Cię w %2$s następujący komentarz: \"%3$s\".", "Choose a format to convert {fileName}": "Wybierz format, do którego chcesz przekonwertować {fileName}", "Form template": "Szablon formularza", "Form template from existing text file": "Szablon formularza z istniejącego pliku tekstowego", diff --git a/l10n/pt_BR.js b/l10n/pt_BR.js index 59893168..72cfaca2 100644 --- a/l10n/pt_BR.js +++ b/l10n/pt_BR.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Formato de origem", "Failed to send notification": "Falha ao enviar notificação", "Notification sent successfully": "Notificação enviada com sucesso", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s mencionado em %2\$s: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s mencionado você em %2\$s: \"%3\$s\".", "Choose a format to convert {fileName}": "Escolha um formato para converter {fileName}", "Form template": "Modelo de formulário", "Form template from existing text file": "Modelo de formulário a partir de arquivo de texto existente", diff --git a/l10n/pt_BR.json b/l10n/pt_BR.json index 2ecd02e7..379a3e91 100644 --- a/l10n/pt_BR.json +++ b/l10n/pt_BR.json @@ -95,7 +95,7 @@ "Origin format": "Formato de origem", "Failed to send notification": "Falha ao enviar notificação", "Notification sent successfully": "Notificação enviada com sucesso", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s mencionado em %2$s: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s mencionado você em %2$s: \"%3$s\".", "Choose a format to convert {fileName}": "Escolha um formato para converter {fileName}", "Form template": "Modelo de formulário", "Form template from existing text file": "Modelo de formulário a partir de arquivo de texto existente", diff --git a/l10n/ru.js b/l10n/ru.js index 29b3ac95..0682ddfe 100644 --- a/l10n/ru.js +++ b/l10n/ru.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Оригинальный формат", "Failed to send notification": "Ошибка отправки оповещения", "Notification sent successfully": "Оповещение успешно отправлено", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s упомянул в %2\$s: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s упомянул вас в %2\$s: \"%3\$s\".", "Choose a format to convert {fileName}": "Выберите формат для {fileName}", "Form template": "Шаблон формы", "Form template from existing text file": "Шаблон формы из существующего текстового файла", diff --git a/l10n/ru.json b/l10n/ru.json index 37abe42c..7c190fc1 100644 --- a/l10n/ru.json +++ b/l10n/ru.json @@ -95,7 +95,7 @@ "Origin format": "Оригинальный формат", "Failed to send notification": "Ошибка отправки оповещения", "Notification sent successfully": "Оповещение успешно отправлено", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s упомянул в %2$s: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s упомянул вас в %2$s: \"%3$s\".", "Choose a format to convert {fileName}": "Выберите формат для {fileName}", "Form template": "Шаблон формы", "Form template from existing text file": "Шаблон формы из существующего текстового файла", diff --git a/l10n/sv.js b/l10n/sv.js index f96af8e5..3fc6c41d 100644 --- a/l10n/sv.js +++ b/l10n/sv.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "Ursprungsformat", "Failed to send notification": "Det gick inte att skicka aviseringen", "Notification sent successfully": "Aviseringen har skickats", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s har nämnt i %2\$s: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s nämnde dig i %2\$s: \"%3\$s\".", "Choose a format to convert {fileName}": "Välj det filformat som {fileName} ska konverteras till.", "Form template": "Formulärmall", "Form template from existing text file": "Formulärmall från befintlig textfil", diff --git a/l10n/sv.json b/l10n/sv.json index 00e4b688..e177775a 100644 --- a/l10n/sv.json +++ b/l10n/sv.json @@ -95,7 +95,7 @@ "Origin format": "Ursprungsformat", "Failed to send notification": "Det gick inte att skicka aviseringen", "Notification sent successfully": "Aviseringen har skickats", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s har nämnt i %2$s: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s nämnde dig i %2$s: \"%3$s\".", "Choose a format to convert {fileName}": "Välj det filformat som {fileName} ska konverteras till.", "Form template": "Formulärmall", "Form template from existing text file": "Formulärmall från befintlig textfil", diff --git a/l10n/zh_CN.js b/l10n/zh_CN.js index 1b790ff6..6c19e689 100644 --- a/l10n/zh_CN.js +++ b/l10n/zh_CN.js @@ -97,7 +97,7 @@ OC.L10N.register( "Origin format": "原产地格式", "Failed to send notification": "发送通知失败", "Notification sent successfully": "通知发送成功", - "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s 提到 %2\$s: \"%3\$s\".", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s 在 %2\$s: \"%3\$s\"中提到了您.", "Choose a format to convert {fileName}": "选择要转换{fileName}的格式", "Form template": "表单模板", "Form template from existing text file": "用现有的文本文件创建模板", diff --git a/l10n/zh_CN.json b/l10n/zh_CN.json index e6556437..77ece801 100644 --- a/l10n/zh_CN.json +++ b/l10n/zh_CN.json @@ -95,7 +95,7 @@ "Origin format": "原产地格式", "Failed to send notification": "发送通知失败", "Notification sent successfully": "通知发送成功", - "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s 提到 %2$s: \"%3$s\".", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s 在 %2$s: \"%3$s\"中提到了您.", "Choose a format to convert {fileName}": "选择要转换{fileName}的格式", "Form template": "表单模板", "Form template from existing text file": "用现有的文本文件创建模板", From bca50c63126d71a24da5bcf88cdcd2814d24ab72 Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Fri, 29 Apr 2022 17:32:12 +0300 Subject: [PATCH 04/14] download version changes at internal address --- controller/editorapicontroller.php | 3 +-- controller/editorcontroller.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/controller/editorapicontroller.php b/controller/editorapicontroller.php index 065a8f70..f83e211f 100644 --- a/controller/editorapicontroller.php +++ b/controller/editorapicontroller.php @@ -626,8 +626,7 @@ private function getUrl($file, $user = null, $shareToken = null, $version = 0, $ $fileUrl = $this->urlGenerator->linkToRouteAbsolute($this->appName . ".callback.download", ["doc" => $hashUrl]); - if (!empty($this->config->GetStorageUrl()) - && !$changes) { + if (!empty($this->config->GetStorageUrl())) { $fileUrl = str_replace($this->urlGenerator->getAbsoluteURL("/"), $this->config->GetStorageUrl(), $fileUrl); } diff --git a/controller/editorcontroller.php b/controller/editorcontroller.php index e5662e4d..41aa176b 100644 --- a/controller/editorcontroller.php +++ b/controller/editorcontroller.php @@ -1269,8 +1269,7 @@ private function getUrl($file, $user = null, $shareToken = null, $version = 0, $ $fileUrl = $this->urlGenerator->linkToRouteAbsolute($this->appName . ".callback.download", ["doc" => $hashUrl]); - if (!empty($this->config->GetStorageUrl()) - && !$changes) { + if (!empty($this->config->GetStorageUrl())) { $fileUrl = str_replace($this->urlGenerator->getAbsoluteURL("/"), $this->config->GetStorageUrl(), $fileUrl); } From 18b4b52efc4360fdb7a45e8674aac42fd79a1061 Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Tue, 7 Jun 2022 11:05:33 +0300 Subject: [PATCH 05/14] added security section with macros to settings page --- appinfo/routes.php | 1 + controller/editorapicontroller.php | 5 +++++ controller/settingscontroller.php | 16 ++++++++++++++++ js/settings.js | 23 +++++++++++++++++++++++ lib/appconfig.php | 28 +++++++++++++++++++++++++++- templates/settings.php | 11 +++++++++++ 6 files changed, 83 insertions(+), 1 deletion(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index 8a1bad26..5e447ee6 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -37,6 +37,7 @@ ["name" => "editor#restore", "url" => "/ajax/restore", "verb" => "PUT"], ["name" => "settings#save_address", "url" => "/ajax/settings/address", "verb" => "PUT"], ["name" => "settings#save_common", "url" => "/ajax/settings/common", "verb" => "PUT"], + ["name" => "settings#save_security", "url" => "/ajax/settings/security", "verb" => "PUT"], ["name" => "settings#get_settings", "url" => "/ajax/settings", "verb" => "GET"], ["name" => "settings#clear_history", "url" => "/ajax/settings/history", "verb" => "DELETE"], ["name" => "template#add_template", "url" => "/ajax/template", "verb" => "POST"], diff --git a/controller/editorapicontroller.php b/controller/editorapicontroller.php index 065a8f70..f8001fa6 100644 --- a/controller/editorapicontroller.php +++ b/controller/editorapicontroller.php @@ -691,6 +691,11 @@ private function setCustomization($params) { $params["editorConfig"]["customization"]["toolbarNoTabs"] = true; } + //default is true + if($this->config->GetCustomizationMacros() === false) { + $params["editorConfig"]["customization"]["macros"] = false; + } + /* from system config */ diff --git a/controller/settingscontroller.php b/controller/settingscontroller.php index ed8d5aa3..710fa7b6 100644 --- a/controller/settingscontroller.php +++ b/controller/settingscontroller.php @@ -125,6 +125,7 @@ public function index() { "help" => $this->config->GetCustomizationHelp(), "toolbarNoTabs" => $this->config->GetCustomizationToolbarNoTabs(), "successful" => $this->config->SettingsAreSuccessful(), + "macros" => $this->config->GetCustomizationMacros(), "reviewDisplay" => $this->config->GetCustomizationReviewDisplay(), "templates" => $this->GetGlobalTemplates() ]; @@ -239,6 +240,21 @@ public function SaveCommon($defFormats, ]; } + /** + * Save security settings + * + * @param bool $macros - run document macros + * + * @return array + */ + public function SaveSecurity($macros) { + + $this->config->SetCustomizationMacros($macros); + + return [ + ]; + } + /** * Clear all version history * diff --git a/js/settings.js b/js/settings.js index b0792160..0da52d5b 100644 --- a/js/settings.js +++ b/js/settings.js @@ -167,6 +167,29 @@ }); }); + $("#onlyofficeSecuritySave").click(function () { + $(".section-onlyoffice").addClass("icon-loading"); + + var macros = $("#onlyofficeMacros").is(":checked"); + + $.ajax({ + method: "PUT", + url: OC.generateUrl("apps/" + OCA.Onlyoffice.AppName + "/ajax/settings/security"), + data: { + macros: macros + }, + success: function onSuccess(response) { + $(".section-onlyoffice").removeClass("icon-loading"); + if (response) { + var message = t(OCA.Onlyoffice.AppName, "Settings have been successfully updated"); + OC.Notification.show(message, { + timeout: 3 + }); + } + } + }); + }); + $(".section-onlyoffice input").keypress(function (e) { var code = e.keyCode || e.which; if (code === 13) { diff --git a/lib/appconfig.php b/lib/appconfig.php index d5337dd6..dbb46a68 100644 --- a/lib/appconfig.php +++ b/lib/appconfig.php @@ -263,6 +263,13 @@ class AppConfig { */ public $_customization_goback = "customization_goback"; + /** + * The config key for the macros + * + * @var string + */ + public $_customization_macros = "customization_macros"; + /** * @param string $AppName - application name */ @@ -806,6 +813,26 @@ public function GetCustomizationReviewDisplay() { return "original"; } + /** + * Save macros setting + * + * @param bool $value - enable macros + */ + public function SetCustomizationMacros($value) { + $this->logger->info("Set macros enabled: " . json_encode($value), ["app" => $this->appName]); + + $this->config->setAppValue($this->appName, $this->_customization_macros, json_encode($value)); + } + + /** + * Get macros setting + * + * @return bool + */ + public function GetCustomizationMacros() { + return $this->config->getAppValue($this->appName, $this->_customization_macros, "true") === "true"; + } + /** * Save the list of groups * @@ -1017,7 +1044,6 @@ public function ShareAttributesVersion() { return ""; } - /** * Additional data about formats * diff --git a/templates/settings.php b/templates/settings.php index 8842a9ad..37d6e16e 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -246,5 +246,16 @@ +
+ +

t("Security")) ?>

+

+ checked="checked" /> + +

+ +
+

From f4a9f77ec19b6912507c83ca2c5328492e87109a Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Tue, 7 Jun 2022 11:06:55 +0300 Subject: [PATCH 06/14] macros setting to changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5ea6407..7510112e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## Added +- macro launch setting + ## 7.3.3 ## Added - Turkish and Galician empty file templates From 45b2044cb6d583ababd93a88975cf5e99ec03cdf Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Tue, 7 Jun 2022 11:12:38 +0300 Subject: [PATCH 07/14] ru translations for security --- l10n/ru.js | 4 +++- l10n/ru.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/l10n/ru.js b/l10n/ru.js index 0682ddfe..647f641b 100644 --- a/l10n/ru.js +++ b/l10n/ru.js @@ -104,6 +104,8 @@ OC.L10N.register( "Create form": "Создать форму", "Fill in form in ONLYOFFICE": "Заполнить форму в ONLYOFFICE", "Create new Form template": "Создать новый шаблон формы", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Обновите сервер ONLYOFFICE Docs до версии 7.0 для работы с формами онлайн" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Обновите сервер ONLYOFFICE Docs до версии 7.0 для работы с формами онлайн", + "Security": "Безопасность", + "Run document macros": "Запускать макросы документа" }, "nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"); diff --git a/l10n/ru.json b/l10n/ru.json index 7c190fc1..125df83f 100644 --- a/l10n/ru.json +++ b/l10n/ru.json @@ -102,6 +102,8 @@ "Create form": "Создать форму", "Fill in form in ONLYOFFICE": "Заполнить форму в ONLYOFFICE", "Create new Form template": "Создать новый шаблон формы", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Обновите сервер ONLYOFFICE Docs до версии 7.0 для работы с формами онлайн" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Обновите сервер ONLYOFFICE Docs до версии 7.0 для работы с формами онлайн", + "Security": "Безопасность", + "Run document macros": "Запускать макросы документа" },"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);" } \ No newline at end of file From e0454d1bb14a0ce173ecdd0fc8945e0a1aebc7d7 Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Tue, 7 Jun 2022 13:22:29 +0300 Subject: [PATCH 08/14] added catalan --- CHANGELOG.md | 3 ++ l10n/ca.js | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++ l10n/ca.json | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 219 insertions(+) create mode 100644 l10n/ca.js create mode 100644 l10n/ca.json diff --git a/CHANGELOG.md b/CHANGELOG.md index b5ea6407..fa1aff6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## Added +- Catalan translation + ## 7.3.3 ## Added - Turkish and Galician empty file templates diff --git a/l10n/ca.js b/l10n/ca.js new file mode 100644 index 00000000..0ad7ab2b --- /dev/null +++ b/l10n/ca.js @@ -0,0 +1,109 @@ +OC.L10N.register( + "onlyoffice", + { + "Access denied": "Accés denegat", + "Invalid request": "Sol·licitud invàlida", + "Files not found": "Arxius no trobats", + "File not found": "Arxiu no trobat", + "Not permitted": "No permès", + "Download failed": "Error en la descàrrega", + "The required folder was not found": "No s'ha trobat la carpeta necessària", + "You don't have enough permission to create": "No té suficient permís per a crear", + "Template not found": "Plantilla no trobada", + "Can't create file": "No es pot crear l'arxiu", + "Format is not supported": "Format no suportat", + "Conversion is not required": "No es requereix conversió", + "Failed to download converted file": "Fallada en la descàrrega de l'arxiu convertit", + "ONLYOFFICE app is not configured. Please contact admin": "Aplicació ONLYOFFICE no està configurada. Si us plau, contacti amb l'administrador", + "FileId is empty": "Id de l'arxiu és buit", + "You do not have enough permissions to view the file": "No té suficients permisos per a veure l'arxiu", + "Error occurred in the document service": "S'ha produït un error en el servei de documents", + "Not supported version": "Versió no compatible", + "ONLYOFFICE cannot be reached. Please contact admin": "No es pot accedir a l'ONLYOFFICE. Si us plau, contacti amb l'administrador", + "Loading, please wait.": "Carregant, esperi, si us plau.", + "File created": "Arxiu creat", + "Open in ONLYOFFICE": "Obrir en ONLYOFFICE", + "Convert with ONLYOFFICE": "Convertir amb ONLYOFFICE", + "Document": "Document", + "Spreadsheet": "Full de càlcul", + "Presentation": "Presentació", + "Error when trying to connect": "Error en intentar establir la connexió", + "Settings have been successfully updated": "Ajustos han estat actualitzats amb èxit", + "Server can't read xml": "Servidor no pot llegir xml", + "Bad Response. Errors: ": "Resposta Dolenta. Errors:", + "Documentation": "Documentació", + "ONLYOFFICE Docs Location specifies the address of the server with the document services installed. Please change the '' for the server address in the below line.": "Ubicació de l'ONLYOFFICE Docs especifica la direcció del servidor amb els serveis de documents instal·lats. Si us plau, canviï '' per a la direcció de servidor en la línia inferior.", + "Encryption App is enabled, the application cannot work. You can continue working with the application if you enable master key." : "", + "ONLYOFFICE Docs address" : "Direcció d'ONLYOFFICE Docs", + "Advanced server settings" : "Ajustos de servidor avançats", + "ONLYOFFICE Docs address for internal requests from the server" : "Direcció d'ONLYOFFICE Docs per a sol·licituds internes del servidor", + "Server address for internal requests from ONLYOFFICE Docs" : "Direcció de servidor per a sol·licituds internes de l'ONLYOFFICE Docs", + "Secret key (leave blank to disable)" : "Clau secreta (deixi en blanc o desactivi)", + "Open file in the same tab" : "Obrir arxiu en la mateixa pestanya", + "The default application for opening the format" : "L'aplicació predeterminada per a obrir el format", + "Open the file for editing (due to format restrictions, the data might be lost when saving to the formats from the list below)" : "Obrir arxiu per a editar (a causa de les restriccions de format les dades podrien perdre's en guardar en els formats de la següent llista)", + "View details" : "Veure detalls", + "Save" : "Guardar", + "Mixed Active Content is not allowed. HTTPS address for ONLYOFFICE Docs is required." : "Contingut Mixt Actiu no està permès. Es requereix la direcció HTTPS per a ONLYOFFICE Docs.", + "Restrict access to editors to following groups" : "Restringir l'accés a editors a següents grups", + "review" : "", + "form filling" : "", + "comment" : "", + "custom filter" : "", + "download" : "", + "Server settings" : "Ajustos de servidor", + "Common settings" : "Ajustos comuns", + "Editor customization settings" : "Ajustos de l'editor", + "The customization section allows personalizing the editor interface" : "La secció de personalització permet personalitzar la interfície de l'editor", + "Display Chat menu button" : "Mostrar el botó de Xat", + "Display the header more compact" : "Mostrar l'encapçalat més compacte", + "Display Feedback & Support menu button" : "Mostrar el botó de Feedback i Suport", + "Display Help menu button" : "Mostrar el botó d'Ajuda", + "Display monochrome toolbar header" : "Mostrar l'encapçalat monocromàtic de la barra d'eines", + "Save as" : "Guardar com", + "File saved" : "L'arxiu ha estat desat", + "Insert image" : "Inserir imatge", + "Select recipients" : "Seleccionar destinataris", + "Connect to demo ONLYOFFICE Docs server" : "Connectar-se al servidor de ONLYOFFICE Docs de demostració", + "This is a public test server, please do not use it for private sensitive data. The server will be available during a 30-day period." : "Aquest és un servidor de proves públic, si us plau no l'usis per a les teves dades confidencials. El servidor estarà disponible durant un període de 30 dies.", + "The 30-day test period is over, you can no longer connect to demo ONLYOFFICE Docs server." : "El període de prova de 30 dies ha acabat, ja no pots connectar-te al servidor d'ONLYOFFICE Docs de demostració.", + "You are using public demo ONLYOFFICE Docs server. Please do not store private sensitive data." : "Estàs fent servir el servidor d'ONLYOFFICE Docs de demostració. Si us plau, no emmagatzemis les teves dades confidencials aquí.", + "Select file to compare" : "Seleccioni un arxiu per comparar", + "Review mode for viewing": "Mode de revisió per visualització", + "Markup": "Canvis", + "Final": "Final", + "Original": "Original", + "version": "versió", + "Disable certificate verification (insecure)": "Desactivar la verificació de certificats (insegur)", + "Keep intermediate versions when editing (forcesave)": "Mantenir les versions intermèdies durant l'edició (forçar guardar)", + "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usar ONLYOFFICE per a generar una vista prèvia del document (ocuparà espai en el disc)", + "Keep metadata for each version once the document is edited (it will take up disk space)": "Guardar les metadades de cada versió en editar el document (ocuparà espai en el disc)", + "All history successfully deleted": "Tot l'historial s'ha eliminat correctament", + "Create": "Crear", + "Select template" : "Seleccionar plantilla", + "Invalid file provided" : "Arxiu proporcionat no vàlid", + "Empty": "Buit", + "Error" : "Error", + "Add a new template": "Afegir una plantilla nova", + "Template already exists": "La plantilla ja existeix", + "Template must be in OOXML format": "La plantilla ha de tenir el format OOXML", + "Template successfully added": "La plantilla es va agregar correctament", + "Template successfully deleted": "La plantilla es va eliminar correctament", + "Common templates": "Plantilles comunes", + "Failed to delete template": "No es va poder eliminar la plantilla", + "File has been converted. Its content might look different.": "L'arxiu s'ha convertit. El seu contingut pot ser diferent.", + "Download as": "Descarregar com", + "Download": "Descarregar", + "Origin format": "Format original", + "Failed to send notification": "Error en enviar la notificació", + "Notification sent successfully": "Notificació enviada correctament", + "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s ha esmentat en %2\$s: \"%3\$s\".", + "Choose a format to convert {fileName}": "Triï un format per a convertir {fileName}", + "Form template": "Plantilla de formulari", + "Form template from existing text file": "", + "Create form": "Crear formulari", + "Fill in form in ONLYOFFICE": "Omplir el formulari en ONLYOFFICE", + "Create new Form template": "Crear nova plantilla de formulari", + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si us plau, actualitzi ONLYOFFICE Docs a la versió 7.0 per a poder treballar amb formularis emplenables en línia" +}, +"nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/l10n/ca.json b/l10n/ca.json new file mode 100644 index 00000000..5e135516 --- /dev/null +++ b/l10n/ca.json @@ -0,0 +1,107 @@ +{ "translations": { + "Access denied": "Accés denegat", + "Invalid request": "Sol·licitud invàlida", + "Files not found": "Arxius no trobats", + "File not found": "Arxiu no trobat", + "Not permitted": "No permès", + "Download failed": "Error en la descàrrega", + "The required folder was not found": "No s'ha trobat la carpeta necessària", + "You don't have enough permission to create": "No té suficient permís per a crear", + "Template not found": "Plantilla no trobada", + "Can't create file": "No es pot crear l'arxiu", + "Format is not supported": "Format no suportat", + "Conversion is not required": "No es requereix conversió", + "Failed to download converted file": "Fallada en la descàrrega de l'arxiu convertit", + "ONLYOFFICE app is not configured. Please contact admin": "Aplicació ONLYOFFICE no està configurada. Si us plau, contacti amb l'administrador", + "FileId is empty": "Id de l'arxiu és buit", + "You do not have enough permissions to view the file": "No té suficients permisos per a veure l'arxiu", + "Error occurred in the document service": "S'ha produït un error en el servei de documents", + "Not supported version": "Versió no compatible", + "ONLYOFFICE cannot be reached. Please contact admin": "No es pot accedir a l'ONLYOFFICE. Si us plau, contacti amb l'administrador", + "Loading, please wait.": "Carregant, esperi, si us plau.", + "File created": "Arxiu creat", + "Open in ONLYOFFICE": "Obrir en ONLYOFFICE", + "Convert with ONLYOFFICE": "Convertir amb ONLYOFFICE", + "Document": "Document", + "Spreadsheet": "Full de càlcul", + "Presentation": "Presentació", + "Error when trying to connect": "Error en intentar establir la connexió", + "Settings have been successfully updated": "Ajustos han estat actualitzats amb èxit", + "Server can't read xml": "Servidor no pot llegir xml", + "Bad Response. Errors: ": "Resposta Dolenta. Errors:", + "Documentation": "Documentació", + "ONLYOFFICE Docs Location specifies the address of the server with the document services installed. Please change the '' for the server address in the below line.": "Ubicació de l'ONLYOFFICE Docs especifica la direcció del servidor amb els serveis de documents instal·lats. Si us plau, canviï '' per a la direcció de servidor en la línia inferior.", + "Encryption App is enabled, the application cannot work. You can continue working with the application if you enable master key." : "", + "ONLYOFFICE Docs address" : "Direcció d'ONLYOFFICE Docs", + "Advanced server settings" : "Ajustos de servidor avançats", + "ONLYOFFICE Docs address for internal requests from the server" : "Direcció d'ONLYOFFICE Docs per a sol·licituds internes del servidor", + "Server address for internal requests from ONLYOFFICE Docs" : "Direcció de servidor per a sol·licituds internes de l'ONLYOFFICE Docs", + "Secret key (leave blank to disable)" : "Clau secreta (deixi en blanc o desactivi)", + "Open file in the same tab" : "Obrir arxiu en la mateixa pestanya", + "The default application for opening the format" : "L'aplicació predeterminada per a obrir el format", + "Open the file for editing (due to format restrictions, the data might be lost when saving to the formats from the list below)" : "Obrir arxiu per a editar (a causa de les restriccions de format les dades podrien perdre's en guardar en els formats de la següent llista)", + "View details" : "Veure detalls", + "Save" : "Guardar", + "Mixed Active Content is not allowed. HTTPS address for ONLYOFFICE Docs is required." : "Contingut Mixt Actiu no està permès. Es requereix la direcció HTTPS per a ONLYOFFICE Docs.", + "Restrict access to editors to following groups" : "Restringir l'accés a editors a següents grups", + "review" : "", + "form filling" : "", + "comment" : "", + "custom filter" : "", + "download" : "", + "Server settings" : "Ajustos de servidor", + "Common settings" : "Ajustos comuns", + "Editor customization settings" : "Ajustos de l'editor", + "The customization section allows personalizing the editor interface" : "La secció de personalització permet personalitzar la interfície de l'editor", + "Display Chat menu button" : "Mostrar el botó de Xat", + "Display the header more compact" : "Mostrar l'encapçalat més compacte", + "Display Feedback & Support menu button" : "Mostrar el botó de Feedback i Suport", + "Display Help menu button" : "Mostrar el botó d'Ajuda", + "Display monochrome toolbar header" : "Mostrar l'encapçalat monocromàtic de la barra d'eines", + "Save as" : "Guardar com", + "File saved" : "L'arxiu ha estat desat", + "Insert image" : "Inserir imatge", + "Select recipients" : "Seleccionar destinataris", + "Connect to demo ONLYOFFICE Docs server" : "Connectar-se al servidor de ONLYOFFICE Docs de demostració", + "This is a public test server, please do not use it for private sensitive data. The server will be available during a 30-day period." : "Aquest és un servidor de proves públic, si us plau no l'usis per a les teves dades confidencials. El servidor estarà disponible durant un període de 30 dies.", + "The 30-day test period is over, you can no longer connect to demo ONLYOFFICE Docs server." : "El període de prova de 30 dies ha acabat, ja no pots connectar-te al servidor d'ONLYOFFICE Docs de demostració.", + "You are using public demo ONLYOFFICE Docs server. Please do not store private sensitive data." : "Estàs fent servir el servidor d'ONLYOFFICE Docs de demostració. Si us plau, no emmagatzemis les teves dades confidencials aquí.", + "Select file to compare" : "Seleccioni un arxiu per comparar", + "Review mode for viewing": "Mode de revisió per visualització", + "Markup": "Canvis", + "Final": "Final", + "Original": "Original", + "version": "versió", + "Disable certificate verification (insecure)": "Desactivar la verificació de certificats (insegur)", + "Keep intermediate versions when editing (forcesave)": "Mantenir les versions intermèdies durant l'edició (forçar guardar)", + "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usar ONLYOFFICE per a generar una vista prèvia del document (ocuparà espai en el disc)", + "Keep metadata for each version once the document is edited (it will take up disk space)": "Guardar les metadades de cada versió en editar el document (ocuparà espai en el disc)", + "All history successfully deleted": "Tot l'historial s'ha eliminat correctament", + "Create": "Crear", + "Select template" : "Seleccionar plantilla", + "Invalid file provided" : "Arxiu proporcionat no vàlid", + "Empty": "Buit", + "Error" : "Error", + "Add a new template": "Afegir una plantilla nova", + "Template already exists": "La plantilla ja existeix", + "Template must be in OOXML format": "La plantilla ha de tenir el format OOXML", + "Template successfully added": "La plantilla es va agregar correctament", + "Template successfully deleted": "La plantilla es va eliminar correctament", + "Common templates": "Plantilles comunes", + "Failed to delete template": "No es va poder eliminar la plantilla", + "File has been converted. Its content might look different.": "L'arxiu s'ha convertit. El seu contingut pot ser diferent.", + "Download as": "Descarregar com", + "Download": "Descarregar", + "Origin format": "Format original", + "Failed to send notification": "Error en enviar la notificació", + "Notification sent successfully": "Notificació enviada correctament", + "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s ha esmentat en %2$s: \"%3$s\".", + "Choose a format to convert {fileName}": "Triï un format per a convertir {fileName}", + "Form template": "Plantilla de formulari", + "Form template from existing text file": "", + "Create form": "Crear formulari", + "Fill in form in ONLYOFFICE": "Omplir el formulari en ONLYOFFICE", + "Create new Form template": "Crear nova plantilla de formulari", + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si us plau, actualitzi ONLYOFFICE Docs a la versió 7.0 per a poder treballar amb formularis emplenables en línia" +},"pluralForm" :"nplurals=2; plural=(n != 1);" +} \ No newline at end of file From 1f4bf3b15784959b930f5266343606b3139b1805 Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Wed, 8 Jun 2022 09:48:18 +0300 Subject: [PATCH 09/14] check existing format --- controller/editorapicontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/editorapicontroller.php b/controller/editorapicontroller.php index 065a8f70..30a40553 100644 --- a/controller/editorapicontroller.php +++ b/controller/editorapicontroller.php @@ -265,7 +265,7 @@ public function config($fileId, $filePath = null, $shareToken = null, $version = $fileName = $file->getName(); $ext = strtolower(pathinfo($fileName, PATHINFO_EXTENSION)); - $format = !empty($ext) ? $this->config->FormatsSetting()[$ext] : null; + $format = !empty($ext) && array_key_exists($ext, $this->config->FormatsSetting()) ? $this->config->FormatsSetting()[$ext] : null; if (!isset($format)) { $this->logger->info("Format is not supported for editing: $fileName", ["app" => $this->appName]); return new JSONResponse(["error" => $this->trans->t("Format is not supported")]); From 4cb12d6dc078def33f7b8b7c81a2bf921a64f9cd Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Fri, 24 Jun 2022 13:34:49 +0300 Subject: [PATCH 10/14] theme setting --- CHANGELOG.md | 1 + controller/editorapicontroller.php | 5 +++++ controller/settingscontroller.php | 6 +++++- js/settings.js | 4 +++- l10n/ru.js | 6 +++++- l10n/ru.json | 6 +++++- lib/appconfig.php | 34 ++++++++++++++++++++++++++++++ templates/settings.php | 27 ++++++++++++++++++++++++ 8 files changed, 85 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71bd3406..a1c160d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Added - Catalan translation - macro launch setting +- theme setting ## 7.3.3 ## Added diff --git a/controller/editorapicontroller.php b/controller/editorapicontroller.php index 8795a145..f89fca1a 100644 --- a/controller/editorapicontroller.php +++ b/controller/editorapicontroller.php @@ -685,6 +685,11 @@ private function setCustomization($params) { $params["editorConfig"]["customization"]["reviewDisplay"] = $reviewDisplay; } + $theme = $this->config->GetCustomizationTheme(); + if (isset($theme)) { + $params["editorConfig"]["customization"]["uiTheme"] = $theme; + } + //default is false if ($this->config->GetCustomizationToolbarNoTabs() === true) { $params["editorConfig"]["customization"]["toolbarNoTabs"] = true; diff --git a/controller/settingscontroller.php b/controller/settingscontroller.php index 710fa7b6..246ca7bf 100644 --- a/controller/settingscontroller.php +++ b/controller/settingscontroller.php @@ -127,6 +127,7 @@ public function index() { "successful" => $this->config->SettingsAreSuccessful(), "macros" => $this->config->GetCustomizationMacros(), "reviewDisplay" => $this->config->GetCustomizationReviewDisplay(), + "theme" => $this->config->GetCustomizationTheme(), "templates" => $this->GetGlobalTemplates() ]; return new TemplateResponse($this->appName, "settings", $data, "blank"); @@ -204,6 +205,7 @@ public function SaveAddress($documentserver, * @param bool $help - display help * @param bool $toolbarNoTabs - display toolbar tab * @param string $reviewDisplay - review viewing mode + * @param string $theme - default theme mode * * @return array */ @@ -219,7 +221,8 @@ public function SaveCommon($defFormats, $forcesave, $help, $toolbarNoTabs, - $reviewDisplay + $reviewDisplay, + $theme ) { $this->config->SetDefaultFormats($defFormats); @@ -235,6 +238,7 @@ public function SaveCommon($defFormats, $this->config->SetCustomizationHelp($help); $this->config->SetCustomizationToolbarNoTabs($toolbarNoTabs); $this->config->SetCustomizationReviewDisplay($reviewDisplay); + $this->config->SetCustomizationTheme($theme); return [ ]; diff --git a/js/settings.js b/js/settings.js index 0da52d5b..b00a6a5e 100644 --- a/js/settings.js +++ b/js/settings.js @@ -136,6 +136,7 @@ var help = $("#onlyofficeHelp").is(":checked"); var toolbarNoTabs = $("#onlyofficeToolbarNoTabs").is(":checked"); var reviewDisplay = $("input[type='radio'][name='reviewDisplay']:checked").attr("id").replace("onlyofficeReviewDisplay_", ""); + var theme = $("input[type='radio'][name='theme']:checked").attr("id").replace("onlyofficeTheme_", ""); $.ajax({ method: "PUT", @@ -153,7 +154,8 @@ forcesave: forcesave, help: help, toolbarNoTabs: toolbarNoTabs, - reviewDisplay: reviewDisplay + reviewDisplay: reviewDisplay, + theme: theme }, success: function onSuccess(response) { $(".section-onlyoffice").removeClass("icon-loading"); diff --git a/l10n/ru.js b/l10n/ru.js index 647f641b..03f4748c 100644 --- a/l10n/ru.js +++ b/l10n/ru.js @@ -106,6 +106,10 @@ OC.L10N.register( "Create new Form template": "Создать новый шаблон формы", "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Обновите сервер ONLYOFFICE Docs до версии 7.0 для работы с формами онлайн", "Security": "Безопасность", - "Run document macros": "Запускать макросы документа" + "Run document macros": "Запускать макросы документа", + "Default editor theme": "Тема редактора по умолчанию", + "Light": "Светлая", + "Classic Light": "Светлая классическая", + "Dark": "Темная" }, "nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"); diff --git a/l10n/ru.json b/l10n/ru.json index 125df83f..ba359337 100644 --- a/l10n/ru.json +++ b/l10n/ru.json @@ -104,6 +104,10 @@ "Create new Form template": "Создать новый шаблон формы", "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Обновите сервер ONLYOFFICE Docs до версии 7.0 для работы с формами онлайн", "Security": "Безопасность", - "Run document macros": "Запускать макросы документа" + "Run document macros": "Запускать макросы документа", + "Default editor theme": "Тема редактора по умолчанию", + "Light": "Светлая", + "Classic Light": "Светлая классическая", + "Dark": "Темная" },"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);" } \ No newline at end of file diff --git a/lib/appconfig.php b/lib/appconfig.php index dbb46a68..38bbc9d4 100644 --- a/lib/appconfig.php +++ b/lib/appconfig.php @@ -172,6 +172,13 @@ class AppConfig { */ private $_customizationReviewDisplay = "customizationReviewDisplay"; + /** + * The config key for the theme setting + * + * @var string + */ + private $_customizationTheme = "customizationTheme"; + /** * The config key for the setting limit groups * @@ -813,6 +820,33 @@ public function GetCustomizationReviewDisplay() { return "original"; } + /** + * Save theme setting + * + * @param string $value - theme + */ + public function SetCustomizationTheme($value) { + $this->logger->info("Set theme: " . $value, array("app" => $this->appName)); + + $this->config->setAppValue($this->appName, $this->_customizationTheme, $value); + } + + /** + * Get theme setting + * + * @return string + */ + public function GetCustomizationTheme() { + $value = $this->config->getAppValue($this->appName, $this->_customizationTheme, "theme-classic-light"); + if ($value === "theme-light") { + return "theme-light"; + } + if ($value === "theme-dark") { + return "theme-dark"; + } + return "theme-classic-light"; + } + /** * Save macros setting * diff --git a/templates/settings.php b/templates/settings.php index 37d6e16e..78012822 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -228,6 +228,33 @@ +

+ t("Default editor theme")) ?> +

+
+
+ checked="checked" /> + +
+
+ checked="checked" /> + +
+
+ checked="checked" /> + +
+
+

From 98fc124329d6ca8a74b4da8f3b77996be3717d29 Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Fri, 24 Jun 2022 17:13:03 +0300 Subject: [PATCH 11/14] added translations --- l10n/bg_BG.js | 7 ++++++- l10n/bg_BG.json | 7 ++++++- l10n/ca.js | 7 ++++++- l10n/ca.json | 7 ++++++- l10n/de.js | 9 ++++++++- l10n/de.json | 9 ++++++++- l10n/de_DE.js | 9 ++++++++- l10n/de_DE.json | 9 ++++++++- l10n/es.js | 9 ++++++++- l10n/es.json | 9 ++++++++- l10n/fr.js | 9 ++++++++- l10n/fr.json | 9 ++++++++- l10n/it.js | 9 ++++++++- l10n/it.json | 9 ++++++++- l10n/ja.js | 9 ++++++++- l10n/ja.json | 9 ++++++++- l10n/pl.js | 7 ++++++- l10n/pl.json | 7 ++++++- l10n/pt_BR.js | 7 ++++++- l10n/pt_BR.json | 7 ++++++- l10n/sv.js | 7 ++++++- l10n/sv.json | 7 ++++++- l10n/zh_CN.js | 8 +++++++- l10n/zh_CN.json | 8 +++++++- 24 files changed, 170 insertions(+), 24 deletions(-) diff --git a/l10n/bg_BG.js b/l10n/bg_BG.js index 7c31f07f..1fc558a9 100644 --- a/l10n/bg_BG.js +++ b/l10n/bg_BG.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Съхранявайте междинни версии при редактиране (force save)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Използвайте ONLYOFFICE, за да генерирате преглед на документа (ще заеме дисково пространство)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Запазете метаданните за всяка версия, щом документът бъде редактиран (ще заеме дисково пространство)", + "Clear": "Изчисти", "All history successfully deleted": "Цялата история е успешно изтрита", "Create": "Създай", "Select template" : "Избор на шаблон", @@ -104,6 +105,10 @@ OC.L10N.register( "Create form": "Създайте формуляр", "Fill in form in ONLYOFFICE": "Попълнете формуляр в ONLYOFFICE", "Create new Form template": "Създайте нов шаблон на формуляр", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Молим да актуализирате ONLYOFFICE Docs към версия 7.0, за да работи с онлайн формуляри за попълване" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Молим да актуализирате ONLYOFFICE Docs към версия 7.0, за да работи с онлайн формуляри за попълване", + "Security": "Сигурност", + "Light": "Светла", + "Classic Light": "Класически светла", + "Dark": "Тъмна" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/bg_BG.json b/l10n/bg_BG.json index 4138b823..b6666515 100644 --- a/l10n/bg_BG.json +++ b/l10n/bg_BG.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Съхранявайте междинни версии при редактиране (force save)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Използвайте ONLYOFFICE, за да генерирате преглед на документа (ще заеме дисково пространство)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Запазете метаданните за всяка версия, щом документът бъде редактиран (ще заеме дисково пространство)", + "Clear": "Изчисти", "All history successfully deleted": "Цялата история е успешно изтрита", "Create": "Създай", "Select template" : "Избор на шаблон", @@ -102,6 +103,10 @@ "Create form": "Създайте формуляр", "Fill in form in ONLYOFFICE": "Попълнете формуляр в ONLYOFFICE", "Create new Form template": "Създайте нов шаблон на формуляр", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Молим да актуализирате ONLYOFFICE Docs към версия 7.0, за да работи с онлайн формуляри за попълване" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Молим да актуализирате ONLYOFFICE Docs към версия 7.0, за да работи с онлайн формуляри за попълване", + "Security": "Сигурност", + "Light": "Светла", + "Classic Light": "Класически светла", + "Dark": "Тъмна" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/ca.js b/l10n/ca.js index 0ad7ab2b..ae12a52d 100644 --- a/l10n/ca.js +++ b/l10n/ca.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Mantenir les versions intermèdies durant l'edició (forçar guardar)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usar ONLYOFFICE per a generar una vista prèvia del document (ocuparà espai en el disc)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Guardar les metadades de cada versió en editar el document (ocuparà espai en el disc)", + "Clear": "Suprimeix", "All history successfully deleted": "Tot l'historial s'ha eliminat correctament", "Create": "Crear", "Select template" : "Seleccionar plantilla", @@ -104,6 +105,10 @@ OC.L10N.register( "Create form": "Crear formulari", "Fill in form in ONLYOFFICE": "Omplir el formulari en ONLYOFFICE", "Create new Form template": "Crear nova plantilla de formulari", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si us plau, actualitzi ONLYOFFICE Docs a la versió 7.0 per a poder treballar amb formularis emplenables en línia" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si us plau, actualitzi ONLYOFFICE Docs a la versió 7.0 per a poder treballar amb formularis emplenables en línia", + "Security": "Seguretat", + "Light": "Llum", + "Classic Light": "Llum clàssica", + "Dark": "Fosc" }, "nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/l10n/ca.json b/l10n/ca.json index 5e135516..c482a394 100644 --- a/l10n/ca.json +++ b/l10n/ca.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Mantenir les versions intermèdies durant l'edició (forçar guardar)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usar ONLYOFFICE per a generar una vista prèvia del document (ocuparà espai en el disc)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Guardar les metadades de cada versió en editar el document (ocuparà espai en el disc)", + "Clear": "Suprimeix", "All history successfully deleted": "Tot l'historial s'ha eliminat correctament", "Create": "Crear", "Select template" : "Seleccionar plantilla", @@ -102,6 +103,10 @@ "Create form": "Crear formulari", "Fill in form in ONLYOFFICE": "Omplir el formulari en ONLYOFFICE", "Create new Form template": "Crear nova plantilla de formulari", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si us plau, actualitzi ONLYOFFICE Docs a la versió 7.0 per a poder treballar amb formularis emplenables en línia" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si us plau, actualitzi ONLYOFFICE Docs a la versió 7.0 per a poder treballar amb formularis emplenables en línia", + "Security": "Seguretat", + "Light": "Llum", + "Classic Light": "Llum clàssica", + "Dark": "Fosc" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/de.js b/l10n/de.js index 62b0719d..5aed6730 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Zwischenversionen bei der Bearbeitung aufbewahren (force save)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "ONLYOFFICE verwenden, um eine Dokumentvorschau zu erstellen (Speicherplatz erforderlich)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Metadaten für jede Version beim Bearbeiten des Dokuments aufbewahren (Speicherplatz erforderlich)", + "Clear": "Leeren", "All history successfully deleted": "Gesamtverlauf wurde erfolgreich gelöscht", "Create": "Erstellen", "Select template" : "Vorlage auswählen", @@ -104,6 +105,12 @@ OC.L10N.register( "Create form": "Formular erstellen", "Fill in form in ONLYOFFICE": "Formular in ONLYOFFICE ausfüllen", "Create new Form template": "Neue Formularvorlage erstellen", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Für Online-Arbeit mit Formularen ist Version 7.0 von ONLYOFFICE Docs erforderlich" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Für Online-Arbeit mit Formularen ist Version 7.0 von ONLYOFFICE Docs erforderlich", + "Security": "Sicherheit", + "Run document macros": "Makros im Dokument ausführen", + "Default editor theme": "Standardmäßiges Thema des Editors", + "Light": "Hell", + "Classic Light": "Klassisch Hell", + "Dark": "Dunkel" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/de.json b/l10n/de.json index 828fee20..036c35c2 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Zwischenversionen bei der Bearbeitung aufbewahren (force save)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "ONLYOFFICE verwenden, um eine Dokumentvorschau zu erstellen (Speicherplatz erforderlich)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Metadaten für jede Version beim Bearbeiten des Dokuments aufbewahren (Speicherplatz erforderlich)", + "Clear": "Leeren", "All history successfully deleted": "Gesamtverlauf wurde erfolgreich gelöscht", "Create": "Erstellen", "Select template" : "Vorlage auswählen", @@ -102,6 +103,12 @@ "Create form": "Formular erstellen", "Fill in form in ONLYOFFICE": "Formular in ONLYOFFICE ausfüllen", "Create new Form template": "Neue Formularvorlage erstellen", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Für Online-Arbeit mit Formularen ist Version 7.0 von ONLYOFFICE Docs erforderlich" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Für Online-Arbeit mit Formularen ist Version 7.0 von ONLYOFFICE Docs erforderlich", + "Security": "Sicherheit", + "Run document macros": "Makros im Dokument ausführen", + "Default editor theme": "Standardmäßiges Thema des Editors", + "Light": "Hell", + "Classic Light": "Klassisch Hell", + "Dark": "Dunkel" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/de_DE.js b/l10n/de_DE.js index 87fb54fa..791c0799 100644 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Zwischenversionen bei der Bearbeitung aufbewahren (force save)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "ONLYOFFICE verwenden, um eine Dokumentvorschau zu erstellen (Speicherplatz erforderlich)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Metadaten für jede Version beim Bearbeiten des Dokuments aufbewahren (Speicherplatz erforderlich)", + "Clear": "Leeren", "All history successfully deleted": "Gesamtverlauf wurde erfolgreich gelöscht", "Create": "Erstellen", "Select template" : "Vorlage auswählen", @@ -104,6 +105,12 @@ OC.L10N.register( "Create form": "Formular erstellen", "Fill in form in ONLYOFFICE": "Formular in ONLYOFFICE ausfüllen", "Create new Form template": "Neue Formularvorlage erstellen", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Für Online-Arbeit mit Formularen ist Version 7.0 von ONLYOFFICE Docs erforderlich" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Für Online-Arbeit mit Formularen ist Version 7.0 von ONLYOFFICE Docs erforderlich", + "Security": "Sicherheit", + "Run document macros": "Makros im Dokument ausführen", + "Default editor theme": "Standardmäßiges Thema des Editors", + "Light": "Hell", + "Classic Light": "Klassisch Hell", + "Dark": "Dunkel" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/de_DE.json b/l10n/de_DE.json index 6432ebe5..9a96d85a 100644 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Zwischenversionen bei der Bearbeitung aufbewahren (force save)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "ONLYOFFICE verwenden, um eine Dokumentvorschau zu erstellen (Speicherplatz erforderlich)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Metadaten für jede Version beim Bearbeiten des Dokuments aufbewahren (Speicherplatz erforderlich)", + "Clear": "Leeren", "All history successfully deleted": "Gesamtverlauf wurde erfolgreich gelöscht", "Create": "Erstellen", "Select template" : "Vorlage auswählen", @@ -102,6 +103,12 @@ "Create form": "Formular erstellen", "Fill in form in ONLYOFFICE": "Formular in ONLYOFFICE ausfüllen", "Create new Form template": "Neue Formularvorlage erstellen", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Für Online-Arbeit mit Formularen ist Version 7.0 von ONLYOFFICE Docs erforderlich" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Für Online-Arbeit mit Formularen ist Version 7.0 von ONLYOFFICE Docs erforderlich", + "Security": "Sicherheit", + "Run document macros": "Makros im Dokument ausführen", + "Default editor theme": "Standardmäßiges Thema des Editors", + "Light": "Hell", + "Classic Light": "Klassisch Hell", + "Dark": "Dunkel" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/es.js b/l10n/es.js index ff614c78..6b86c0e4 100644 --- a/l10n/es.js +++ b/l10n/es.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Mantener las versiones intermedias durante la edición (forzar guardar)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usar ONLYOFFICE para generar una vista previa del documento (ocupará espacio en el disco)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Guardar los metadatos de cada versión al editar el documento (ocupará espacio en el disco)", + "Clear": "Limpiar", "All history successfully deleted": "Todo el historial se ha eliminado correctamente", "Create": "Crear", "Select template" : "Seleccionar plantilla", @@ -104,6 +105,12 @@ OC.L10N.register( "Create form": "Crear formulario", "Fill in form in ONLYOFFICE": "Rellenar el formulario en ONLYOFFICE", "Create new Form template": "Crear nueva plantilla de formulario", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Por favor, actualice ONLYOFFICE Docs a la versión 7.0 para poder trabajar con formularios rellenables en línea" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Por favor, actualice ONLYOFFICE Docs a la versión 7.0 para poder trabajar con formularios rellenables en línea", + "Security": "Seguridad", + "Run document macros": "Ejecutar macros de documentos", + "Default editor theme": "Tema del editor predeterminado", + "Light": "Claro", + "Classic Light": "Clásico claro", + "Dark": "Oscuro" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/es.json b/l10n/es.json index e1b66f47..c52e3fb0 100644 --- a/l10n/es.json +++ b/l10n/es.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Mantener las versiones intermedias durante la edición (forzar guardar)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usar ONLYOFFICE para generar una vista previa del documento (ocupará espacio en el disco)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Guardar los metadatos de cada versión al editar el documento (ocupará espacio en el disco)", + "Clear": "Limpiar", "All history successfully deleted": "Todo el historial se ha eliminado correctamente", "Create": "Crear", "Select template" : "Seleccionar plantilla", @@ -102,6 +103,12 @@ "Create form": "Crear formulario", "Fill in form in ONLYOFFICE": "Rellenar el formulario en ONLYOFFICE", "Create new Form template": "Crear nueva plantilla de formulario", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Por favor, actualice ONLYOFFICE Docs a la versión 7.0 para poder trabajar con formularios rellenables en línea" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Por favor, actualice ONLYOFFICE Docs a la versión 7.0 para poder trabajar con formularios rellenables en línea", + "Security": "Seguridad", + "Run document macros": "Ejecutar macros de documentos", + "Default editor theme": "Tema del editor predeterminado", + "Light": "Claro", + "Classic Light": "Clásico claro", + "Dark": "Oscuro" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/fr.js b/l10n/fr.js index 66ede175..85dfc80a 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Sauvegarder les versions intermédiaires lors de l'édition (enregistrement obligatoire)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Utilisez ONLYOFFICE pour générer l'aperçu du document (occupe de l'espace disque)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Gardez les métadonnées pour chaque version dès que le document est modifié (occupe de l'espace disque)", + "Clear": "Effacer", "All history successfully deleted": "L'historique a été supprimé avec succès", "Create": "Créer", "Select template" : "Sélectionnez un modèle", @@ -104,6 +105,12 @@ OC.L10N.register( "Create form": "Créer un formulaire", "Fill in form in ONLYOFFICE": "Remplir le formulaire dans ONLYOFFICE", "Create new Form template": "Créer un nouveau modèle de formulaire", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Veuillez mettre à jour ONLYOFFICE Docs vers la version 7.0 pour travailler sur les formulaires à remplir en ligne" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Veuillez mettre à jour ONLYOFFICE Docs vers la version 7.0 pour travailler sur les formulaires à remplir en ligne", + "Security": "Sécurité", + "Run document macros": "Exécuter des macros de documents", + "Default editor theme": "Thème d'éditeur par défaut", + "Light": "Clair", + "Classic Light": "Classique clair", + "Dark": "Sombre" }, "nplurals=2; plural=(n > 1);"); diff --git a/l10n/fr.json b/l10n/fr.json index 1a195114..437f75f8 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Sauvegarder les versions intermédiaires lors de l'édition (enregistrement obligatoire)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Utilisez ONLYOFFICE pour générer l'aperçu du document (occupe de l'espace disque)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Gardez les métadonnées pour chaque version dès que le document est modifié (occupe de l'espace disque)", + "Clear": "Effacer", "All history successfully deleted": "L'historique a été supprimé avec succès", "Create": "Créer", "Select template" : "Sélectionnez un modèle", @@ -102,6 +103,12 @@ "Create form": "Créer un formulaire", "Fill in form in ONLYOFFICE": "Remplir le formulaire dans ONLYOFFICE", "Create new Form template": "Créer un nouveau modèle de formulaire", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Veuillez mettre à jour ONLYOFFICE Docs vers la version 7.0 pour travailler sur les formulaires à remplir en ligne" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Veuillez mettre à jour ONLYOFFICE Docs vers la version 7.0 pour travailler sur les formulaires à remplir en ligne", + "Security": "Sécurité", + "Run document macros": "Exécuter des macros de documents", + "Default editor theme": "Thème d'éditeur par défaut", + "Light": "Clair", + "Classic Light": "Classique clair", + "Dark": "Sombre" },"pluralForm" :"nplurals=2; plural=(n > 1);" } \ No newline at end of file diff --git a/l10n/it.js b/l10n/it.js index 22bff6c2..cfcff81e 100644 --- a/l10n/it.js +++ b/l10n/it.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Mantieni le versioni intermedie durante la modifica (forzare salvataggio)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usare ONLYOFFICE per generare anteprima documenti (occuperà spazio su disco)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Salvare metadati per ogni versione una volta modificato il documento (occuperà spazio su disco)", + "Clear": "Svuota", "All history successfully deleted": "Cronologia eliminata con successo", "Create": "Crea", "Select template" : "Seleziona modello", @@ -104,6 +105,12 @@ OC.L10N.register( "Create form": "Creare modulo", "Fill in form in ONLYOFFICE": "Compilare il modulo in ONLYOFFICE", "Create new Form template": "Creare un nuovo modello di modulo", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si prega di aggiornare ONLYOFFICE Docs alla versione 7.0 per lavorare su moduli compilabili online" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si prega di aggiornare ONLYOFFICE Docs alla versione 7.0 per lavorare su moduli compilabili online", + "Security": "Sicurezza", + "Run document macros": "Esegui le macro del documento", + "Default editor theme": "Tema dell'editor predefinito", + "Light": "Chiaro", + "Classic Light": "Classico chiaro", + "Dark": "Scuro" }, "nplurals=2; plural=(n != 1);"); \ No newline at end of file diff --git a/l10n/it.json b/l10n/it.json index f29fb39c..312cf03a 100644 --- a/l10n/it.json +++ b/l10n/it.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Mantieni le versioni intermedie durante la modifica (forzare salvataggio)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usare ONLYOFFICE per generare anteprima documenti (occuperà spazio su disco)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Salvare metadati per ogni versione una volta modificato il documento (occuperà spazio su disco)", + "Clear": "Svuota", "All history successfully deleted": "Cronologia eliminata con successo", "Create": "Crea", "Select template" : "Seleziona modello", @@ -102,6 +103,12 @@ "Create form": "Creare modulo", "Fill in form in ONLYOFFICE": "Compilare il modulo in ONLYOFFICE", "Create new Form template": "Creare un nuovo modello di modulo", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si prega di aggiornare ONLYOFFICE Docs alla versione 7.0 per lavorare su moduli compilabili online" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Si prega di aggiornare ONLYOFFICE Docs alla versione 7.0 per lavorare su moduli compilabili online", + "Security": "Sicurezza", + "Run document macros": "Esegui le macro del documento", + "Default editor theme": "Tema dell'editor predefinito", + "Light": "Chiaro", + "Classic Light": "Classico chiaro", + "Dark": "Scuro" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/ja.js b/l10n/ja.js index 837bd6c3..d1d5c04b 100644 --- a/l10n/ja.js +++ b/l10n/ja.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "編集時に、中間バージョンを保持する (強制保存)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "ONLYOFFICEを使用して、ドキュメントプレビューを生成する(ディスク容量がかかる)", "Keep metadata for each version once the document is edited (it will take up disk space)": "ドキュメントが編集されたら、各バージョンのメタデータを保持する(ディスクス容量がかかる)", + "Clear": "消去", "All history successfully deleted": "すべての履歴が正常に削除されました", "Create": "作成", "Select template" : "テンプレートを選択する", @@ -104,6 +105,12 @@ OC.L10N.register( "Create form": "フォームの作成", "Fill in form in ONLYOFFICE": "ONLYOFFICEでフォームを記入する", "Create new Form template": "新しいフォームテンプレートの作成", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "オンラインで入力可能なフォームを作成するには、ONLYOFFICE Docs 7.0版まで更新してください" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "オンラインで入力可能なフォームを作成するには、ONLYOFFICE Docs 7.0版まで更新してください", + "Security": "セキュリティ", + "Run document macros": "ドキュメントマクロを実行する", + "Default editor theme": "デフォルトのエディタテーマ", + "Light": "明るい", + "Classic Light": "明るい(クラシック)", + "Dark": "ダーク" }, "nplurals=1; plural=0;"); diff --git a/l10n/ja.json b/l10n/ja.json index 92ee9543..60d460fd 100644 --- a/l10n/ja.json +++ b/l10n/ja.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "編集時に、中間バージョンを保持する (強制保存)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "ONLYOFFICEを使用して、ドキュメントプレビューを生成する(ディスク容量がかかる)", "Keep metadata for each version once the document is edited (it will take up disk space)": "ドキュメントが編集されたら、各バージョンのメタデータを保持する(ディスクス容量がかかる)", + "Clear": "消去", "All history successfully deleted": "すべての履歴が正常に削除されました", "Create": "作成", "Select template" : "テンプレートを選択する", @@ -102,6 +103,12 @@ "Create form": "フォームの作成", "Fill in form in ONLYOFFICE": "ONLYOFFICEでフォームを記入する", "Create new Form template": "新しいフォームテンプレートの作成", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "オンラインで入力可能なフォームを作成するには、ONLYOFFICE Docs 7.0版まで更新してください" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "オンラインで入力可能なフォームを作成するには、ONLYOFFICE Docs 7.0版まで更新してください", + "Security": "セキュリティ", + "Run document macros": "ドキュメントマクロを実行する", + "Default editor theme": "デフォルトのエディタテーマ", + "Light": "明るい", + "Classic Light": "明るい(クラシック)", + "Dark": "ダーク" },"pluralForm" :"nplurals=1; plural=0;" } \ No newline at end of file diff --git a/l10n/pl.js b/l10n/pl.js index bb9e35b6..6a54a02f 100644 --- a/l10n/pl.js +++ b/l10n/pl.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Zachowuj wersje pośrednie w trakcie edycji (zapisuj automatycznie)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Skorzystaj z ONLYOFFICE, aby wygenerować podgląd dokumentu (zajmie to miejsce na dysku)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Zachowaj metadane dla każdej wersji, gdy dokument jest edytowany (zajmie to miejsce na dysku)", + "Clear": "Wyczyść", "All history successfully deleted": "Cała historia została pomyślnie usunięta", "Create": "Utwórz", "Select template" : "Wybierz szablon", @@ -104,6 +105,10 @@ OC.L10N.register( "Create form": "Utwórz formularz", "Fill in form in ONLYOFFICE": "Wypełnić formularz w ONLYOFFICE", "Create new Form template": "Utwórz nowy szablon formularza", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Zaktualizuj ONLYOFFICE Docs do wersji 7.0, aby działały w formularzach do wypełniania online" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Zaktualizuj ONLYOFFICE Docs do wersji 7.0, aby działały w formularzach do wypełniania online", + "Security": "Bezpieczeństwo", + "Light": "Jasny", + "Classic Light": "Klasyczny jasny", + "Dark": "Ciemny" }, "nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"); \ No newline at end of file diff --git a/l10n/pl.json b/l10n/pl.json index a22f0198..d16a3835 100644 --- a/l10n/pl.json +++ b/l10n/pl.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Zachowuj wersje pośrednie w trakcie edycji (zapisuj automatycznie)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Skorzystaj z ONLYOFFICE, aby wygenerować podgląd dokumentu (zajmie to miejsce na dysku)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Zachowaj metadane dla każdej wersji, gdy dokument jest edytowany (zajmie to miejsce na dysku)", + "Clear": "Wyczyść", "All history successfully deleted": "Cała historia została pomyślnie usunięta", "Create": "Utwórz", "Select template" : "Wybierz szablon", @@ -102,6 +103,10 @@ "Create form": "Utwórz formularz", "Fill in form in ONLYOFFICE": "Wypełnić formularz w ONLYOFFICE", "Create new Form template": "Utwórz nowy szablon formularza", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Zaktualizuj ONLYOFFICE Docs do wersji 7.0, aby działały w formularzach do wypełniania online" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Zaktualizuj ONLYOFFICE Docs do wersji 7.0, aby działały w formularzach do wypełniania online", + "Security": "Bezpieczeństwo", + "Light": "Jasny", + "Classic Light": "Klasyczny jasny", + "Dark": "Ciemny" },"pluralForm" :"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);" } \ No newline at end of file diff --git a/l10n/pt_BR.js b/l10n/pt_BR.js index 72cfaca2..f69ea196 100644 --- a/l10n/pt_BR.js +++ b/l10n/pt_BR.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Manter versões intermediárias ao editar (forçar salvar)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usar ONLYOFFICE para gerar uma visualização do documento (ocupará espaço em disco)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Manter os metadados para cada versão após a edição (ocupará espaço em disco) (ocupará espaço em disco)", + "Clear": "Limpar", "All history successfully deleted": "O histórico foi excluído com sucesso", "Create": "Criar", "Select template" : "Selecionar um modelo", @@ -104,6 +105,10 @@ OC.L10N.register( "Create form": "Criar formulário", "Fill in form in ONLYOFFICE": "Preencher formulário no ONLYOFFICE", "Create new Form template": "Criar novo modelo de Formulário", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Atualize o ONLYOFFICE Docs para a versão 7.0 para trabalhar em formulários preenchíveis online" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Atualize o ONLYOFFICE Docs para a versão 7.0 para trabalhar em formulários preenchíveis online", + "Security": "Segurança", + "Light": "Claro", + "Classic Light": "Clássico claro", + "Dark": "Escuro" }, "nplurals=2; plural=(n > 1);"); diff --git a/l10n/pt_BR.json b/l10n/pt_BR.json index 379a3e91..1c89722d 100644 --- a/l10n/pt_BR.json +++ b/l10n/pt_BR.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Manter versões intermediárias ao editar (forçar salvar)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Usar ONLYOFFICE para gerar uma visualização do documento (ocupará espaço em disco)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Manter os metadados para cada versão após a edição (ocupará espaço em disco) (ocupará espaço em disco)", + "Clear": "Limpar", "All history successfully deleted": "O histórico foi excluído com sucesso", "Create": "Criar", "Select template" : "Selecionar um modelo", @@ -102,6 +103,10 @@ "Create form": "Criar formulário", "Fill in form in ONLYOFFICE": "Preencher formulário no ONLYOFFICE", "Create new Form template": "Criar novo modelo de Formulário", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Atualize o ONLYOFFICE Docs para a versão 7.0 para trabalhar em formulários preenchíveis online" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Atualize o ONLYOFFICE Docs para a versão 7.0 para trabalhar em formulários preenchíveis online", + "Security": "Segurança", + "Light": "Claro", + "Classic Light": "Clássico claro", + "Dark": "Escuro" },"pluralForm" :"nplurals=2; plural=(n > 1);" } diff --git a/l10n/sv.js b/l10n/sv.js index 3fc6c41d..9f5a7164 100644 --- a/l10n/sv.js +++ b/l10n/sv.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Behåll mellanliggande versioner vid redigering (tvinga att spara)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Använd ONLYOFFICE för att generera en förhandsgranskning av dokument (detta använder diskutrymme)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Behåll metadata för varje version när dokumentet redigeras (detta använder diskutrymme) ", + "Clear": "Rensa", "All history successfully deleted": "All historik har tagits bort", "Create": "Skapa", "Select template" : "Välj mall", @@ -104,6 +105,10 @@ OC.L10N.register( "Create form": "Skapa formulär", "Fill in form in ONLYOFFICE": "Fylla i formulär i ONLYOFFICE", "Create new Form template": "Skapa ny formulärmall", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Uppdatera ONLYOFFICE Docs till version 7.0 för att arbeta med ifyllbart onlineformulär" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Uppdatera ONLYOFFICE Docs till version 7.0 för att arbeta med ifyllbart onlineformulär", + "Security": "Säkerhet", + "Light": "Ljus", + "Classic Light": "Klassiskt ljus", + "Dark": "Mörk" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/sv.json b/l10n/sv.json index e177775a..82483a92 100644 --- a/l10n/sv.json +++ b/l10n/sv.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Behåll mellanliggande versioner vid redigering (tvinga att spara)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Använd ONLYOFFICE för att generera en förhandsgranskning av dokument (detta använder diskutrymme)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Behåll metadata för varje version när dokumentet redigeras (detta använder diskutrymme) ", + "Clear": "Rensa", "All history successfully deleted": "All historik har tagits bort", "Create": "Skapa", "Select template" : "Välj mall", @@ -102,6 +103,10 @@ "Create form": "Skapa formulär", "Fill in form in ONLYOFFICE": "Fylla i formulär i ONLYOFFICE", "Create new Form template": "Skapa ny formulärmall", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Uppdatera ONLYOFFICE Docs till version 7.0 för att arbeta med ifyllbart onlineformulär" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "Uppdatera ONLYOFFICE Docs till version 7.0 för att arbeta med ifyllbart onlineformulär", + "Security": "Säkerhet", + "Light": "Ljus", + "Classic Light": "Klassiskt ljus", + "Dark": "Mörk" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/zh_CN.js b/l10n/zh_CN.js index 6c19e689..b257ea88 100644 --- a/l10n/zh_CN.js +++ b/l10n/zh_CN.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "编辑时保留中间版本 (强制保存)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "使用ONLYOFFICE生成文档预览(将占用磁盘空间)", "Keep metadata for each version once the document is edited (it will take up disk space)": "编辑文档后保留每个版本的元数据(它将占用磁盘空间)", + "Clear": "清除", "All history successfully deleted": "所有历史记录成功删除", "Create": "创建", "Select template" : "选择模板", @@ -104,6 +105,11 @@ OC.L10N.register( "Create form": "创建表单", "Fill in form in ONLYOFFICE": "在ONLYOFFICE上填写表单", "Create new Form template": "创建新的表单模板", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "请将ONLYOFFICE Docs更新到7.0版本,以便在线编辑可填写的表单" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "请将ONLYOFFICE Docs更新到7.0版本,以便在线编辑可填写的表单", + "Security": "安全", + "Default editor theme": "编辑器默认的主题", + "Light": "光", + "Classic Light": "经典浅色", + "Dark": "黑暗的" }, "nplurals=1; plural=0;"); diff --git a/l10n/zh_CN.json b/l10n/zh_CN.json index 77ece801..f1261e62 100644 --- a/l10n/zh_CN.json +++ b/l10n/zh_CN.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "编辑时保留中间版本 (强制保存)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "使用ONLYOFFICE生成文档预览(将占用磁盘空间)", "Keep metadata for each version once the document is edited (it will take up disk space)": "编辑文档后保留每个版本的元数据(它将占用磁盘空间)", + "Clear": "清除", "All history successfully deleted": "所有历史记录成功删除", "Create": "创建", "Select template" : "选择模板", @@ -102,6 +103,11 @@ "Create form": "创建表单", "Fill in form in ONLYOFFICE": "在ONLYOFFICE上填写表单", "Create new Form template": "创建新的表单模板", - "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "请将ONLYOFFICE Docs更新到7.0版本,以便在线编辑可填写的表单" + "Please update ONLYOFFICE Docs to version 7.0 to work on fillable forms online": "请将ONLYOFFICE Docs更新到7.0版本,以便在线编辑可填写的表单", + "Security": "安全", + "Default editor theme": "编辑器默认的主题", + "Light": "光", + "Classic Light": "经典浅色", + "Dark": "黑暗的" },"pluralForm" :"nplurals=1; plural=0;" } \ No newline at end of file From d4cd8072537d2addff46fc0142b8c3c3e14f9c6d Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Tue, 28 Jun 2022 17:34:11 +0300 Subject: [PATCH 12/14] added catalan phrase to create new --- l10n/ca.js | 2 +- l10n/ca.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l10n/ca.js b/l10n/ca.js index ae12a52d..c230910f 100644 --- a/l10n/ca.js +++ b/l10n/ca.js @@ -101,7 +101,7 @@ OC.L10N.register( "%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s ha esmentat en %2\$s: \"%3\$s\".", "Choose a format to convert {fileName}": "Triï un format per a convertir {fileName}", "Form template": "Plantilla de formulari", - "Form template from existing text file": "", + "Form template from existing text file": "Plantilla de formulari d'un fitxer de text existent", "Create form": "Crear formulari", "Fill in form in ONLYOFFICE": "Omplir el formulari en ONLYOFFICE", "Create new Form template": "Crear nova plantilla de formulari", diff --git a/l10n/ca.json b/l10n/ca.json index c482a394..f15dba9e 100644 --- a/l10n/ca.json +++ b/l10n/ca.json @@ -99,7 +99,7 @@ "%1$s mentioned in the %2$s: \"%3$s\".": "%1$s ha esmentat en %2$s: \"%3$s\".", "Choose a format to convert {fileName}": "Triï un format per a convertir {fileName}", "Form template": "Plantilla de formulari", - "Form template from existing text file": "", + "Form template from existing text file": "Plantilla de formulari d'un fitxer de text existent", "Create form": "Crear formulari", "Fill in form in ONLYOFFICE": "Omplir el formulari en ONLYOFFICE", "Create new Form template": "Crear nova plantilla de formulari", From b8beae76eba9a2d33af4874cea63428b98396638 Mon Sep 17 00:00:00 2001 From: Antipkin-A Date: Tue, 19 Jul 2022 10:15:59 +0300 Subject: [PATCH 13/14] phrase "clear" (ru) --- l10n/ru.js | 1 + l10n/ru.json | 1 + 2 files changed, 2 insertions(+) diff --git a/l10n/ru.js b/l10n/ru.js index 03f4748c..4107a571 100644 --- a/l10n/ru.js +++ b/l10n/ru.js @@ -78,6 +78,7 @@ OC.L10N.register( "Keep intermediate versions when editing (forcesave)": "Хранить промежуточные версии при редактировании (принудительное сохранение)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Использовать ONLYOFFICE для создания превью документа (займет место на диске)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Сохранять метаданные для каждой версии после редактирования (займет место на диске)", + "Clear": "Очистить", "All history successfully deleted": "История успешно удалена", "Create": "Создать", "Select template" : "Выбрать шаблон", diff --git a/l10n/ru.json b/l10n/ru.json index ba359337..01a97e24 100644 --- a/l10n/ru.json +++ b/l10n/ru.json @@ -76,6 +76,7 @@ "Keep intermediate versions when editing (forcesave)": "Хранить промежуточные версии при редактировании (принудительное сохранение)", "Use ONLYOFFICE to generate a document preview (it will take up disk space)": "Использовать ONLYOFFICE для создания превью документа (займет место на диске)", "Keep metadata for each version once the document is edited (it will take up disk space)": "Сохранять метаданные для каждой версии после редактирования (займет место на диске)", + "Clear": "Очистить", "All history successfully deleted": "История успешно удалена", "Create": "Создать", "Select template" : "Выбрать шаблон", From 378484c2a847d8739a0307d2ea0bda93783d83ca Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Tue, 19 Jul 2022 10:09:00 +0300 Subject: [PATCH 14/14] 7.5.3 --- CHANGELOG.md | 1 + appinfo/info.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1c160d2..e2ac85e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Change Log +## 7.5.3 ## Added - Catalan translation - macro launch setting diff --git a/appinfo/info.xml b/appinfo/info.xml index 9df3d0c1..66faef68 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -6,7 +6,7 @@ ONLYOFFICE connector allows you to view, edit and collaborate on text documents, spreadsheets and presentations within ownCloud using ONLYOFFICE Docs. This will create a new Edit in ONLYOFFICE action within the document library for Office documents. This allows multiple users to co-author documents in real time from the familiar web interface and save the changes back to your file storage. apl2 Ascensio System SIA - 7.3.3 + 7.5.3 Onlyoffice