LANG.js 5.4 KB

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