zh.js 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
  29. msgSizeTooLarge: '文件 "{name}" (<b>{size} KB</b>) 超过了允许大小 <b>{maxSize} KB</b>.',
  30. msgFilesTooLess: '你必须选择最少 <b>{n}</b> {files} 来上传. ',
  31. msgFilesTooMany: '选择的上传文件个数 <b>({n})</b> 超出最大文件的限制个数 <b>{m}</b>.',
  32. msgFileNotFound: '文件 "{name}" 未找到!',
  33. msgFileSecured: '安全限制,为了防止读取文件 "{name}".',
  34. msgFileNotReadable: '文件 "{name}" 不可读.',
  35. msgFilePreviewAborted: '取消 "{name}" 的预览.',
  36. msgFilePreviewError: '读取 "{name}" 时出现了一个错误.',
  37. msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
  38. msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.',
  39. msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.',
  40. msgFileTypes: {
  41. 'image': 'image',
  42. 'html': 'HTML',
  43. 'text': 'text',
  44. 'video': 'video',
  45. 'audio': 'audio',
  46. 'flash': 'flash',
  47. 'pdf': 'PDF',
  48. 'object': 'object'
  49. },
  50. msgUploadAborted: '该文件上传被中止',
  51. msgUploadThreshold: 'Processing...',
  52. msgUploadEmpty: 'No valid data available for upload.',
  53. msgValidationError: '验证错误',
  54. msgLoading: '加载第 {index} 文件 共 {files} &hellip;',
  55. msgProgress: '加载第 {index} 文件 共 {files} - {name} - {percent}% 完成.',
  56. msgSelected: '{n} {files} 选中',
  57. msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.',
  58. msgImageWidthSmall: '宽度的图像文件的"{name}"的必须是至少{size}像素.',
  59. msgImageHeightSmall: '图像文件的"{name}"的高度必须至少为{size}像素.',
  60. msgImageWidthLarge: '宽度的图像文件"{name}"不能超过{size}像素.',
  61. msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.',
  62. msgImageResizeError: '无法获取的图像尺寸调整。',
  63. msgImageResizeException: '错误而调整图像大小。<pre>{errors}</pre>',
  64. msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
  65. msgAjaxProgressError: '{operation} failed',
  66. ajaxOperations: {
  67. deleteThumb: 'file delete',
  68. uploadThumb: 'single file upload',
  69. uploadBatch: 'batch file upload',
  70. uploadExtra: 'form data upload'
  71. },
  72. dropZoneTitle: '拖拽文件到这里 &hellip;<br>支持多文件同时上传',
  73. dropZoneClickTitle: '<br>(或点击{files}按钮选择文件)',
  74. fileActionSettings: {
  75. removeTitle: '删除文件',
  76. uploadTitle: '上传文件',
  77. zoomTitle: '查看详情',
  78. dragTitle: '移动 / 重置',
  79. indicatorNewTitle: '没有上传',
  80. indicatorSuccessTitle: '上传',
  81. indicatorErrorTitle: '上传错误',
  82. indicatorLoadingTitle: '上传 ...'
  83. },
  84. previewZoomButtonTitles: {
  85. prev: '预览上一个文件',
  86. next: '预览下一个文件',
  87. toggleheader: '缩放',
  88. fullscreen: '全屏',
  89. borderless: '无边界模式',
  90. close: '关闭当前预览'
  91. }
  92. };
  93. })(window.jQuery);