uppy
Version:
Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:
55 lines (49 loc) • 1.47 kB
JavaScript
/* eslint camelcase: 0 */
const en_US = {}
en_US.strings = {
chooseFile: 'Choose a file',
youHaveChosen: 'You have chosen: %{fileName}',
orDragDrop: 'or drag it here',
filesChosen: {
0: '%{smart_count} file selected',
1: '%{smart_count} files selected'
},
filesUploaded: {
0: '%{smart_count} file uploaded',
1: '%{smart_count} files uploaded'
},
files: {
0: '%{smart_count} file',
1: '%{smart_count} files'
},
uploadFiles: {
0: 'Upload %{smart_count} file',
1: 'Upload %{smart_count} files'
},
selectToUpload: 'Select files to upload',
closeModal: 'Close Modal',
upload: 'Upload',
importFrom: 'Import files from',
dashboardWindowTitle: 'Uppy Dashboard Window (Press escape to close)',
dashboardTitle: 'Uppy Dashboard',
copyLinkToClipboardSuccess: 'Link copied to clipboard.',
copyLinkToClipboardFallback: 'Copy the URL below',
done: 'Done',
localDisk: 'Local Disk',
dropPasteImport: 'Drop files here, paste, import from one of the locations above or',
dropPaste: 'Drop files here, paste or',
browse: 'browse',
fileProgress: 'File progress: upload speed and ETA',
numberOfSelectedFiles: 'Number of selected files',
uploadAllNewFiles: 'Upload all new files'
}
en_US.pluralize = function (n) {
if (n === 1) {
return 0
}
return 1
}
if (typeof window !== 'undefined' && typeof window.Uppy !== 'undefined') {
window.Uppy.locales.en_US = en_US
}
module.exports = en_US