aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js
diff options
context:
space:
mode:
Diffstat (limited to 'openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js')
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js49
1 files changed, 49 insertions, 0 deletions
diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js
new file mode 100644
index 00000000..9092b750
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js
@@ -0,0 +1,49 @@
+/*!
+ * FileInput Chinese Translations
+ *
+ * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
+ * any HTML markup tags in the messages must not be converted or translated.
+ *
+ * @see http://github.com/kartik-v/bootstrap-fileinput
+ * @author kangqf <kangqingfei@gmail.com>
+ *
+ * NOTE: this file must be saved in UTF-8 encoding.
+ */
+(function ($) {
+ "use strict";
+
+ $.fn.fileinputLocales['zh'] = {
+ fileSingle: '文件',
+ filePlural: '多个文件',
+ browseLabel: '选择 &hellip;',
+ removeLabel: '移除',
+ removeTitle: '清除选中文件',
+ cancelLabel: '取消',
+ cancelTitle: '取消进行中的上传',
+ uploadLabel: '上传',
+ uploadTitle: '上传选中文件',
+ msgSizeTooLarge: '文件 "{name}" (<b>{size} KB</b>) 超过了允许大小 <b>{maxSize} KB</b>. 请重新上传!',
+ msgFilesTooLess: '你必须选择最少 <b>{n}</b> {files} 来上传. 请重新上传!',
+ msgFilesTooMany: '选择的上传文件个数 <b>({n})</b> 超出最大文件的限制个数 <b>{m}</b>. 请重新上传!',
+ msgFileNotFound: '文件 "{name}" 未找到!',
+ msgFileSecured: '安全限制,为了防止读取文件 "{name}".',
+ msgFileNotReadable: '文件 "{name}" 不可读.',
+ msgFilePreviewAborted: '取消 "{name}" 的预览.',
+ msgFilePreviewError: '读取 "{name}" 时出现了一个错误.',
+ msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.',
+ msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.',
+ msgValidationError: '文件上传错误',
+ msgLoading: '加载第 {index} 文件 共 {files} &hellip;',
+ msgProgress: '加载第 {index} 文件 共 {files} - {name} - {percent}% 完成.',
+ msgSelected: '{n} {files} 选中',
+ msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.',
+ msgImageWidthSmall: '宽度的图像文件的"{name}"的必须是至少{size}像素.',
+ msgImageHeightSmall: '图像文件的"{name}"的高度必须至少为{size}像素.',
+ msgImageWidthLarge: '宽度的图像文件"{name}"不能超过{size}像素.',
+ msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.',
+ dropZoneTitle: '拖拽文件到这里 &hellip;',
+ slugCallback: function(text) {
+ return text ? text.split(/(\\|\/)/g).pop().replace(/[^\w\u4e00-\u9fa5\-.\\\/ ]+/g, '') : '';
+ }
+ };
+})(window.jQuery); \ No newline at end of file