]> source.dussan.org Git - nextcloud-server.git/commitdiff
Correct "one invalid characters" to "one invalid character"
authorcmeh <cmeh@users.noreply.github.com>
Wed, 11 Mar 2015 08:59:42 +0000 (09:59 +0100)
committercmeh <cmeh@users.noreply.github.com>
Wed, 11 Mar 2015 08:59:42 +0000 (09:59 +0100)
Corrected "one invalid characters" to "one invalid character" in line 1575.

lib/private/files/view.php

index f14209fd925e6e0cc9ac268514229dfe59fd5eac..8b448abeb8968a48bdfa35b2d9fa0d1080263f23 100644 (file)
@@ -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'));
                }
        }
 }