zh.js 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /*!
  2. * FileInput Chinese 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'] = {
  15. fileSingle: '文件',
  16. filePlural: '个文件',
  17. browseLabel: '选择 &hellip;',
  18. removeLabel: '移除',
  19. removeTitle: '清除选中文件',
  20. cancelLabel: '取消',
  21. cancelTitle: '取消进行中的上传',
  22. uploadLabel: '上传',
  23. uploadTitle: '上传选中文件',
  24. msgNo: '没有',
  25. msgNoFilesSelected: '',
  26. msgCancelled: '取消',
  27. msgZoomModalHeading: '详细预览',
  28. msgFileRequired: '必须选择一个文件上传.',
  29. msgSizeTooSmall: '文件 "{name}" (<b>{size} KB</b>) 必须大于限定大小 <b>{minSize} KB</b>.',
  30. msgSizeTooLarge: '文件 "{name}" (<b>{size} KB</b>) 超过了允许大小 <b>{maxSize} KB</b>.',
  31. msgFilesTooLess: '你必须选择最少 <b>{n}</b> {files} 来上传. ',
  32. msgFilesTooMany: '选择的上传文件个数 <b>({n})</b> 超出最大文件的限制个数 <b>{m}</b>.',
  33. msgFileNotFound: '文件 "{name}" 未找到!',
  34. msgFileSecured: '安全限制,为了防止读取文件 "{name}".',
  35. msgFileNotReadable: '文件 "{name}" 不可读.',
  36. msgFilePreviewAborted: '取消 "{name}" 的预览.',
  37. msgFilePreviewError: '读取 "{name}" 时出现了一个错误.',
  38. msgInvalidFileName: '文件名 "{name}" 包含非法字符.',
  39. msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.',
  40. msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.',
  41. msgFileTypes: {
  42. 'image': 'image',
  43. 'html': 'HTML',
  44. 'text': 'text',
  45. 'video': 'video',
  46. 'audio': 'audio',
  47. 'flash': 'flash',
  48. 'pdf': 'PDF',
  49. 'object': 'object'
  50. },
  51. msgUploadAborted: '该文件上传被中止',
  52. msgUploadThreshold: '处理中...',
  53. msgUploadBegin: '正在初始化...',
  54. msgUploadEnd: '完成',
  55. msgUploadEmpty: '无效的文件上传.',
  56. msgUploadError: 'Error',
  57. msgValidationError: '验证错误',
  58. msgLoading: '加载第 {index} 文件 共 {files} &hellip;',
  59. msgProgress: '加载第 {index} 文件 共 {files} - {name} - {percent}% 完成.',
  60. msgSelected: '{n} {files} 选中',
  61. msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.',
  62. msgImageWidthSmall: '宽度的图像文件的"{name}"的必须是至少{size}像素.',
  63. msgImageHeightSmall: '图像文件的"{name}"的高度必须至少为{size}像素.',
  64. msgImageWidthLarge: '宽度的图像文件"{name}"不能超过{size}像素.',
  65. msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.',
  66. msgImageResizeError: '无法获取的图像尺寸调整。',
  67. msgImageResizeException: '错误而调整图像大小。<pre>{errors}</pre>',
  68. msgAjaxError: '{operation} 发生错误. 请重试!',
  69. msgAjaxProgressError: '{operation} 失败',
  70. ajaxOperations: {
  71. deleteThumb: '删除文件',
  72. uploadThumb: '上传文件',
  73. uploadBatch: '批量上传',
  74. uploadExtra: '表单数据上传'
  75. },
  76. dropZoneTitle: '拖拽文件到这里 &hellip;<br>支持多文件同时上传',
  77. dropZoneClickTitle: '<br>(或点击{files}按钮选择文件)',
  78. fileActionSettings: {
  79. removeTitle: '删除文件',
  80. uploadTitle: '上传文件',
  81. uploadRetryTitle: 'Retry upload',
  82. zoomTitle: '查看详情',
  83. dragTitle: '移动 / 重置',
  84. indicatorNewTitle: '没有上传',
  85. indicatorSuccessTitle: '上传',
  86. indicatorErrorTitle: '上传错误',
  87. indicatorLoadingTitle: '上传 ...'
  88. },
  89. previewZoomButtonTitles: {
  90. prev: '预览上一个文件',
  91. next: '预览下一个文件',
  92. toggleheader: '缩放',
  93. fullscreen: '全屏',
  94. borderless: '无边界模式',
  95. close: '关闭当前预览'
  96. }
  97. };
  98. })(window.jQuery);