summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index f14209fd925..8b448abeb89 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -1572,7 +1572,7 @@ class View {
} catch (ReservedWordException $ex) {
throw new InvalidPathException($l10n->t('File name is a reserved word'));
} catch (InvalidCharacterInPathException $ex) {
- throw new InvalidPathException($l10n->t('File name contains at least one invalid characters'));
+ throw new InvalidPathException($l10n->t('File name contains at least one invalid character'));
}
}
}