LANG.js 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /*!
  2. * FileInput <_LANG_> Translations
  3. *
  4. * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
  5. * any HTML markup tags in the messages must not be converted or translated.
  6. *
  7. * @see http://github.com/kartik-v/bootstrap-fileinput
  8. *
  9. * NOTE: this file must be saved in UTF-8 encoding.
  10. */
  11. (function ($) {
  12. "use strict";
  13. $.fn.fileinputLocales['_LANG_'] = {
  14. sizeUnits: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
  15. bitRateUnits: ['B/s', 'KB/s', 'MB/s', 'GB/s', 'TB/s', 'PB/s', 'EB/s', 'ZB/s', 'YB/s'],
  16. fileSingle: 'file',
  17. filePlural: 'files',
  18. browseLabel: 'Browse &hellip;',
  19. removeLabel: 'Remove',
  20. removeTitle: 'Clear selected files',
  21. cancelLabel: 'Cancel',
  22. cancelTitle: 'Abort ongoing upload',
  23. pauseLabel: 'Pause',
  24. pauseTitle: 'Pause ongoing upload',
  25. uploadLabel: 'Upload',
  26. uploadTitle: 'Upload selected files',
  27. msgNo: 'No',
  28. msgNoFilesSelected: 'No files selected',
  29. msgPaused: 'Paused',
  30. msgCancelled: 'Cancelled',
  31. msgPlaceholder: 'Select {files} ...',
  32. msgZoomModalHeading: 'Detailed Preview',
  33. msgFileRequired: 'You must select a file to upload.',
  34. msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
  35. msgSizeTooLarge: 'File "{name}" (<b>{size} KB</b>) exceeds maximum allowed upload size of <b>{maxSize} KB</b>.',
  36. msgFilesTooLess: 'You must select at least <b>{n}</b> {files} to upload.',
  37. msgFilesTooMany: 'Number of files selected for upload <b>({n})</b> exceeds maximum allowed limit of <b>{m}</b>.',
  38. msgTotalFilesTooMany: 'You can upload a maximum of <b>{m}</b> files (<b>{n}</b> files detected).',
  39. msgFileNotFound: 'File "{name}" not found!',
  40. msgFileSecured: 'Security restrictions prevent reading the file "{name}".',
  41. msgFileNotReadable: 'File "{name}" is not readable.',
  42. msgFilePreviewAborted: 'File preview aborted for "{name}".',
  43. msgFilePreviewError: 'An error occurred while reading the file "{name}".',
  44. msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
  45. msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.',
  46. msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.',
  47. msgFileTypes: {
  48. 'image': 'image',
  49. 'html': 'HTML',
  50. 'text': 'text',
  51. 'video': 'video',
  52. 'audio': 'audio',
  53. 'flash': 'flash',
  54. 'pdf': 'PDF',
  55. 'object': 'object'
  56. },
  57. msgUploadAborted: 'The file upload was aborted',
  58. msgUploadThreshold: 'Processing &hellip;',
  59. msgUploadBegin: 'Initializing &hellip;',
  60. msgUploadEnd: 'Done',
  61. msgUploadResume: 'Resuming upload &hellip;',
  62. msgUploadEmpty: 'No valid data available for upload.',
  63. msgUploadError: 'Upload Error',
  64. msgDeleteError: 'Delete Error',
  65. msgProgressError: 'Error',
  66. msgValidationError: 'Validation Error',
  67. msgLoading: 'Loading file {index} of {files} &hellip;',
  68. msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.',
  69. msgSelected: '{n} {files} selected',
  70. msgProcessing: 'Processing ...',
  71. msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).',
  72. msgImageWidthSmall: 'Width of image file "{name}" must be at least {size} px.',
  73. msgImageHeightSmall: 'Height of image file "{name}" must be at least {size} px.',
  74. msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.',
  75. msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.',
  76. msgImageResizeError: 'Could not get the image dimensions to resize.',
  77. msgImageResizeException: 'Error while resizing the image.<pre>{errors}</pre>',
  78. msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
  79. msgAjaxProgressError: '{operation} failed',
  80. msgDuplicateFile: 'File "{name}" of same size "{size} KB" has already been selected earlier. Skipping duplicate selection.',
  81. msgResumableUploadRetriesExceeded: 'Upload aborted beyond <b>{max}</b> retries for file <b>{file}</b>! Error Details: <pre>{error}</pre>',
  82. msgPendingTime: '{time} remaining',
  83. msgCalculatingTime: 'calculating time remaining',
  84. ajaxOperations: {
  85. deleteThumb: 'file delete',
  86. uploadThumb: 'file upload',
  87. uploadBatch: 'batch file upload',
  88. uploadExtra: 'form data upload'
  89. },
  90. dropZoneTitle: 'Drag & drop files here &hellip;',
  91. dropZoneClickTitle: '<br>(or click to select {files})',
  92. fileActionSettings: {
  93. removeTitle: 'Remove file',
  94. uploadTitle: 'Upload file',
  95. uploadRetryTitle: 'Retry upload',
  96. downloadTitle: 'Download file',
  97. zoomTitle: 'View details',
  98. dragTitle: 'Move / Rearrange',
  99. indicatorNewTitle: 'Not uploaded yet',
  100. indicatorSuccessTitle: 'Uploaded',
  101. indicatorErrorTitle: 'Upload Error',
  102. indicatorPausedTitle: 'Upload Paused',
  103. indicatorLoadingTitle: 'Uploading &hellip;'
  104. },
  105. previewZoomButtonTitles: {
  106. prev: 'View previous file',
  107. next: 'View next file',
  108. toggleheader: 'Toggle header',
  109. fullscreen: 'Toggle full screen',
  110. borderless: 'Toggle borderless mode',
  111. close: 'Close detailed preview'
  112. }
  113. };
  114. })(window.jQuery);