Fix all res/ files with ESLint rules with 0 errors.

This commit is contained in:
Gunther Brunner
2016-01-19 23:08:33 +09:00
parent 1006564ae7
commit a3f815c118
258 changed files with 1634 additions and 1634 deletions

View File

@@ -1,10 +1,10 @@
module.exports = function uploadErrorFilter(gettext) {
return function (text) {
return function(text) {
return {
'fail_invalid_app_file': gettext('Uploaded file is not valid'),
'fail_download': gettext('Failed to download file'),
'fail_invalid_url': gettext('Cannot access specified URL'),
'fail': gettext('Upload failed')
fail_invalid_app_file: gettext('Uploaded file is not valid'),
fail_download: gettext('Failed to download file'),
fail_invalid_url: gettext('Cannot access specified URL'),
fail: gettext('Upload failed')
}[text] || gettext('Upload unknown error')
}
}