aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine')
-rw-r--r--apps/workflowengine/l10n/is.js1
-rw-r--r--apps/workflowengine/l10n/is.json1
-rw-r--r--apps/workflowengine/l10n/sk.js3
-rw-r--r--apps/workflowengine/l10n/sk.json3
-rw-r--r--apps/workflowengine/lib/Check/FileMimeType.php5
5 files changed, 13 insertions, 0 deletions
diff --git a/apps/workflowengine/l10n/is.js b/apps/workflowengine/l10n/is.js
index 85a51d85507..292c14debe6 100644
--- a/apps/workflowengine/l10n/is.js
+++ b/apps/workflowengine/l10n/is.js
@@ -17,6 +17,7 @@ OC.L10N.register(
"matches" : "samsvarar",
"does not match" : "samsvarar ekki",
"Example: {placeholder}" : "Dæmi: {placeholder}",
+ "File name" : "Skráarheiti",
"File size (upload)" : "Skráarstærð (innsending)",
"less" : "minna en",
"less or equals" : "minna eða jafnt",
diff --git a/apps/workflowengine/l10n/is.json b/apps/workflowengine/l10n/is.json
index 077a922de43..653dda3fde3 100644
--- a/apps/workflowengine/l10n/is.json
+++ b/apps/workflowengine/l10n/is.json
@@ -15,6 +15,7 @@
"matches" : "samsvarar",
"does not match" : "samsvarar ekki",
"Example: {placeholder}" : "Dæmi: {placeholder}",
+ "File name" : "Skráarheiti",
"File size (upload)" : "Skráarstærð (innsending)",
"less" : "minna en",
"less or equals" : "minna eða jafnt",
diff --git a/apps/workflowengine/l10n/sk.js b/apps/workflowengine/l10n/sk.js
index bcaf6669dc1..f2161b95d93 100644
--- a/apps/workflowengine/l10n/sk.js
+++ b/apps/workflowengine/l10n/sk.js
@@ -6,6 +6,7 @@ OC.L10N.register(
"Reset" : "Vynulovať",
"Save" : "Uložiť",
"Saving…" : "Ukladá sa...",
+ "Group list is empty" : "Zoznam skupín je prázdny",
"Unable to retrieve the group list" : "Nie je možné načítať zoznam skupín",
"Saved" : "Uložené",
"Saving failed:" : "Ukladanie neúspešné:",
@@ -16,6 +17,7 @@ OC.L10N.register(
"matches" : "súhlasí",
"does not match" : "nesúhlasí",
"Example: {placeholder}" : "Napríklad: {placeholder}",
+ "File name" : "Názov súboru",
"File size (upload)" : "Veľkosť súboru (upload)",
"less" : "menej",
"less or equals" : "menej alebo rovné",
@@ -44,6 +46,7 @@ OC.L10N.register(
"Android client" : "Android klient",
"iOS client" : "iOS klient",
"Desktop client" : "Desktopový klient",
+ "Thunderbird & Outlook addons" : "Doplnky pre Thunderbird a Outlook",
"User group membership" : "Členstvo v skupine používateľov",
"is member of" : "Je členom",
"is not member of" : "Nie je členom",
diff --git a/apps/workflowengine/l10n/sk.json b/apps/workflowengine/l10n/sk.json
index 747230c1c69..d4ffca18ea2 100644
--- a/apps/workflowengine/l10n/sk.json
+++ b/apps/workflowengine/l10n/sk.json
@@ -4,6 +4,7 @@
"Reset" : "Vynulovať",
"Save" : "Uložiť",
"Saving…" : "Ukladá sa...",
+ "Group list is empty" : "Zoznam skupín je prázdny",
"Unable to retrieve the group list" : "Nie je možné načítať zoznam skupín",
"Saved" : "Uložené",
"Saving failed:" : "Ukladanie neúspešné:",
@@ -14,6 +15,7 @@
"matches" : "súhlasí",
"does not match" : "nesúhlasí",
"Example: {placeholder}" : "Napríklad: {placeholder}",
+ "File name" : "Názov súboru",
"File size (upload)" : "Veľkosť súboru (upload)",
"less" : "menej",
"less or equals" : "menej alebo rovné",
@@ -42,6 +44,7 @@
"Android client" : "Android klient",
"iOS client" : "iOS klient",
"Desktop client" : "Desktopový klient",
+ "Thunderbird & Outlook addons" : "Doplnky pre Thunderbird a Outlook",
"User group membership" : "Členstvo v skupine používateľov",
"is member of" : "Je členom",
"is not member of" : "Nie je členom",
diff --git a/apps/workflowengine/lib/Check/FileMimeType.php b/apps/workflowengine/lib/Check/FileMimeType.php
index bd94ec9d5bc..5f572f5aa9d 100644
--- a/apps/workflowengine/lib/Check/FileMimeType.php
+++ b/apps/workflowengine/lib/Check/FileMimeType.php
@@ -76,6 +76,11 @@ class FileMimeType extends AbstractStringCheck {
return $this->mimeType[$this->storage->getId()][$this->path];
}
+ if ($this->storage->is_dir($this->path)) {
+ $this->mimeType[$this->storage->getId()][$this->path] = 'httpd/unix-directory';
+ return $this->mimeType[$this->storage->getId()][$this->path];
+ }
+
if ($this->isWebDAVRequest()) {
// Creating a folder
if ($this->request->getMethod() === 'MKCOL') {