fileinput_locale_zh-TW.js 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*!
  2. * FileInput Chinese Traditional 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. * @author kangqf <[email protected]>
  9. *
  10. * NOTE: this file must be saved in UTF-8 encoding.
  11. */
  12. (function ($) {
  13. "use strict";
  14. $.fn.fileinputLocales['zh-TW'] = {
  15. fileSingle: '單一檔案',
  16. filePlural: '複選檔案',
  17. browseLabel: '預覽 &hellip;',
  18. removeLabel: '移除',
  19. removeTitle: '清除選取檔案',
  20. cancelLabel: '取消',
  21. cancelTitle: '取消上傳中檔案',
  22. uploadLabel: '上傳',
  23. uploadTitle: '上傳選取檔案',
  24. msgZoomTitle: '詳細資料',
  25. msgZoomModalHeading: '內容預覽',
  26. msgSizeTooLarge: '檔案 "{name}" (<b>{size} KB</b>) 大小超過上限 <b>{maxSize} KB</b>.',
  27. msgFilesTooLess: '最少必須選擇 <b>{n}</b> {files} 來上傳. ',
  28. msgFilesTooMany: '上傳的檔案數量 <b>({n})</b> 超過最大檔案上傳限制 <b>{m}</b>.',
  29. msgFileNotFound: '檔案 "{name}" 未發現!',
  30. msgFileSecured: '安全限制,禁止讀取檔案 "{name}".',
  31. msgFileNotReadable: '文件 "{name}" 不可讀取.',
  32. msgFilePreviewAborted: '檔案 "{name}" 預覽中止.',
  33. msgFilePreviewError: '讀取 "{name}" 發生錯誤.',
  34. msgInvalidFileType: '檔案類型錯誤 "{name}". 只能使用 "{types}" 類型的檔案.',
  35. msgInvalidFileExtension: '附檔名錯誤 "{name}". 只能使用 "{extensions}" 的檔案.',
  36. msgValidationError: '檔案上傳失敗',
  37. msgLoading: '載入第 {index} 個檔案,共 {files} &hellip;',
  38. msgProgress: '載入第 {index} 個檔案,共 {files} - {name} - {percent}% 成功.',
  39. msgSelected: '{n} {files} 選取',
  40. msgFoldersNotAllowed: '只支援單檔拖曳! 無法使用 {n} 拖拽的資料夹.',
  41. msgImageWidthSmall: '圖檔寬度"{name}"必須至少為{size}像素(px).',
  42. msgImageHeightSmall: '圖檔高度"{name}"必須至少為{size}像素(px).',
  43. msgImageWidthLarge: '圖檔寬度"{name}"不能超過{size}像素(px).',
  44. msgImageHeightLarge: '圖檔高度"{name}"不能超過{size}像素(px).',
  45. dropZoneTitle: '拖曳檔案至此 &hellip;',
  46. slugCallback: function(text) {
  47. return text ? text.split(/(\\|\/)/g).pop().replace(/[^\w\u4e00-\u9fa5\-.\\\/ ]+/g, '') : '';
  48. },
  49. fileActionSettings: {
  50. removeTitle: '刪除檔案',
  51. uploadTitle: '上傳檔案',
  52. indicatorNewTitle: '尚未上傳',
  53. indicatorSuccessTitle: '上傳成功',
  54. indicatorErrorTitle: '上傳失敗',
  55. indicatorLoadingTitle: '上傳中 ...'
  56. }
  57. };
  58. })(window.jQuery);