zh.js 5.6 KB

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