]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix double not in newfile/newfolder language.
authorAndreas Fischer <bantu@owncloud.com>
Sun, 27 Oct 2013 10:53:14 +0000 (11:53 +0100)
committerAndreas Fischer <bantu@owncloud.com>
Sun, 27 Oct 2013 10:53:14 +0000 (11:53 +0100)
apps/files/ajax/newfile.php
apps/files/ajax/newfolder.php

index d1183089b4ff31f000a39b8176dacfe4715712e8..eed0047fc8197e5a8362a49826a1e1a1446d6bc6 100644 (file)
@@ -53,7 +53,7 @@ $result = array(
        );
 
 if(trim($filename) === '') {
-       $result['data'] = array('message' => $l10n->t('File name cannot not be empty.'));
+       $result['data'] = array('message' => $l10n->t('File name cannot be empty.'));
        OCP\JSON::error($result);
        exit();
 }
index 1fd5359896e97cac48e16fc9eeb352f7d171c4e8..2cbc8cfeba5ee25bfce6d0fb92f6ea809356609f 100644 (file)
@@ -18,7 +18,7 @@ $result = array(
        );
 
 if(trim($foldername) === '') {
-       $result['data'] = array('message' => $l10n->t('Folder name cannot not be empty.'));
+       $result['data'] = array('message' => $l10n->t('Folder name cannot be empty.'));
        OCP\JSON::error($result);
        exit();
 }