Skip to content

Commit

Permalink
Merge pull request #1219 from liaow/master
Browse files Browse the repository at this point in the history
Update Chinese Translations
  • Loading branch information
kartik-v committed Apr 11, 2018
2 parents e135545 + a9d850c commit 48e25aa
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 186 deletions.
172 changes: 86 additions & 86 deletions js/locales/zh-TW.js
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
/*!
* FileInput Chinese Traditional 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-TW'] = {
fileSingle: '單一檔案',
filePlural: '複選檔案',
browseLabel: '瀏覽 &hellip;',
removeLabel: '移除',
removeTitle: '清除選取檔案',
cancelLabel: '取消',
cancelTitle: '取消上傳中檔案',
uploadLabel: '上傳',
uploadTitle: '上傳選取檔案',
msgNo: '沒有',
msgNoFilesSelected: '',
msgCancelled: '取消',
zoomTitle: '詳細資料',
msgPlaceholder: 'Select {files}...',
msgZoomModalHeading: '內容預覽',
msgFileRequired: 'You must select a file to upload.',
msgSizeTooSmall: 'File "{name}" (<b>{size} KB</b>) is too small and must be larger than <b>{minSize} KB</b>.',
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}" 發生錯誤.',
msgInvalidFileName: 'Invalid or unsupported characters in file name "{name}".',
msgInvalidFileType: '檔案類型錯誤 "{name}". 只能使用 "{types}" 類型的檔案.',
msgInvalidFileExtension: '附檔名錯誤 "{name}". 只能使用 "{extensions}" 的檔案.',
/*!
* FileInput Chinese Traditional 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-TW'] = {
fileSingle: '單一檔案',
filePlural: '複選檔案',
browseLabel: '瀏覽 &hellip;',
removeLabel: '移除',
removeTitle: '清除選取檔案',
cancelLabel: '取消',
cancelTitle: '取消上傳中檔案',
uploadLabel: '上傳',
uploadTitle: '上傳選取檔案',
msgNo: '沒有',
msgNoFilesSelected: '未選擇檔案',
msgCancelled: '取消',
zoomTitle: '詳細資料',
msgPlaceholder: '選擇 {files}...',
msgZoomModalHeading: '內容預覽',
msgFileRequired: '必須選擇壹個文件上傳.',
msgSizeTooSmall: '檔案 "{name}" (<b>{size} KB</b>) 必須大於限定大小 <b>{minSize} KB</b>.',
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}" 發生錯誤.',
msgInvalidFileName: '附檔名 "{name}" 包含非法字符.',
msgInvalidFileType: '檔案類型錯誤 "{name}". 只能使用 "{types}" 類型的檔案.',
msgInvalidFileExtension: '附檔名錯誤 "{name}". 只能使用 "{extensions}" 的檔案.',
msgFileTypes: {
'image': 'image',
'html': 'HTML',
Expand All @@ -51,52 +51,52 @@
'pdf': 'PDF',
'object': 'object'
},
msgUploadAborted: '該文件上傳被中止',
msgUploadThreshold: 'Processing...',
msgUploadBegin: 'Initializing...',
msgUploadEnd: 'Done',
msgUploadEmpty: 'No valid data available for upload.',
msgUploadError: 'Error',
msgValidationError: '驗證錯誤',
msgLoading: '載入第 {index} 個檔案,共 {files} &hellip;',
msgProgress: '載入第 {index} 個檔案,共 {files} - {name} - {percent}% 成功.',
msgSelected: '{n} {files} 選取',
msgFoldersNotAllowed: '只支援單檔拖曳! 無法使用 {n} 拖拽的資料夹.',
msgImageWidthSmall: '圖檔寬度"{name}"必須至少為{size}像素(px).',
msgImageHeightSmall: '圖檔高度"{name}"必須至少為{size}像素(px).',
msgImageWidthLarge: '圖檔寬度"{name}"不能超過{size}像素(px).',
msgImageHeightLarge: '圖檔高度"{name}"不能超過{size}像素(px).',
msgImageResizeError: '無法獲取的圖像尺寸調整。',
msgImageResizeException: '錯誤而調整圖像大小。<pre>{errors}</pre>',
msgAjaxError: 'Something went wrong with the {operation} operation. Please try again later!',
msgAjaxProgressError: '{operation} failed',
msgUploadAborted: '該文件上傳被中止',
msgUploadThreshold: '處理中...',
msgUploadBegin: '正在初始化...',
msgUploadEnd: '完成',
msgUploadEmpty: '無效的文件上傳.',
msgUploadError: '上傳錯誤',
msgValidationError: '驗證錯誤',
msgLoading: '載入第 {index} 個檔案,共 {files} &hellip;',
msgProgress: '載入第 {index} 個檔案,共 {files} - {name} - {percent}% 成功.',
msgSelected: '{n} {files} 選取',
msgFoldersNotAllowed: '只支援單檔拖曳! 無法使用 {n} 拖拽的資料夹.',
msgImageWidthSmall: '圖檔寬度"{name}"必須至少為{size}像素(px).',
msgImageHeightSmall: '圖檔高度"{name}"必須至少為{size}像素(px).',
msgImageWidthLarge: '圖檔寬度"{name}"不能超過{size}像素(px).',
msgImageHeightLarge: '圖檔高度"{name}"不能超過{size}像素(px).',
msgImageResizeError: '無法獲取的圖像尺寸調整。',
msgImageResizeException: '錯誤而調整圖像大小。<pre>{errors}</pre>',
msgAjaxError: '{operation} 發生錯誤. 請重試!',
msgAjaxProgressError: '{operation} 失敗',
ajaxOperations: {
deleteThumb: 'file delete',
uploadThumb: 'file upload',
uploadBatch: 'batch file upload',
uploadExtra: 'form data upload'
},
dropZoneTitle: '拖曳檔案至此 &hellip;',
dropZoneClickTitle: '<br>(or click to select {files})',
fileActionSettings: {
removeTitle: '刪除檔案',
uploadTitle: '上傳檔案',
uploadRetryTitle: 'Retry upload',
downloadTitle: 'Download file',
zoomTitle: '詳細資料',
dragTitle: 'Move / Rearrange',
indicatorNewTitle: '尚未上傳',
indicatorSuccessTitle: '上傳成功',
indicatorErrorTitle: '上傳失敗',
indicatorLoadingTitle: '上傳中 ...'
},
previewZoomButtonTitles: {
prev: 'View previous file',
next: 'View next file',
toggleheader: 'Toggle header',
fullscreen: 'Toggle full screen',
borderless: 'Toggle borderless mode',
close: 'Close detailed preview'
}
};
})(window.jQuery);
dropZoneTitle: '拖曳檔案至此 &hellip;',
dropZoneClickTitle: '<br>(或點擊{files}按鈕選擇文件)',
fileActionSettings: {
removeTitle: '刪除檔案',
uploadTitle: '上傳檔案',
uploadRetryTitle: '重試',
downloadTitle: '下載檔案',
zoomTitle: '詳細資料',
dragTitle: '移動 / 重置',
indicatorNewTitle: '尚未上傳',
indicatorSuccessTitle: '上傳成功',
indicatorErrorTitle: '上傳失敗',
indicatorLoadingTitle: '上傳中 ...'
},
previewZoomButtonTitles: {
prev: '預覽上壹個文件',
next: '預覽下壹個文件',
toggleheader: '縮放',
fullscreen: '全屏',
borderless: '無邊界模式',
close: '關閉當前預覽'
}
};
})(window.jQuery);
200 changes: 100 additions & 100 deletions js/locales/zh.js
Original file line number Diff line number Diff line change
@@ -1,100 +1,100 @@
/*!
* 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: '上传选中文件',
msgNo: '没有',
msgNoFilesSelected: '',
msgCancelled: '取消',
msgPlaceholder: 'Select {files}...',
msgZoomModalHeading: '详细预览',
msgFileRequired: '必须选择一个文件上传.',
msgSizeTooSmall: '文件 "{name}" (<b>{size} KB</b>) 必须大于限定大小 <b>{minSize} KB</b>.',
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}" 时出现了一个错误.',
msgInvalidFileName: '文件名 "{name}" 包含非法字符.',
msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.',
msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.',
msgFileTypes: {
'image': 'image',
'html': 'HTML',
'text': 'text',
'video': 'video',
'audio': 'audio',
'flash': 'flash',
'pdf': 'PDF',
'object': 'object'
},
msgUploadAborted: '该文件上传被中止',
msgUploadThreshold: '处理中...',
msgUploadBegin: '正在初始化...',
msgUploadEnd: '完成',
msgUploadEmpty: '无效的文件上传.',
msgUploadError: 'Error',
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}像素.',
msgImageResizeError: '无法获取的图像尺寸调整。',
msgImageResizeException: '调整图像大小时发生错误。<pre>{errors}</pre>',
msgAjaxError: '{operation} 发生错误. 请重试!',
msgAjaxProgressError: '{operation} 失败',
ajaxOperations: {
deleteThumb: '删除文件',
uploadThumb: '上传文件',
uploadBatch: '批量上传',
uploadExtra: '表单数据上传'
},
dropZoneTitle: '拖拽文件到这里 &hellip;<br>支持多文件同时上传',
dropZoneClickTitle: '<br>(或点击{files}按钮选择文件)',
fileActionSettings: {
removeTitle: '删除文件',
uploadTitle: '上传文件',
uploadRetryTitle: 'Retry upload',
zoomTitle: '查看详情',
dragTitle: '移动 / 重置',
indicatorNewTitle: '没有上传',
indicatorSuccessTitle: '上传',
indicatorErrorTitle: '上传错误',
indicatorLoadingTitle: '上传 ...'
},
previewZoomButtonTitles: {
prev: '预览上一个文件',
next: '预览下一个文件',
toggleheader: '缩放',
fullscreen: '全屏',
borderless: '无边界模式',
close: '关闭当前预览'
}
};
})(window.jQuery);
/*!
* 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: '上传选中文件',
msgNo: '没有',
msgNoFilesSelected: '未选择文件',
msgCancelled: '取消',
msgPlaceholder: '选择 {files}...',
msgZoomModalHeading: '详细预览',
msgFileRequired: '必须选择一个文件上传.',
msgSizeTooSmall: '文件 "{name}" (<b>{size} KB</b>) 必须大于限定大小 <b>{minSize} KB</b>.',
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}" 时出现了一个错误.',
msgInvalidFileName: '文件名 "{name}" 包含非法字符.',
msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.',
msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.',
msgFileTypes: {
'image': 'image',
'html': 'HTML',
'text': 'text',
'video': 'video',
'audio': 'audio',
'flash': 'flash',
'pdf': 'PDF',
'object': 'object'
},
msgUploadAborted: '该文件上传被中止',
msgUploadThreshold: '处理中...',
msgUploadBegin: '正在初始化...',
msgUploadEnd: '完成',
msgUploadEmpty: '无效的文件上传.',
msgUploadError: '上传出错',
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}像素.',
msgImageResizeError: '无法获取的图像尺寸调整。',
msgImageResizeException: '调整图像大小时发生错误。<pre>{errors}</pre>',
msgAjaxError: '{operation} 发生错误. 请重试!',
msgAjaxProgressError: '{operation} 失败',
ajaxOperations: {
deleteThumb: '删除文件',
uploadThumb: '上传文件',
uploadBatch: '批量上传',
uploadExtra: '表单数据上传'
},
dropZoneTitle: '拖拽文件到这里 &hellip;<br>支持多文件同时上传',
dropZoneClickTitle: '<br>(或点击{files}按钮选择文件)',
fileActionSettings: {
removeTitle: '删除文件',
uploadTitle: '上传文件',
uploadRetryTitle: '重试',
zoomTitle: '查看详情',
dragTitle: '移动 / 重置',
indicatorNewTitle: '没有上传',
indicatorSuccessTitle: '上传',
indicatorErrorTitle: '上传错误',
indicatorLoadingTitle: '上传 ...'
},
previewZoomButtonTitles: {
prev: '预览上一个文件',
next: '预览下一个文件',
toggleheader: '缩放',
fullscreen: '全屏',
borderless: '无边界模式',
close: '关闭当前预览'
}
};
})(window.jQuery);

0 comments on commit 48e25aa

Please sign in to comment.