Merge pull request #5566 from owncloud/fix-double-not
Fix double not in newfile/newfolder language.
This commit is contained in:
commit
300cb22d24
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue