Merge pull request #5566 from owncloud/fix-double-not

Fix double not in newfile/newfolder language.
This commit is contained in:
Lukas Reschke 2013-10-27 03:58:09 -07:00
commit 300cb22d24
2 changed files with 2 additions and 2 deletions

View 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();
}

View 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();
}