en_US.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* eslint camelcase: 0 */
  2. const en_US = {}
  3. en_US.strings = {
  4. chooseFile: 'Choose a file',
  5. youHaveChosen: 'You have chosen: %{fileName}',
  6. orDragDrop: 'or drag it here',
  7. filesChosen: {
  8. 0: '%{smart_count} file selected',
  9. 1: '%{smart_count} files selected'
  10. },
  11. filesUploaded: {
  12. 0: '%{smart_count} file uploaded',
  13. 1: '%{smart_count} files uploaded'
  14. },
  15. files: {
  16. 0: '%{smart_count} file',
  17. 1: '%{smart_count} files'
  18. },
  19. uploadFiles: {
  20. 0: 'Upload %{smart_count} file',
  21. 1: 'Upload %{smart_count} files'
  22. },
  23. selectToUpload: 'Select files to upload',
  24. closeModal: 'Close Modal',
  25. upload: 'Upload',
  26. importFrom: 'Import files from',
  27. dashboardWindowTitle: 'Uppy Dashboard Window (Press escape to close)',
  28. dashboardTitle: 'Uppy Dashboard',
  29. copyLinkToClipboardSuccess: 'Link copied to clipboard.',
  30. copyLinkToClipboardFallback: 'Copy the URL below',
  31. done: 'Done',
  32. localDisk: 'Local Disk',
  33. dropPasteImport: 'Drop files here, paste, import from one of the locations above or',
  34. dropPaste: 'Drop files here, paste or',
  35. browse: 'browse',
  36. fileProgress: 'File progress: upload speed and ETA',
  37. numberOfSelectedFiles: 'Number of selected files',
  38. uploadAllNewFiles: 'Upload all new files'
  39. }
  40. en_US.pluralize = function (n) {
  41. if (n === 1) {
  42. return 0
  43. }
  44. return 1
  45. }
  46. if (typeof window !== 'undefined' && typeof window.Uppy !== 'undefined') {
  47. window.Uppy.locales.en_US = en_US
  48. }
  49. module.exports = en_US