LANG.js 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. uploadLabel: 'Upload',
  22. uploadTitle: 'Upload selected files',
  23. msgNo: 'No',
  24. msgNoFilesSelected: 'No files selected',
  25. msgCancelled: 'Cancelled',
  26. msgZoomModalHeading: 'Detailed Preview',
  27. msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
  28. msgSizeTooLarge: 'File "{name}" (<b>{size} KB</b>) exceeds maximum allowed upload size of <b>{maxSize} KB</b>.',
  29. msgFilesTooLess: 'You must select at least <b>{n}</b> {files} to upload.',
  30. msgFilesTooMany: 'Number of files selected for upload <b>({n})</b> exceeds maximum allowed limit of <b>{m}</b>.',
  31. msgFileNotFound: 'File "{name}" not found!',
  32. msgFileSecured: 'Security restrictions prevent reading the file "{name}".',
  33. msgFileNotReadable: 'File "{name}" is not readable.',
  34. msgFilePreviewAborted: 'File preview aborted for "{name}".',
  35. msgFilePreviewError: 'An error occurred while reading the file "{name}".',
  36. msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
  37. msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.',
  38. msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.',
  39. msgFileTypes: {
  40. 'image': 'image',
  41. 'html': 'HTML',
  42. 'text': 'text',
  43. 'video': 'video',
  44. 'audio': 'audio',
  45. 'flash': 'flash',
  46. 'pdf': 'PDF',
  47. 'object': 'object'
  48. },
  49. msgUploadAborted: 'The file upload was aborted',
  50. msgUploadThreshold: 'Processing...',
  51. msgUploadBegin: 'Initializing...',
  52. msgUploadEnd: 'Done',
  53. msgUploadEmpty: 'No valid data available for upload.',
  54. msgValidationError: 'Validation Error',
  55. msgLoading: 'Loading file {index} of {files} &hellip;',
  56. msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.',
  57. msgSelected: '{n} {files} selected',
  58. msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).',
  59. msgImageWidthSmall: 'Width of image file "{name}" must be at least {size} px.',
  60. msgImageHeightSmall: 'Height of image file "{name}" must be at least {size} px.',
  61. msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.',
  62. msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.',
  63. msgImageResizeError: 'Could not get the image dimensions to resize.',
  64. msgImageResizeException: 'Error while resizing the image.<pre>{errors}</pre>',
  65. msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
  66. msgAjaxProgressError: '{operation} failed',
  67. ajaxOperations: {
  68. deleteThumb: 'file delete',
  69. uploadThumb: 'file upload',
  70. uploadBatch: 'batch file upload',
  71. uploadExtra: 'form data upload'
  72. },
  73. dropZoneTitle: 'Drag & drop files here &hellip;',
  74. dropZoneClickTitle: '<br>(or click to select {files})',
  75. fileActionSettings: {
  76. removeTitle: 'Remove file',
  77. uploadTitle: 'Upload file',
  78. zoomTitle: 'View details',
  79. dragTitle: 'Move / Rearrange',
  80. indicatorNewTitle: 'Not uploaded yet',
  81. indicatorSuccessTitle: 'Uploaded',
  82. indicatorErrorTitle: 'Upload Error',
  83. indicatorLoadingTitle: 'Uploading ...'
  84. },
  85. previewZoomButtonTitles: {
  86. prev: 'View previous file',
  87. next: 'View next file',
  88. toggleheader: 'Toggle header',
  89. fullscreen: 'Toggle full screen',
  90. borderless: 'Toggle borderless mode',
  91. close: 'Close detailed preview'
  92. }
  93. };
  94. })(window.jQuery);