aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine')
-rw-r--r--apps/workflowengine/composer/composer/InstalledVersions.php14
-rw-r--r--apps/workflowengine/l10n/bg.js1
-rw-r--r--apps/workflowengine/l10n/bg.json1
-rw-r--r--apps/workflowengine/l10n/cs.js1
-rw-r--r--apps/workflowengine/l10n/cs.json1
-rw-r--r--apps/workflowengine/l10n/de.js5
-rw-r--r--apps/workflowengine/l10n/de.json5
-rw-r--r--apps/workflowengine/l10n/de_DE.js1
-rw-r--r--apps/workflowengine/l10n/de_DE.json1
-rw-r--r--apps/workflowengine/l10n/es.js3
-rw-r--r--apps/workflowengine/l10n/es.json3
-rw-r--r--apps/workflowengine/l10n/es_419.js2
-rw-r--r--apps/workflowengine/l10n/es_419.json2
-rw-r--r--apps/workflowengine/l10n/es_AR.js2
-rw-r--r--apps/workflowengine/l10n/es_AR.json2
-rw-r--r--apps/workflowengine/l10n/es_CL.js2
-rw-r--r--apps/workflowengine/l10n/es_CL.json2
-rw-r--r--apps/workflowengine/l10n/es_CO.js2
-rw-r--r--apps/workflowengine/l10n/es_CO.json2
-rw-r--r--apps/workflowengine/l10n/es_CR.js2
-rw-r--r--apps/workflowengine/l10n/es_CR.json2
-rw-r--r--apps/workflowengine/l10n/es_DO.js2
-rw-r--r--apps/workflowengine/l10n/es_DO.json2
-rw-r--r--apps/workflowengine/l10n/es_EC.js2
-rw-r--r--apps/workflowengine/l10n/es_EC.json2
-rw-r--r--apps/workflowengine/l10n/es_GT.js2
-rw-r--r--apps/workflowengine/l10n/es_GT.json2
-rw-r--r--apps/workflowengine/l10n/es_HN.js2
-rw-r--r--apps/workflowengine/l10n/es_HN.json2
-rw-r--r--apps/workflowengine/l10n/es_MX.js2
-rw-r--r--apps/workflowengine/l10n/es_MX.json2
-rw-r--r--apps/workflowengine/l10n/es_NI.js2
-rw-r--r--apps/workflowengine/l10n/es_NI.json2
-rw-r--r--apps/workflowengine/l10n/es_PA.js2
-rw-r--r--apps/workflowengine/l10n/es_PA.json2
-rw-r--r--apps/workflowengine/l10n/es_PE.js2
-rw-r--r--apps/workflowengine/l10n/es_PE.json2
-rw-r--r--apps/workflowengine/l10n/es_PR.js2
-rw-r--r--apps/workflowengine/l10n/es_PR.json2
-rw-r--r--apps/workflowengine/l10n/es_PY.js2
-rw-r--r--apps/workflowengine/l10n/es_PY.json2
-rw-r--r--apps/workflowengine/l10n/es_SV.js2
-rw-r--r--apps/workflowengine/l10n/es_SV.json2
-rw-r--r--apps/workflowengine/l10n/es_UY.js2
-rw-r--r--apps/workflowengine/l10n/es_UY.json2
-rw-r--r--apps/workflowengine/l10n/eu.js3
-rw-r--r--apps/workflowengine/l10n/eu.json3
-rw-r--r--apps/workflowengine/l10n/fr.js2
-rw-r--r--apps/workflowengine/l10n/fr.json2
-rw-r--r--apps/workflowengine/l10n/hu.js1
-rw-r--r--apps/workflowengine/l10n/hu.json1
-rw-r--r--apps/workflowengine/l10n/it.js2
-rw-r--r--apps/workflowengine/l10n/it.json2
-rw-r--r--apps/workflowengine/l10n/pl.js3
-rw-r--r--apps/workflowengine/l10n/pl.json3
-rw-r--r--apps/workflowengine/l10n/pt_BR.js3
-rw-r--r--apps/workflowengine/l10n/pt_BR.json3
-rw-r--r--apps/workflowengine/l10n/pt_PT.js2
-rw-r--r--apps/workflowengine/l10n/pt_PT.json2
-rw-r--r--apps/workflowengine/l10n/tr.js1
-rw-r--r--apps/workflowengine/l10n/tr.json1
-rw-r--r--apps/workflowengine/l10n/zh_HK.js1
-rw-r--r--apps/workflowengine/l10n/zh_HK.json1
-rw-r--r--apps/workflowengine/l10n/zh_TW.js1
-rw-r--r--apps/workflowengine/l10n/zh_TW.json1
-rw-r--r--apps/workflowengine/lib/Manager.php2
-rw-r--r--apps/workflowengine/lib/Settings/ASettings.php34
-rw-r--r--apps/workflowengine/src/components/Checks/FileMimeType.vue24
-rw-r--r--apps/workflowengine/src/components/Checks/RequestURL.vue8
-rw-r--r--apps/workflowengine/src/components/Event.vue7
-rw-r--r--apps/workflowengine/src/components/Workflow.vue32
-rw-r--r--apps/workflowengine/src/styles/operation.scss4
72 files changed, 154 insertions, 99 deletions
diff --git a/apps/workflowengine/composer/composer/InstalledVersions.php b/apps/workflowengine/composer/composer/InstalledVersions.php
index 41bc143c114..c6b54af7ba2 100644
--- a/apps/workflowengine/composer/composer/InstalledVersions.php
+++ b/apps/workflowengine/composer/composer/InstalledVersions.php
@@ -28,7 +28,7 @@ class InstalledVersions
{
/**
* @var mixed[]|null
- * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
+ * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
*/
private static $installed;
@@ -39,7 +39,7 @@ class InstalledVersions
/**
* @var array[]
- * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+ * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
*/
private static $installedByVendor = array();
@@ -243,7 +243,7 @@ class InstalledVersions
/**
* @return array
- * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
+ * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
*/
public static function getRootPackage()
{
@@ -257,7 +257,7 @@ class InstalledVersions
*
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
* @return array[]
- * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
+ * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
*/
public static function getRawData()
{
@@ -280,7 +280,7 @@ class InstalledVersions
* Returns the raw data of all installed.php which are currently loaded for custom implementations
*
* @return array[]
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+ * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
*/
public static function getAllRawData()
{
@@ -303,7 +303,7 @@ class InstalledVersions
* @param array[] $data A vendor/composer/installed.php data set
* @return void
*
- * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
+ * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
*/
public static function reload($data)
{
@@ -313,7 +313,7 @@ class InstalledVersions
/**
* @return array[]
- * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
+ * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
*/
private static function getInstalled()
{
diff --git a/apps/workflowengine/l10n/bg.js b/apps/workflowengine/l10n/bg.js
index 6af4c1ddf1f..306e8fbfc7b 100644
--- a/apps/workflowengine/l10n/bg.js
+++ b/apps/workflowengine/l10n/bg.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "Изображения",
"Office documents" : "Офис документи",
"PDF documents" : "PDF документи",
+ "Custom MIME type" : "Персонализиран файл тип MIME",
"Custom mimetype" : "Персонализиран mimetype",
"Select a tag" : "Избор на етикет",
"No results" : "Няма резултати",
diff --git a/apps/workflowengine/l10n/bg.json b/apps/workflowengine/l10n/bg.json
index c937acb482c..cdcc555de87 100644
--- a/apps/workflowengine/l10n/bg.json
+++ b/apps/workflowengine/l10n/bg.json
@@ -52,6 +52,7 @@
"Images" : "Изображения",
"Office documents" : "Офис документи",
"PDF documents" : "PDF документи",
+ "Custom MIME type" : "Персонализиран файл тип MIME",
"Custom mimetype" : "Персонализиран mimetype",
"Select a tag" : "Избор на етикет",
"No results" : "Няма резултати",
diff --git a/apps/workflowengine/l10n/cs.js b/apps/workflowengine/l10n/cs.js
index 958af0a3a99..9956f6bb378 100644
--- a/apps/workflowengine/l10n/cs.js
+++ b/apps/workflowengine/l10n/cs.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "Obrázky",
"Office documents" : "Kancelářské dokumenty",
"PDF documents" : "PDF dokumenty",
+ "Custom MIME type" : "Uživatelsky určený MIME typ",
"Custom mimetype" : "Uživatelsky určený mimetyp",
"Select a tag" : "Vybrat štítek",
"No results" : "Žádné výsledky",
diff --git a/apps/workflowengine/l10n/cs.json b/apps/workflowengine/l10n/cs.json
index cc21ef2439e..bfb5d2470cd 100644
--- a/apps/workflowengine/l10n/cs.json
+++ b/apps/workflowengine/l10n/cs.json
@@ -52,6 +52,7 @@
"Images" : "Obrázky",
"Office documents" : "Kancelářské dokumenty",
"PDF documents" : "PDF dokumenty",
+ "Custom MIME type" : "Uživatelsky určený MIME typ",
"Custom mimetype" : "Uživatelsky určený mimetyp",
"Select a tag" : "Vybrat štítek",
"No results" : "Žádné výsledky",
diff --git a/apps/workflowengine/l10n/de.js b/apps/workflowengine/l10n/de.js
index d0846bf90be..043d83d51f5 100644
--- a/apps/workflowengine/l10n/de.js
+++ b/apps/workflowengine/l10n/de.js
@@ -49,11 +49,12 @@ OC.L10N.register(
"Select a filter" : "Filter auswählen",
"Select a comparator" : "Wähle einen Komparator",
"Select a file type" : "Dateityp auswählen",
- "e.g. httpd/unix-directory" : "z.B. httpd/unix-directory",
+ "e.g. httpd/unix-directory" : "z. B. httpd/unix-directory",
"Folder" : "Ordner",
"Images" : "Bilder",
"Office documents" : "Office Dokumente",
"PDF documents" : "PDF-Dokumente",
+ "Custom MIME type" : "Benutzerdefinierter MIME Typ",
"Custom mimetype" : "Benutzerdefinierter Mime-Typ",
"Select a tag" : "Schlagwort auswählen",
"No results" : "Keine Ergebnisse",
@@ -81,7 +82,7 @@ OC.L10N.register(
"Active" : "Aktiv",
"Save" : "Speichern",
"Available flows" : "Verfügbare Abläufe",
- "For details on how to write your own flow, check out the development documentation." : "Informationen wie eigene Abläufe erstellt werden, findest Du in der Entwickler-Dokumentation.",
+ "For details on how to write your own flow, check out the development documentation." : "Informationen wie eigene Abläufe erstellt werden, findest du in der Entwickler-Dokumentation.",
"More flows" : "Weitere Abläufe",
"Browse the App Store" : "App-Store durchsuchen",
"Show less" : "Weniger anzeigen",
diff --git a/apps/workflowengine/l10n/de.json b/apps/workflowengine/l10n/de.json
index 45b5db023fa..73ad1339704 100644
--- a/apps/workflowengine/l10n/de.json
+++ b/apps/workflowengine/l10n/de.json
@@ -47,11 +47,12 @@
"Select a filter" : "Filter auswählen",
"Select a comparator" : "Wähle einen Komparator",
"Select a file type" : "Dateityp auswählen",
- "e.g. httpd/unix-directory" : "z.B. httpd/unix-directory",
+ "e.g. httpd/unix-directory" : "z. B. httpd/unix-directory",
"Folder" : "Ordner",
"Images" : "Bilder",
"Office documents" : "Office Dokumente",
"PDF documents" : "PDF-Dokumente",
+ "Custom MIME type" : "Benutzerdefinierter MIME Typ",
"Custom mimetype" : "Benutzerdefinierter Mime-Typ",
"Select a tag" : "Schlagwort auswählen",
"No results" : "Keine Ergebnisse",
@@ -79,7 +80,7 @@
"Active" : "Aktiv",
"Save" : "Speichern",
"Available flows" : "Verfügbare Abläufe",
- "For details on how to write your own flow, check out the development documentation." : "Informationen wie eigene Abläufe erstellt werden, findest Du in der Entwickler-Dokumentation.",
+ "For details on how to write your own flow, check out the development documentation." : "Informationen wie eigene Abläufe erstellt werden, findest du in der Entwickler-Dokumentation.",
"More flows" : "Weitere Abläufe",
"Browse the App Store" : "App-Store durchsuchen",
"Show less" : "Weniger anzeigen",
diff --git a/apps/workflowengine/l10n/de_DE.js b/apps/workflowengine/l10n/de_DE.js
index 526b88d87c8..1fe4f35cb6f 100644
--- a/apps/workflowengine/l10n/de_DE.js
+++ b/apps/workflowengine/l10n/de_DE.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "Bilder",
"Office documents" : "Office-Dokumente",
"PDF documents" : "PDF-Dokumente",
+ "Custom MIME type" : "Benutzerdefinierter MIME Typ",
"Custom mimetype" : "Benutzerdefinierter MIME-Typ",
"Select a tag" : "Schlagwort auswählen",
"No results" : "Keine Ergebnisse",
diff --git a/apps/workflowengine/l10n/de_DE.json b/apps/workflowengine/l10n/de_DE.json
index 7102c73c8a7..e61a8ec6698 100644
--- a/apps/workflowengine/l10n/de_DE.json
+++ b/apps/workflowengine/l10n/de_DE.json
@@ -52,6 +52,7 @@
"Images" : "Bilder",
"Office documents" : "Office-Dokumente",
"PDF documents" : "PDF-Dokumente",
+ "Custom MIME type" : "Benutzerdefinierter MIME Typ",
"Custom mimetype" : "Benutzerdefinierter MIME-Typ",
"Select a tag" : "Schlagwort auswählen",
"No results" : "Keine Ergebnisse",
diff --git a/apps/workflowengine/l10n/es.js b/apps/workflowengine/l10n/es.js
index beb2440def4..24cb96e9111 100644
--- a/apps/workflowengine/l10n/es.js
+++ b/apps/workflowengine/l10n/es.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "Imágenes",
"Office documents" : "Documentos de oficina",
"PDF documents" : "Documentos PDF",
+ "Custom MIME type" : "Tipo MIME personalizado",
"Custom mimetype" : "Tipo MIME (mimetype) personalizado",
"Select a tag" : "Selecciona una etiqueta",
"No results" : "Sin resultados",
@@ -116,4 +117,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es.json b/apps/workflowengine/l10n/es.json
index aac2196baf2..b7670df234a 100644
--- a/apps/workflowengine/l10n/es.json
+++ b/apps/workflowengine/l10n/es.json
@@ -52,6 +52,7 @@
"Images" : "Imágenes",
"Office documents" : "Documentos de oficina",
"PDF documents" : "Documentos PDF",
+ "Custom MIME type" : "Tipo MIME personalizado",
"Custom mimetype" : "Tipo MIME (mimetype) personalizado",
"Select a tag" : "Selecciona una etiqueta",
"No results" : "Sin resultados",
@@ -113,5 +114,5 @@
"User group membership" : "Pertenencia a un grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_419.js b/apps/workflowengine/l10n/es_419.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_419.js
+++ b/apps/workflowengine/l10n/es_419.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_419.json b/apps/workflowengine/l10n/es_419.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_419.json
+++ b/apps/workflowengine/l10n/es_419.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_AR.js b/apps/workflowengine/l10n/es_AR.js
index 8712207652d..1ec50d036a4 100644
--- a/apps/workflowengine/l10n/es_AR.js
+++ b/apps/workflowengine/l10n/es_AR.js
@@ -61,4 +61,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_AR.json b/apps/workflowengine/l10n/es_AR.json
index 73207b7b31f..2b6d5e78056 100644
--- a/apps/workflowengine/l10n/es_AR.json
+++ b/apps/workflowengine/l10n/es_AR.json
@@ -58,5 +58,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_CL.js b/apps/workflowengine/l10n/es_CL.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_CL.js
+++ b/apps/workflowengine/l10n/es_CL.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_CL.json b/apps/workflowengine/l10n/es_CL.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_CL.json
+++ b/apps/workflowengine/l10n/es_CL.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_CO.js b/apps/workflowengine/l10n/es_CO.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_CO.js
+++ b/apps/workflowengine/l10n/es_CO.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_CO.json b/apps/workflowengine/l10n/es_CO.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_CO.json
+++ b/apps/workflowengine/l10n/es_CO.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_CR.js b/apps/workflowengine/l10n/es_CR.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_CR.js
+++ b/apps/workflowengine/l10n/es_CR.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_CR.json b/apps/workflowengine/l10n/es_CR.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_CR.json
+++ b/apps/workflowengine/l10n/es_CR.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_DO.js b/apps/workflowengine/l10n/es_DO.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_DO.js
+++ b/apps/workflowengine/l10n/es_DO.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_DO.json b/apps/workflowengine/l10n/es_DO.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_DO.json
+++ b/apps/workflowengine/l10n/es_DO.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_EC.js b/apps/workflowengine/l10n/es_EC.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_EC.js
+++ b/apps/workflowengine/l10n/es_EC.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_EC.json b/apps/workflowengine/l10n/es_EC.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_EC.json
+++ b/apps/workflowengine/l10n/es_EC.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_GT.js b/apps/workflowengine/l10n/es_GT.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_GT.js
+++ b/apps/workflowengine/l10n/es_GT.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_GT.json b/apps/workflowengine/l10n/es_GT.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_GT.json
+++ b/apps/workflowengine/l10n/es_GT.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_HN.js b/apps/workflowengine/l10n/es_HN.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_HN.js
+++ b/apps/workflowengine/l10n/es_HN.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_HN.json b/apps/workflowengine/l10n/es_HN.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_HN.json
+++ b/apps/workflowengine/l10n/es_HN.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_MX.js b/apps/workflowengine/l10n/es_MX.js
index a559326dda3..5952ddad1ce 100644
--- a/apps/workflowengine/l10n/es_MX.js
+++ b/apps/workflowengine/l10n/es_MX.js
@@ -61,4 +61,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_MX.json b/apps/workflowengine/l10n/es_MX.json
index fd0c4e7bdb0..efe941bbdaa 100644
--- a/apps/workflowengine/l10n/es_MX.json
+++ b/apps/workflowengine/l10n/es_MX.json
@@ -58,5 +58,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_NI.js b/apps/workflowengine/l10n/es_NI.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_NI.js
+++ b/apps/workflowengine/l10n/es_NI.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_NI.json b/apps/workflowengine/l10n/es_NI.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_NI.json
+++ b/apps/workflowengine/l10n/es_NI.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_PA.js b/apps/workflowengine/l10n/es_PA.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_PA.js
+++ b/apps/workflowengine/l10n/es_PA.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_PA.json b/apps/workflowengine/l10n/es_PA.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_PA.json
+++ b/apps/workflowengine/l10n/es_PA.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_PE.js b/apps/workflowengine/l10n/es_PE.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_PE.js
+++ b/apps/workflowengine/l10n/es_PE.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_PE.json b/apps/workflowengine/l10n/es_PE.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_PE.json
+++ b/apps/workflowengine/l10n/es_PE.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_PR.js b/apps/workflowengine/l10n/es_PR.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_PR.js
+++ b/apps/workflowengine/l10n/es_PR.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_PR.json b/apps/workflowengine/l10n/es_PR.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_PR.json
+++ b/apps/workflowengine/l10n/es_PR.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_PY.js b/apps/workflowengine/l10n/es_PY.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_PY.js
+++ b/apps/workflowengine/l10n/es_PY.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_PY.json b/apps/workflowengine/l10n/es_PY.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_PY.json
+++ b/apps/workflowengine/l10n/es_PY.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_SV.js b/apps/workflowengine/l10n/es_SV.js
index 1fb9cc0968e..213682ef075 100644
--- a/apps/workflowengine/l10n/es_SV.js
+++ b/apps/workflowengine/l10n/es_SV.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=2; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_SV.json b/apps/workflowengine/l10n/es_SV.json
index f2f42dcefef..8f5f607dfe6 100644
--- a/apps/workflowengine/l10n/es_SV.json
+++ b/apps/workflowengine/l10n/es_SV.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=2; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/es_UY.js b/apps/workflowengine/l10n/es_UY.js
index 1fb9cc0968e..69840e65583 100644
--- a/apps/workflowengine/l10n/es_UY.js
+++ b/apps/workflowengine/l10n/es_UY.js
@@ -60,4 +60,4 @@ OC.L10N.register(
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/es_UY.json b/apps/workflowengine/l10n/es_UY.json
index f2f42dcefef..f86304753b3 100644
--- a/apps/workflowengine/l10n/es_UY.json
+++ b/apps/workflowengine/l10n/es_UY.json
@@ -57,5 +57,5 @@
"User group membership" : "Membresia al grupo de usuarios",
"is member of" : "es miembro de",
"is not member of" : "no es miembro de"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/eu.js b/apps/workflowengine/l10n/eu.js
index 0eafda106a3..18a54649689 100644
--- a/apps/workflowengine/l10n/eu.js
+++ b/apps/workflowengine/l10n/eu.js
@@ -54,7 +54,8 @@ OC.L10N.register(
"Images" : "Irudiak",
"Office documents" : "Office dokumentuak",
"PDF documents" : "PDF dokumentuak",
- "Custom mimetype" : "Mimemota pertsonalizatua",
+ "Custom MIME type" : "MIME mota pertsonalizatua",
+ "Custom mimetype" : "Mime mota pertsonalizatua",
"Select a tag" : "Hautatu etiketa bat",
"No results" : "Emaitzarik ez",
"%s (invisible)" : "%s (ikusezina)",
diff --git a/apps/workflowengine/l10n/eu.json b/apps/workflowengine/l10n/eu.json
index c9965c42235..f04a6d5a3b2 100644
--- a/apps/workflowengine/l10n/eu.json
+++ b/apps/workflowengine/l10n/eu.json
@@ -52,7 +52,8 @@
"Images" : "Irudiak",
"Office documents" : "Office dokumentuak",
"PDF documents" : "PDF dokumentuak",
- "Custom mimetype" : "Mimemota pertsonalizatua",
+ "Custom MIME type" : "MIME mota pertsonalizatua",
+ "Custom mimetype" : "Mime mota pertsonalizatua",
"Select a tag" : "Hautatu etiketa bat",
"No results" : "Emaitzarik ez",
"%s (invisible)" : "%s (ikusezina)",
diff --git a/apps/workflowengine/l10n/fr.js b/apps/workflowengine/l10n/fr.js
index 0b1c7bab1c1..aa6eddbe531 100644
--- a/apps/workflowengine/l10n/fr.js
+++ b/apps/workflowengine/l10n/fr.js
@@ -116,4 +116,4 @@ OC.L10N.register(
"is member of" : "est membre de",
"is not member of" : "n'est pas membre de"
},
-"nplurals=2; plural=(n > 1);");
+"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/fr.json b/apps/workflowengine/l10n/fr.json
index 667b142f869..45cafd242e2 100644
--- a/apps/workflowengine/l10n/fr.json
+++ b/apps/workflowengine/l10n/fr.json
@@ -113,5 +113,5 @@
"User group membership" : "Membre du groupe d'utilisateur",
"is member of" : "est membre de",
"is not member of" : "n'est pas membre de"
-},"pluralForm" :"nplurals=2; plural=(n > 1);"
+},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/hu.js b/apps/workflowengine/l10n/hu.js
index 125e82f4a57..4e296d63a26 100644
--- a/apps/workflowengine/l10n/hu.js
+++ b/apps/workflowengine/l10n/hu.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "Képek",
"Office documents" : "Irodai dokumentumok",
"PDF documents" : "PDF-dokumentumok",
+ "Custom MIME type" : "Egyéni MIME-típus",
"Custom mimetype" : "Egyéni MIME-típus",
"Select a tag" : "Válasszon címkét",
"No results" : "Nincs találat",
diff --git a/apps/workflowengine/l10n/hu.json b/apps/workflowengine/l10n/hu.json
index a58922f094b..1b92c87e330 100644
--- a/apps/workflowengine/l10n/hu.json
+++ b/apps/workflowengine/l10n/hu.json
@@ -52,6 +52,7 @@
"Images" : "Képek",
"Office documents" : "Irodai dokumentumok",
"PDF documents" : "PDF-dokumentumok",
+ "Custom MIME type" : "Egyéni MIME-típus",
"Custom mimetype" : "Egyéni MIME-típus",
"Select a tag" : "Válasszon címkét",
"No results" : "Nincs találat",
diff --git a/apps/workflowengine/l10n/it.js b/apps/workflowengine/l10n/it.js
index 402258b889e..69d4453b3e3 100644
--- a/apps/workflowengine/l10n/it.js
+++ b/apps/workflowengine/l10n/it.js
@@ -116,4 +116,4 @@ OC.L10N.register(
"is member of" : "è membro di",
"is not member of" : "non è membro di"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/it.json b/apps/workflowengine/l10n/it.json
index 267c5fa12ed..e67b301d69e 100644
--- a/apps/workflowengine/l10n/it.json
+++ b/apps/workflowengine/l10n/it.json
@@ -113,5 +113,5 @@
"User group membership" : "Appartenenza ai gruppi degli utenti",
"is member of" : "è membro di",
"is not member of" : "non è membro di"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/pl.js b/apps/workflowengine/l10n/pl.js
index 26b4de571fe..95654611801 100644
--- a/apps/workflowengine/l10n/pl.js
+++ b/apps/workflowengine/l10n/pl.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "Obrazy",
"Office documents" : "Dokumenty biurowe",
"PDF documents" : "Dokumenty PDF",
+ "Custom MIME type" : "Niestandardowy typ MIME",
"Custom mimetype" : "Niestandardowy typ MIME",
"Select a tag" : "Wybierz etykietę",
"No results" : "Brak wyników",
@@ -83,7 +84,7 @@ OC.L10N.register(
"Available flows" : "Dostępne przepływy",
"For details on how to write your own flow, check out the development documentation." : "Aby uzyskać szczegółowe informacje na temat pisania własnego przepływu, zapoznaj się z dokumentacją programistyczną.",
"More flows" : "Więcej przepływów",
- "Browse the App Store" : "Przeglądaj sklep z aplikacjami",
+ "Browse the App Store" : "Przeglądaj Nextcloud App Store",
"Show less" : "Pokaż mniej",
"Show more" : "Pokaż więcej",
"Configured flows" : "Skonfigurowane przepływy",
diff --git a/apps/workflowengine/l10n/pl.json b/apps/workflowengine/l10n/pl.json
index 6ace0f93395..e18a092a55a 100644
--- a/apps/workflowengine/l10n/pl.json
+++ b/apps/workflowengine/l10n/pl.json
@@ -52,6 +52,7 @@
"Images" : "Obrazy",
"Office documents" : "Dokumenty biurowe",
"PDF documents" : "Dokumenty PDF",
+ "Custom MIME type" : "Niestandardowy typ MIME",
"Custom mimetype" : "Niestandardowy typ MIME",
"Select a tag" : "Wybierz etykietę",
"No results" : "Brak wyników",
@@ -81,7 +82,7 @@
"Available flows" : "Dostępne przepływy",
"For details on how to write your own flow, check out the development documentation." : "Aby uzyskać szczegółowe informacje na temat pisania własnego przepływu, zapoznaj się z dokumentacją programistyczną.",
"More flows" : "Więcej przepływów",
- "Browse the App Store" : "Przeglądaj sklep z aplikacjami",
+ "Browse the App Store" : "Przeglądaj Nextcloud App Store",
"Show less" : "Pokaż mniej",
"Show more" : "Pokaż więcej",
"Configured flows" : "Skonfigurowane przepływy",
diff --git a/apps/workflowengine/l10n/pt_BR.js b/apps/workflowengine/l10n/pt_BR.js
index 85c1cf88f34..74e8346af39 100644
--- a/apps/workflowengine/l10n/pt_BR.js
+++ b/apps/workflowengine/l10n/pt_BR.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "Imagens",
"Office documents" : "Documentos Office",
"PDF documents" : "Documentos PDF",
+ "Custom MIME type" : "Tipo MIME personalizado",
"Custom mimetype" : "Mimetype personalizado",
"Select a tag" : "Selecione uma etiqueta",
"No results" : "Nenhum resultado",
@@ -116,4 +117,4 @@ OC.L10N.register(
"is member of" : "é membro de",
"is not member of" : "não é membro de"
},
-"nplurals=2; plural=(n > 1);");
+"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/pt_BR.json b/apps/workflowengine/l10n/pt_BR.json
index a715b6628c6..a2bfb72cc44 100644
--- a/apps/workflowengine/l10n/pt_BR.json
+++ b/apps/workflowengine/l10n/pt_BR.json
@@ -52,6 +52,7 @@
"Images" : "Imagens",
"Office documents" : "Documentos Office",
"PDF documents" : "Documentos PDF",
+ "Custom MIME type" : "Tipo MIME personalizado",
"Custom mimetype" : "Mimetype personalizado",
"Select a tag" : "Selecione uma etiqueta",
"No results" : "Nenhum resultado",
@@ -113,5 +114,5 @@
"User group membership" : "Usuário em grupo",
"is member of" : "é membro de",
"is not member of" : "não é membro de"
-},"pluralForm" :"nplurals=2; plural=(n > 1);"
+},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/pt_PT.js b/apps/workflowengine/l10n/pt_PT.js
index 40385aa33a6..7fbb68293e1 100644
--- a/apps/workflowengine/l10n/pt_PT.js
+++ b/apps/workflowengine/l10n/pt_PT.js
@@ -67,4 +67,4 @@ OC.L10N.register(
"between" : "entre",
"Request user agent" : "Solicitar agente de utilizador"
},
-"nplurals=2; plural=(n != 1);");
+"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
diff --git a/apps/workflowengine/l10n/pt_PT.json b/apps/workflowengine/l10n/pt_PT.json
index 05fab60a515..e7a08f10a22 100644
--- a/apps/workflowengine/l10n/pt_PT.json
+++ b/apps/workflowengine/l10n/pt_PT.json
@@ -64,5 +64,5 @@
"Request URL" : "Solicitar URL",
"between" : "entre",
"Request user agent" : "Solicitar agente de utilizador"
-},"pluralForm" :"nplurals=2; plural=(n != 1);"
+},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
} \ No newline at end of file
diff --git a/apps/workflowengine/l10n/tr.js b/apps/workflowengine/l10n/tr.js
index 8d13aad27be..19b5bf13bb7 100644
--- a/apps/workflowengine/l10n/tr.js
+++ b/apps/workflowengine/l10n/tr.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "Görseller",
"Office documents" : "Office belgeleri",
"PDF documents" : "PDF belgeleri",
+ "Custom MIME type" : "Özel MIME türü",
"Custom mimetype" : "Özel MIME türü",
"Select a tag" : "Etiket seçin",
"No results" : "Herhangi bir sonuç bulunamadı",
diff --git a/apps/workflowengine/l10n/tr.json b/apps/workflowengine/l10n/tr.json
index 570d1a0a804..9d28f7d38ec 100644
--- a/apps/workflowengine/l10n/tr.json
+++ b/apps/workflowengine/l10n/tr.json
@@ -52,6 +52,7 @@
"Images" : "Görseller",
"Office documents" : "Office belgeleri",
"PDF documents" : "PDF belgeleri",
+ "Custom MIME type" : "Özel MIME türü",
"Custom mimetype" : "Özel MIME türü",
"Select a tag" : "Etiket seçin",
"No results" : "Herhangi bir sonuç bulunamadı",
diff --git a/apps/workflowengine/l10n/zh_HK.js b/apps/workflowengine/l10n/zh_HK.js
index 58ea901a318..fa9c6547334 100644
--- a/apps/workflowengine/l10n/zh_HK.js
+++ b/apps/workflowengine/l10n/zh_HK.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "圖片",
"Office documents" : "Microsoft Office 文件",
"PDF documents" : "PDF 文件",
+ "Custom MIME type" : "自訂 MIME 類型",
"Custom mimetype" : "自訂 mimetype",
"Select a tag" : "選擇標籤",
"No results" : "沒有符合搜尋的項目",
diff --git a/apps/workflowengine/l10n/zh_HK.json b/apps/workflowengine/l10n/zh_HK.json
index 03c067266b6..664027a950e 100644
--- a/apps/workflowengine/l10n/zh_HK.json
+++ b/apps/workflowengine/l10n/zh_HK.json
@@ -52,6 +52,7 @@
"Images" : "圖片",
"Office documents" : "Microsoft Office 文件",
"PDF documents" : "PDF 文件",
+ "Custom MIME type" : "自訂 MIME 類型",
"Custom mimetype" : "自訂 mimetype",
"Select a tag" : "選擇標籤",
"No results" : "沒有符合搜尋的項目",
diff --git a/apps/workflowengine/l10n/zh_TW.js b/apps/workflowengine/l10n/zh_TW.js
index 124d60aa44f..57fc57a5105 100644
--- a/apps/workflowengine/l10n/zh_TW.js
+++ b/apps/workflowengine/l10n/zh_TW.js
@@ -54,6 +54,7 @@ OC.L10N.register(
"Images" : "圖片",
"Office documents" : "辦公室文件",
"PDF documents" : "PDF 文件",
+ "Custom MIME type" : "自訂 MIME 類型",
"Custom mimetype" : "自訂 mimetype",
"Select a tag" : "選取標籤",
"No results" : "無結果",
diff --git a/apps/workflowengine/l10n/zh_TW.json b/apps/workflowengine/l10n/zh_TW.json
index 4b11abf3278..2ae3aff81cd 100644
--- a/apps/workflowengine/l10n/zh_TW.json
+++ b/apps/workflowengine/l10n/zh_TW.json
@@ -52,6 +52,7 @@
"Images" : "圖片",
"Office documents" : "辦公室文件",
"PDF documents" : "PDF 文件",
+ "Custom MIME type" : "自訂 MIME 類型",
"Custom mimetype" : "自訂 mimetype",
"Select a tag" : "選取標籤",
"No results" : "無結果",
diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php
index f6c3e3086c2..659fd2421c1 100644
--- a/apps/workflowengine/lib/Manager.php
+++ b/apps/workflowengine/lib/Manager.php
@@ -30,7 +30,7 @@
namespace OCA\WorkflowEngine;
use Doctrine\DBAL\Exception;
-use OC\Cache\CappedMemoryCache;
+use OCP\Cache\CappedMemoryCache;
use OCA\WorkflowEngine\AppInfo\Application;
use OCA\WorkflowEngine\Check\FileMimeType;
use OCA\WorkflowEngine\Check\FileName;
diff --git a/apps/workflowengine/lib/Settings/ASettings.php b/apps/workflowengine/lib/Settings/ASettings.php
index d35524727a8..f3cb8d76bba 100644
--- a/apps/workflowengine/lib/Settings/ASettings.php
+++ b/apps/workflowengine/lib/Settings/ASettings.php
@@ -37,6 +37,7 @@ use OCP\AppFramework\Services\IInitialState;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\IConfig;
use OCP\IL10N;
+use OCP\IURLGenerator;
use OCP\Settings\ISettings;
use OCP\WorkflowEngine\Events\LoadSettingsScriptsEvent;
use OCP\WorkflowEngine\ICheck;
@@ -47,23 +48,13 @@ use OCP\WorkflowEngine\IOperation;
use OCP\WorkflowEngine\ISpecificOperation;
abstract class ASettings implements ISettings {
- /** @var IL10N */
- private $l10n;
-
- /** @var string */
- private $appName;
-
- /** @var IEventDispatcher */
- private $eventDispatcher;
-
- /** @var Manager */
- protected $manager;
-
- /** @var IInitialState */
- private $initialStateService;
-
- /** @var IConfig */
- private $config;
+ private IL10N $l10n;
+ private string $appName;
+ private IEventDispatcher $eventDispatcher;
+ protected Manager $manager;
+ private IInitialState $initialStateService;
+ private IConfig $config;
+ private IURLGenerator $urlGenerator;
public function __construct(
string $appName,
@@ -71,7 +62,8 @@ abstract class ASettings implements ISettings {
IEventDispatcher $eventDispatcher,
Manager $manager,
IInitialState $initialStateService,
- IConfig $config
+ IConfig $config,
+ IURLGenerator $urlGenerator
) {
$this->appName = $appName;
$this->l10n = $l;
@@ -79,6 +71,7 @@ abstract class ASettings implements ISettings {
$this->manager = $manager;
$this->initialStateService = $initialStateService;
$this->config = $config;
+ $this->urlGenerator = $urlGenerator;
}
abstract public function getScope(): int;
@@ -122,6 +115,11 @@ abstract class ASettings implements ISettings {
$this->config->getSystemValueBool('appstoreenabled', true)
);
+ $this->initialStateService->provideInitialState(
+ 'doc-url',
+ $this->urlGenerator->linkToDocs('admin-workflowengine')
+ );
+
return new TemplateResponse(Application::APP_ID, 'settings', [], 'blank');
}
diff --git a/apps/workflowengine/src/components/Checks/FileMimeType.vue b/apps/workflowengine/src/components/Checks/FileMimeType.vue
index 56a7c1d0ec4..7c4ea4d145e 100644
--- a/apps/workflowengine/src/components/Checks/FileMimeType.vue
+++ b/apps/workflowengine/src/components/Checks/FileMimeType.vue
@@ -32,12 +32,18 @@
@input="setValue">
<template slot="singleLabel" slot-scope="props">
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" />
- <img v-else :src="props.option.iconUrl">
+ <img v-else
+ class="option__icon-img"
+ :src="props.option.iconUrl"
+ alt="">
<span class="option__title option__title_single">{{ props.option.label }}</span>
</template>
<template slot="option" slot-scope="props">
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" />
- <img v-else :src="props.option.iconUrl">
+ <img v-else
+ class="option__icon-img"
+ :src="props.option.iconUrl"
+ alt="">
<span class="option__title">{{ props.option.label }}</span>
</template>
</Multiselect>
@@ -102,7 +108,7 @@ export default {
customValue() {
return {
icon: 'icon-settings-dark',
- label: t('workflowengine', 'Custom mimetype'),
+ label: t('workflowengine', 'Custom MIME type'),
pattern: '',
}
},
@@ -137,7 +143,7 @@ export default {
},
}
</script>
-<style scoped>
+<style scoped lang="scss">
.multiselect, input[type='text'] {
width: 100%;
}
@@ -148,4 +154,14 @@ export default {
overflow: hidden;
text-overflow: ellipsis;
}
+
+ .option__icon {
+ display: inline-block;
+ min-width: 30px;
+ background-position: left;
+ }
+
+ .option__icon-img {
+ margin-right: 14px;
+ }
</style>
diff --git a/apps/workflowengine/src/components/Checks/RequestURL.vue b/apps/workflowengine/src/components/Checks/RequestURL.vue
index c9b241eddfa..85283a2a14f 100644
--- a/apps/workflowengine/src/components/Checks/RequestURL.vue
+++ b/apps/workflowengine/src/components/Checks/RequestURL.vue
@@ -136,8 +136,14 @@ export default {
},
}
</script>
-<style scoped>
+<style scoped lang="scss">
.multiselect, input[type='text'] {
width: 100%;
}
+
+ .option__icon {
+ display: inline-block;
+ min-width: 30px;
+ background-position: left;
+ }
</style>
diff --git a/apps/workflowengine/src/components/Event.vue b/apps/workflowengine/src/components/Event.vue
index 5f4b8dd87b0..6eb3872e8f8 100644
--- a/apps/workflowengine/src/components/Event.vue
+++ b/apps/workflowengine/src/components/Event.vue
@@ -1,7 +1,7 @@
<template>
<div class="event">
<div v-if="operation.isComplex && operation.fixedEntity !== ''" class="isComplex">
- <img class="option__icon" :src="entity.icon">
+ <img class="option__icon" :src="entity.icon" alt="">
<span class="option__title option__title_single">{{ operation.triggerHint }}</span>
</div>
<Multiselect v-else
@@ -14,12 +14,12 @@
@input="updateEvent">
<template slot="selection" slot-scope="{ values, isOpen }">
<div v-if="values.length && !isOpen" class="eventlist">
- <img class="option__icon" :src="values[0].entity.icon">
+ <img class="option__icon" :src="values[0].entity.icon" alt="">
<span v-for="(value, index) in values" :key="value.id" class="text option__title option__title_single">{{ value.displayName }} <span v-if="index+1 < values.length">, </span></span>
</div>
</template>
<template slot="option" slot-scope="props">
- <img class="option__icon" :src="props.option.entity.icon">
+ <img class="option__icon" :src="props.option.entity.icon" alt="">
<span class="option__title">{{ props.option.displayName }}</span>
</template>
</Multiselect>
@@ -131,6 +131,7 @@ export default {
.option__icon {
width: 16px;
height: 16px;
+ filter: var(--background-invert-if-dark);
}
.eventlist img,
diff --git a/apps/workflowengine/src/components/Workflow.vue b/apps/workflowengine/src/components/Workflow.vue
index 9cdbf34018d..f81a53563b5 100644
--- a/apps/workflowengine/src/components/Workflow.vue
+++ b/apps/workflowengine/src/components/Workflow.vue
@@ -1,7 +1,7 @@
<template>
<div id="workflowengine">
- <div class="section">
- <h2>{{ t('workflowengine', 'Available flows') }}</h2>
+ <SettingsSection :title="t('workflowengine', 'Available flows')"
+ :doc-url="workflowDocUrl">
<p v-if="scope === 0" class="settings-hint">
<a href="https://nextcloud.com/developer/">{{ t('workflowengine', 'For details on how to write your own flow, check out the development documentation.') }}</a>
@@ -26,11 +26,13 @@
</transition-group>
<div v-if="hasMoreOperations" class="actions__more">
- <button class="icon"
- :class="showMoreOperations ? 'icon-triangle-n' : 'icon-triangle-s'"
- @click="showMoreOperations=!showMoreOperations">
+ <Button @click="showMoreOperations = !showMoreOperations">
+ <template #icon>
+ <MenuUp v-if="showMoreOperations" :size="20" />
+ <MenuDown v-else :size="20" />
+ </template>
{{ showMoreOperations ? t('workflowengine', 'Show less') : t('workflowengine', 'Show more') }}
- </button>
+ </Button>
</div>
<h2 v-if="scope === 0" class="configured-flows">
@@ -39,7 +41,7 @@
<h2 v-else class="configured-flows">
{{ t('workflowengine', 'Your flows') }}
</h2>
- </div>
+ </SettingsSection>
<transition-group v-if="rules.length > 0" name="slide">
<Rule v-for="rule in rules" :key="rule.id" :rule="rule" />
@@ -50,21 +52,31 @@
<script>
import Rule from './Rule'
import Operation from './Operation'
+import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection'
+import Button from '@nextcloud/vue/dist/Components/Button'
import { mapGetters, mapState } from 'vuex'
import { generateUrl } from '@nextcloud/router'
+import { loadState } from '@nextcloud/initial-state'
+import MenuUp from 'vue-material-design-icons/MenuUp'
+import MenuDown from 'vue-material-design-icons/MenuDown'
const ACTION_LIMIT = 3
export default {
name: 'Workflow',
components: {
+ Button,
+ MenuDown,
+ MenuUp,
Operation,
Rule,
+ SettingsSection,
},
data() {
return {
showMoreOperations: false,
appstoreUrl: generateUrl('settings/apps/workflow'),
+ workflowDocUrl: loadState('workflowengine', 'doc-url'),
}
},
computed: {
@@ -121,10 +133,8 @@ export default {
flex-basis: 250px;
}
}
-
- button.icon {
- padding-left: 32px;
- background-position: 10px center;
+ .actions__more {
+ margin-bottom: 10px;
}
.slide-enter-active {
diff --git a/apps/workflowengine/src/styles/operation.scss b/apps/workflowengine/src/styles/operation.scss
index d936c64e2de..860258f2851 100644
--- a/apps/workflowengine/src/styles/operation.scss
+++ b/apps/workflowengine/src/styles/operation.scss
@@ -68,11 +68,11 @@ small {
margin: 0;
margin-right: 10px;
&:not(.icon-invert) {
- filter: invert(1);
+ filter: var(--background-invert-if-bright);
}
}
}
.colored .icon-invert {
- filter: invert(1);
+ filter: var(--background-invert-if-bright);
}