zh.js 5.4 KB

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