-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new message localization: Chinese (Taiwan)
Pulled from Transifex. Thanks to the various contributors.
- Loading branch information
Showing
6 changed files
with
641 additions
and
0 deletions.
There are no files selected for viewing
316 changes: 316 additions & 0 deletions
316
src/main/resources/com/adobe/epubcheck/messages/MessageBundle_zh_TW.properties
Large diffs are not rendered by default.
Oops, something went wrong.
83 changes: 83 additions & 0 deletions
83
src/main/resources/com/adobe/epubcheck/util/messages_zh_TW.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
single_file=檔案經過驗證,為 %1$s 類型的單一檔案,針對 %2$s 版本的EPUB使用了 %3$s profile 驗證。只通過了部分的子集測試。 | ||
opv_version_test=*** 預計刪除的訊息 *** 測試只會針對OPF版本進行驗證。 | ||
mode_version_not_supported=檢查器無法為類型為%1$s以及版本為%2$s的檔案進行驗證。 | ||
|
||
no_errors__or_warnings=沒偵測到任何錯誤以及警告訊息。 | ||
there_were_errors=\n檢查完畢,發現錯誤 | ||
there_were_warnings=\n檢查完畢,發現警告訊息 | ||
|
||
messages=訊息 | ||
counter_fatal=%1$d個致命錯誤 | ||
counter_error=%1$d個錯誤 | ||
counter_warn=%1$d個警告訊息 | ||
counter_info=%1$d則資訊 | ||
counter_usage=%1$d個使用狀況 | ||
|
||
error_processing_unexpanded_epub=\n無法對擴張的EPUB進行檢測\n | ||
deleting_archive=\n因為發現錯誤而中止EPUB製作。\n | ||
display_help= -help 顯示輔助說明 | ||
argument_needed=預期至少要有一個引數 | ||
version_argument_expected=有引數 -v 卻未提供版本號。 | ||
mode_argument_expected=有引數 -mode 卻未提供檔案類型。 | ||
profile_argument_expected=有引數 -profile 卻未提供profile名稱。 | ||
profile_unknown=「%1$s」是未知的profile,改用預設profile驗證。 | ||
no_file_specified=引數中未指定檔案。結束驗證。 | ||
mode_version_ignored=由於會從EPUB檔案中取得模式與版本,將會忽略引數。 | ||
mode_required=非EPUB的檔案需要提供模式,預設版本為3.0。 | ||
validating_version_message=以EPUB %1$s 版本規則進行驗證。 | ||
output_type_conflict=一次只能指定一種輸出格式。 | ||
validating_against_epub_version=對EPUB %1$s 版本進行客製化驗證 | ||
file_not_found=找不到「%1$s」檔案 | ||
directory_not_found=找不到「%1$s」目錄 | ||
epubcheck_completed=EPUB檢查完成 | ||
error_creating_config_file=建立設定檔「%1$s」發生錯誤。 | ||
expected_message_filename=預期會有指定的輸出訊息檔名,卻發現「%1$s」 | ||
unrecognized_argument=「%1$s」為無法辨識的變數 | ||
epubcheck_version_text=EPUB檢查器 %1$s版 | ||
incorrect_locale=指定 --locale 項目的「%1$s」變數不正確。 | ||
missing_locale=找不到指定 --locale 項目的變數。 | ||
|
||
help_text = EPUB檢查器 %1$s版\n\n\ | ||
當使用本工具時,第一個變數需是要檢查的檔案名稱(包含路徑)。\n\n\ | ||
要指定驗證Profile(以檢查特定的EPUB Profile或者延伸規格),請使用 -profile 選項如下:\n\n\ | ||
驗證Profile支援如下:\n\ | ||
--profile default = 以預設profile驗證\n\ | ||
--profile dict = 以EPUB 字典與詞彙表規格進行驗證\n\ | ||
--profile edupub = 以EDUPUB Profile進行驗證\n\ | ||
--profile idx = 以EPUB 索引規格進行驗證\n\ | ||
--profile preview = 以EPUB預覽規格進行驗證\n\n\ | ||
如果檢查的不是EPUB檔案,則必須使用 -mode 來指定檔案種類,以及使用 -v 來指定版本。\n\ | ||
預設版本為:3.0。\n\n\ | ||
支援的檔案種類與版本如下:\n\ | ||
--mode opf -v 2.0\n\ | ||
--mode opf -v 3.0\n\ | ||
--mode xhtml -v 2.0\n\ | ||
--mode xhtml -v 3.0\n\ | ||
--mode svg -v 2.0\n\ | ||
--mode svg -v 3.0\n\ | ||
--mode nav -v 3.0\n\ | ||
--mode mo -v 3.0 = 供檢查Media Overlays功能使用\n\ | ||
--mode exp = 供擴張的EPUB檔案使用\n\n\ | ||
本工具也接受下列項目:\n\ | ||
--save = 另由擴張的EPUB中儲存EPUB\n\ | ||
--out<file> = 輸出結果為XML格式的檔案(使用 - 以輸出到終端機)\n\ | ||
--xmp <file> = 輸出結果為XMP格式的檔案(使用 - 以輸出到終端機)\n\ | ||
--json <file> = 輸出結果為XMP格式的檔案(使用 - 以輸出到終端機)\n\ | ||
-m <file> = 和 --mode 相同\n\ | ||
-p <profile> = 和 --profile 相同\n\ | ||
-o <file> = 和 --out 相同\n\ | ||
-x <file> = 和 --xmp 相同\n\ | ||
-j <file> = 和 --json 相同\n\ | ||
--failonwarnings[+|-] = 預設上,當發現錯誤時回報值為 1 或者沒有錯誤時回報值為 0。使用 --failonwarnings 將會使得處理程序終止,狀態為 1 並且有警告訊息或者錯誤需要顯示亦然,而只會在沒有錯誤與警告訊息時才會回傳 0。\n\ | ||
-q, --quiet = 除了錯誤以外不會在終端機上顯示訊息,但僅限於結果\n\ | ||
-f, --fatal = 結果僅包含致命錯誤\n\ | ||
-e, --error = 結果僅包含錯誤以及致命錯誤\n\ | ||
-w, --warn = 結果包含致命錯誤、錯誤與警告訊息\n\ | ||
-u, --usage = 結果包含EPUB中使用的功能訊息(預設為關閉);若開啟,使用的功能資訊將會持續出現在結果檔案中\n\ | ||
--locale <locale> = 根據所提供的IETF BCP 47語言標籤字串輸出在地化的訊息\n\ | ||
-l, --listChecks [<file>] = 列出訊息ID以及重要層級到指定的輸出訊息檔案<file>\n\ | ||
或者終端機\n\ | ||
-c, --customMessages [<file>] = 忽視指定的輸出訊息檔案<file>中的訊息重要層級\n\n\ | ||
--version = 顯示EPUB檢查器版本\n\n\ | ||
-h, -? 或 --help = 顯示輔助說明訊息\n\ | ||
|
67 changes: 67 additions & 0 deletions
67
src/main/resources/com/thaiopensource/datatype/xsd/resources/Messages_zh_TW.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# First block doesn't need to be translated for epubcheck, as @murata0204 noted in | ||
# https://github.com/IDPF/epubcheck/pull/472#issuecomment-58265808 | ||
# | ||
# Non-unicode chars (german umlauts, etc..) must be escaped like \u00DF | ||
# because otherwise Jing can't parse them. Bad UTF8-support | ||
|
||
# Properties file specifying messages | ||
enumeration_param=\"enumeration\" facet \u4E0D\u5141\u8A31\u4F5C\u70BA\u53C3\u6578\uFF1A\u4F7F\u7528 \"value\" \u5143\u7D20\u53D6\u4EE3 | ||
whiteSpace_param=\"whiteSpace\" facet \u4E0D\u5141\u8A31\u4F5C\u70BA\u53C3\u6578 | ||
unrecognized_param=\u7121\u6CD5\u8FA8\u8B58\u7684\u53C3\u6578 \"{0}\" | ||
invalid_regex=\u7121\u6548\u7684\u6B63\u898F\u8868\u9054\u5F0F\uFF1A {0} | ||
not_ordered=\u53C3\u6578\u53EA\u80FD\u61C9\u7528\u65BC\u4F9D\u5E8F\u6392\u5217\u7684\u8CC7\u6599\u985E\u578B | ||
invalid_limit=\"{0}\" \u56E0\u70BA\u57FA\u790E\u578B\u5225 {1} \u800C\u4E0D\u5141\u8A31\u4F7F\u7528 | ||
no_length=\u57FA\u790E\u8CC7\u6599\u985E\u578B\u6C92\u6709\u5B9A\u7FA9\u4E00\u500B\u9577\u5EA6\u55AE\u4F4D | ||
scale_not_derived_from_decimal=\"scale\" \u50C5\u80FD\u61C9\u7528\u5728\u7531 \"decimal\" \u6D3E\u751F\u7684\u8CC7\u6599\u985E\u578B | ||
scale_not_non_negative_integer=\"scale\" \u53C3\u6578\u5FC5\u9808\u70BA\u975E\u8CA0\u6574\u6578 | ||
length_not_non_negative_integer=\"length\" \u53C3\u6578\u5FC5\u9808\u70BA\u975E\u8CA0\u6574\u6578 | ||
precision_not_derived_from_decimal=\"precision\" \u53C3\u6578\u53EA\u80FD\u61C9\u7528\u5728\u7531 \"decimal\" \u6D3E\u751F\u7684\u8CC7\u6599\u985E\u578B | ||
precision_not_positive_integer=\"precision\" \u53C3\u6578\u5FC5\u9808\u70BA\u6B63\u6574\u6578 | ||
regex_impl_not_found=\u7121\u6CD5\u627E\u5230\u5BE6\u88DD\u7684\u6B63\u5247\u8868\u73FE\u5F0F\uFF1B\u8ACB\u4F7F\u7528JDK 1.4\u7248\uFF0C\u6216\u8005\u5C07Xerces2\u52A0\u5165\u4F60\u7684classpath | ||
regex_internal_error=\u5C0D\u8CC7\u6599\u985E\u578B {0} \u7684\u6B63\u898F\u8868\u73FE\u5F0F\u767C\u751F\u5167\u90E8\u932F\u8AA4 | ||
|
||
# validation errors | ||
length_violation=\u5FC5\u9808\u662F\u9577\u5EA6\u7B49\u65BC {1} \u7684 {0}\uFF08\u5BE6\u969B\u9577\u5EA6\u70BA {2}\uFF09 | ||
max_length_violation=\u5FC5\u9808\u662F\u9577\u5EA6\u6700\u591A\u70BA {1} \u7684 {0}\uFF08\u5BE6\u969B\u9577\u5EA6\u70BA {2}\uFF09 | ||
min_length_violation=\u5FC5\u9808\u662F\u9577\u5EA6\u81F3\u5C11\u70BA {1} \u7684 {0}\uFF08\u5BE6\u969B\u9577\u5EA6\u70BA {2}\uFF09 | ||
min_inclusive_violation=\u5FC5\u9808\u70BA\u5927\u65BC\u6216\u7B49\u65BC {1} \u7684 {0} | ||
min_exclusive_violation=\u5FC5\u9808\u70BA\u5927\u65BC {1} \u7684 {0} | ||
max_inclusive_violation=\u5FC5\u9808\u70BA\u5C0F\u65BC\u6216\u7B49\u65BC {1} \u7684 {0} | ||
max_exclusive_violation=\u5FC5\u9808\u70BA\u5C0F\u65BC {1} \u7684 {0} | ||
pattern_violation=\u5FC5\u9808\u70BA\u7B26\u5408\u6B63\u5247\u8868\u73FE\u5F0F \"{1}"\ \u7684 {0} | ||
entity_violation=\u5FC5\u9808\u662F\u540D\u7A31\u65BCDTD\u4E2D\u5BA3\u544A\u7684\u975E\u89E3\u6790\u5BE6\u9AD4 | ||
undeclared_prefix=\u5FC5\u9808\u662FQName\uFF0C\u82E5\u6709\u5B57\u9996\u5247\u9700\u5BA3\u544A\uFF08\u5B57\u9996 \"{0}"\ \u672A\u5BA3\u544A\uFF09 | ||
precision_violation={0}\u5FC5\u9808\u5305\u542B\u6700\u591A {1} \u7684\u6709\u6548\u6578\u5B57\uFF08\u767C\u73FE {2} \u500B\u6578\u5B57\uFF09 | ||
precision_1_violation={0}\u5FC5\u9808\u6B63\u597D\u70BA\u4E00\u500B\u6709\u6548\u6578\u5B57\uFF08\u767C\u73FE {1} \u500B\u6578\u5B57\uFF09 | ||
# part of the point is to avoid ugly "digit(s)" in the error message | ||
scale_violation=\u5FC5\u9808\u70BA\u5C0F\u6578\uFF0C\u5728\u5C0F\u6578\u9EDE\u5F8C\u5305\u542B\u6700\u591A {0} \u7684\u6709\u6548\u6578\u5B57\uFF08\u767C\u73FE {1} \u500B\u6578\u5B57\uFF09 | ||
scale_0_violation=\u5FC5\u9808\u70BA\u5C0F\u6578\uFF0C\u5728\u5C0F\u6578\u9EDE\u5F8C\u6C92\u6709\u4EFB\u4F55\u6709\u6548\u6578\u5B57 | ||
scale_1_violation=\u5FC5\u9808\u70BA\u5C0F\u6578\uFF0C\u5728\u5C0F\u6578\u9EDE\u5F8C\u5305\u542B\u4E00\u500B\u6709\u6548\u6578\u5B57\uFF08\u767C\u73FE {0} \u500B\u6578\u5B57\uFF09 | ||
lexical_violation=\u5FC5\u9808\u70BA {0} | ||
|
||
# fragments substituted in above | ||
lexical_space_string=\u4E00\u500B\u5B57\u4E32 | ||
lexical_space_uri=\u4E00\u500BURI | ||
lexical_space_boolean=\u4E00\u500B\u5E03\u6797\u503C | ||
lexical_space_decimal=\u4E00\u500B\u5C0F\u6578\u9EDE | ||
lexical_space_float=\u4E00\u500B\u6D6E\u9EDE\u6578 | ||
lexical_space_duration=\u4E00\u6BB5\u9577\u5EA6 | ||
lexical_space_hex=\u4E00\u500B\u5341\u516D\u9032\u4F4D\u5B57\u4E32 | ||
lexical_space_base64=\u4E00\u500BBase64\u5B57\u4E32 | ||
lexical_space_integer=\u4E00\u500B\u6574\u6578 | ||
lexical_space_name=\u4E00\u500BXML\u540D\u7A31 | ||
lexical_space_ncname=\u4E00\u500B\u6C92\u6709\u5206\u865F\u7684XML\u540D\u7A31 | ||
lexical_space_nmtoken=\u4E00\u500BXML NMTOKEN | ||
lexical_space_qname=\u4E00\u500BXML QName | ||
lexical_space_list=\u4E00\u4EFD\u4EE5\u7A7A\u767D\u5206\u9694\u7684\u6E05\u55AE | ||
lexical_space_list_ncname=\u4E00\u4EFD\u6C92\u6709\u5206\u865FXML\u540D\u7A31\u7684\u6E05\u55AE | ||
lexical_space_list_nmtoken=\u4E00\u4EFDXML NMTOKEN\u7684\u6E05\u55AE | ||
lexical_space_date_y_m_d_time=\u4E00\u500BISO\u6A19\u6E96\u7684\u65E5\u671F\u6642\u9593 | ||
lexical_space_time=\u4E00\u500BISO\u6A19\u6E96\u6642\u9593 | ||
lexical_space_date_y_m_d=\u4E00\u500BISO\u6A19\u6E96\u65E5\u671F | ||
lexical_space_date_y_m=\u4E00\u500BISO\u6A19\u6E96\u5E74\u6708 | ||
lexical_space_date_y=\u4E00\u5E74 | ||
lexical_space_date_m_d=\u4E00\u500BISO\u6A19\u6E96\u6708\u65E5\uFF08\u683C\u5F0F\u70BA --MM-DD\uFF09 | ||
lexical_space_date_m=\u4E00\u500BISO\u6A19\u6E96\u6708\u4EFD\uFF08\u683C\u5F0F\u70BA --MM\uFF09 | ||
lexical_space_date_d=\u4E00\u500BISO\u6A19\u6E96\u7684\u8A72\u6708\u65E5\u671F\uFF08\u683C\u5F0F\u70BA --DD\uFF09 | ||
lexical_space_language=\u4E00\u500BRFC3066\u6A19\u6E96\u7684\u8A9E\u8A00\u8B58\u5225\u7B26 |
Oops, something went wrong.