From c4cd9111a556aa77f1ac511d3d920aba2075cf96 Mon Sep 17 00:00:00 2001 From: Aecho Liu Date: Fri, 8 Aug 2014 13:33:09 +0800 Subject: [PATCH 1/4] Update zh-TW.yml --- config/locales/zh-TW.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index b381ab77..4d4253a2 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -132,7 +132,7 @@ option_stem_none: Stem none (default) option_stem_some: Stem some option_stem_all: Stem all - label_stemming_description: 這是用來控制 Query parser 要使用哪個stemming algorithm,預設值是'STEM NONE'。而這邊所能選取的值有以下幾種: + label_stemming_description: "這是用來控制 Query parser 要使用哪個stemming algorithm,預設值是:STEM NONE。而這邊所能選取的值有以下幾種:" note_do_not_stem: "Don't perform any stemming." note_stem_some: "Search for stemmed forms of terms except for those which start with a capital letter, or are followed by certain characters, or are used with operators which need positional information. Stemmed terms are prefixed with 'Z'." note_stem_all: "Search for stemmed forms of all words (note: no 'Z' prefix is added)." @@ -192,14 +192,14 @@ title_copy: Copy error_folder_cannot_be_copied: "Folder can't be copied" notice_folder_copied: Folder copied - + error_max_email_filesize_exceeded: "己經超出Email所能允許的最大檔案大小。 (%{number} MB)" note_maximum_email_filesize: 限制Email所允許的最大檔案大小。 0 表示沒有限制。 label_maximum_email_filesize: Email附加檔案最大的檔案大小。 header_minimum_filesize: 檔案錯誤 error_minimum_filesize: "這個檔案 %{file} 為空。無法被附加。" parent_directory: 上層目錄 - note_webdav: Webdav 啟用後,可在下列網址被找到: http://.../dmsf/webdav/ + note_webdav: "Webdav 啟用後,可在下列網址被找到: http://.../dmsf/webdav/" label_webdav: Webdav功能 label_dmsf_plural: "複制DMSF的檔案和資料夾。 ( 資料夾: %{folders} 檔案: %{files} )" @@ -216,7 +216,7 @@ select_option_webdav_readwrite: 可讀可寫 label_webdav_strategy: Webdav策略 note_webdav_strategy: 讓管理者決定,webdav給使用者的權限,是唯讀or可讀可寫。 - + error_unable_delete_dmsf_workflow: 無法刪除工作流程 error_empty_note: "備註不可以為空。" error_workflow_assign: 當指派時發生錯誤 @@ -273,7 +273,7 @@ text_email_to_see_status: To see the current status of the approval workflow click on the workflow status the document in label_my_open_approvals: My open approvals label_my_locked_documents: My locked documents - + title_create_link: Create a symbolic link label_link_from: Link from label_link_to: Link to @@ -286,22 +286,22 @@ label_source_folder: Source folder label_target_project: Target project label_source_project: Source project - + text_email_doc_updated_subject: "Documents of %{project} updated" text_email_doc_updated: has just actualized documents of text_email_doc_follows: as follows text_email_doc_deleted_subject: "Documents of %{project} deleted" text_email_doc_deleted: has just deleted documents of label_links_only: links only - + label_display_notified_recipients: Display notified recipients note_display_notified_recipients: The user will be informed about all recipients of just sent the email notification. warning_email_notifications: "Email notifications sent to %{to}" - + my: blocks: locked_documents: Locked documents open_approvals: Open approvals - + label_maximum_ajax_upload_filesize: Maximum file size uploadable via AJAX note_maximum_ajax_upload_filesize: Limits maximum file size that can uploaded via standard AJAX interface otherwise Redmine standard upload form must be used. Number is in MB. From 0694fae8a7fc03278071f4fa3c40a945de886d42 Mon Sep 17 00:00:00 2001 From: Aecho Liu Date: Fri, 8 Aug 2014 14:11:58 +0800 Subject: [PATCH 2/4] Create zh-TW.js Debug by production.log --- assets/javascripts/plupload/i18n/zh-TW.js | 37 +++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 assets/javascripts/plupload/i18n/zh-TW.js diff --git a/assets/javascripts/plupload/i18n/zh-TW.js b/assets/javascripts/plupload/i18n/zh-TW.js new file mode 100644 index 00000000..41828ccb --- /dev/null +++ b/assets/javascripts/plupload/i18n/zh-TW.js @@ -0,0 +1,37 @@ +// Traditional Chinese, translated by aecho1028@gmail.com. +plupload.addI18n({ + 'Select files' : '選取檔案', + 'Add files to the upload queue and click the start button.' : '新增檔案到上傳佇列,然後請點擊開始按鈕。', + 'Filename' : '檔案名稱', + 'Status' : '狀態', + 'Size' : '檔案大小', + 'Add Files' : '新增檔案', + 'Stop Upload' : '停止上傳', + 'Start Upload' : '開始上傳', + 'Add files' : '新增檔案', + 'Add files.' : '新增檔案', + 'Stop current upload' : '停止現在的上傳', + 'Start uploading queue' : '開始上傳', + 'Stop upload' : '停止上傳', + 'Start upload' : '開始上傳', + '己上傳 %d/%d 檔案': 'アップロード中 %d/%d ファイル', + 'N/A' : 'N/A', + 'Drag files here.' : '將檔案拖拉到這邊', + 'File extension error.': '副檔名錯誤', + 'File size error.': '檔案大小錯誤', + 'File count error.': '檔案筆數錯誤', + 'Init error.': '初始化錯誤', + 'HTTP Error.': 'HTTP錯誤', + 'Security error.': '安全性錯誤', + 'Generic error.': '錯誤', + 'IO error.': 'IO錯誤', + 'File: %s': '檔案: %s', + 'Close': '關閉', + '%d files queued': '%d 檔案佇列中', + 'Using runtime: ': 'Using runtime: ', + 'File: %f, size: %s, max file size: %m': '檔案: %f, 大小: %s, 最大檔案大小: %m', + 'Upload element accepts only %d file(s) at a time. Extra files were stripped.': '一次只能上傳 %d 個檔案。多餘的檔案將會被捨棄。', + 'Upload URL might be wrong or doesn\'t exist': '上傳的URL可能不正確,或是不存在。', + 'Error: File too large: ': '錯誤: 檔案太大了: ', + 'Error: Invalid file extension: ': '錯誤: 副檔名不正確: ' +}); From 7c7869f41132c460173d9d2a7075fc233f9059da Mon Sep 17 00:00:00 2001 From: Aecho Liu Date: Fri, 8 Aug 2014 14:33:40 +0800 Subject: [PATCH 3/4] Update zh-TW.js Type error. --- assets/javascripts/plupload/i18n/zh-TW.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/plupload/i18n/zh-TW.js b/assets/javascripts/plupload/i18n/zh-TW.js index 41828ccb..a64c0d9e 100644 --- a/assets/javascripts/plupload/i18n/zh-TW.js +++ b/assets/javascripts/plupload/i18n/zh-TW.js @@ -14,7 +14,7 @@ plupload.addI18n({ 'Start uploading queue' : '開始上傳', 'Stop upload' : '停止上傳', 'Start upload' : '開始上傳', - '己上傳 %d/%d 檔案': 'アップロード中 %d/%d ファイル', + '己上傳 %d/%d 檔案': '己上傳 %d/%d 檔案', 'N/A' : 'N/A', 'Drag files here.' : '將檔案拖拉到這邊', 'File extension error.': '副檔名錯誤', From b2a61a95341cc66bf2015450026f1428192e425e Mon Sep 17 00:00:00 2001 From: Aecho Liu Date: Fri, 8 Aug 2014 14:34:38 +0800 Subject: [PATCH 4/4] Update zh-TW.js Fix typing error. --- assets/javascripts/plupload/i18n/zh-TW.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/plupload/i18n/zh-TW.js b/assets/javascripts/plupload/i18n/zh-TW.js index a64c0d9e..8c47f167 100644 --- a/assets/javascripts/plupload/i18n/zh-TW.js +++ b/assets/javascripts/plupload/i18n/zh-TW.js @@ -14,7 +14,7 @@ plupload.addI18n({ 'Start uploading queue' : '開始上傳', 'Stop upload' : '停止上傳', 'Start upload' : '開始上傳', - '己上傳 %d/%d 檔案': '己上傳 %d/%d 檔案', + 'Uploaded %d/%d files': '己上傳 %d/%d 檔案', 'N/A' : 'N/A', 'Drag files here.' : '將檔案拖拉到這邊', 'File extension error.': '副檔名錯誤',