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