Index: trunk/extensions/SemanticForms/languages/SF_LanguageZh_tw.php |
— | — | @@ -1,121 +1,121 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * @author Roc Michael |
| 4 | + * @author Yaron Koren 翻譯:張致信(Translation: Roc Michael Email:roc.no1@gmail.com) |
5 | 5 | */ |
6 | | - |
| 6 | + |
7 | 7 | class SF_LanguageZh_tw { |
8 | | - |
| 8 | + |
9 | 9 | /* private */ var $sfContentMessages = array( |
10 | | - 'sf_createproperty_isattribute' => '這是型態$1的屬性。 This is an attribute of type $1.', |
11 | | - 'sf_createproperty_allowedvals' => '這項屬性的可用型態為: The allowed values for this attribute are:', |
12 | | - 'sf_createproperty_isrelation' => '這是一項關連。This is a relation.', |
13 | | - 'sf_template_docu' => '這是\'$1\'樣板,它須以下列格式引用。This is the \'$1\' template. It should be called in the following format:', |
14 | | - 'sf_template_docufooter' => '編輯此頁以查看樣板。Edit the page to see the template text.', |
15 | | - 'sf_form_docu' => '這是\'$1\'表單,編輯此頁以查看原始碼,您能以此表單新增資料[[$2|這裡]]。 This is the \'$1\' form; edit the page to see the source code. You can add data with this form [[$2|here]].', |
16 | | - 'sf_form_relation' => '使用表單 Has default form', |
17 | | - // month names are already defined in MediaWiki, but unfortunately |
18 | | - // there they're defined as user messages, and here they're |
19 | | - // content messages |
20 | | - 'sf_january' => '一月', // 'sf_january' => 'January', |
21 | | - 'sf_february' => '二月', // 'sf_february' => 'February', |
22 | | - 'sf_march' => '三月', // 'sf_march' => 'March', |
23 | | - 'sf_april' => '四月', // 'sf_april' => 'April', |
24 | | - 'sf_may' => '五月', // 'sf_may' => 'May', |
25 | | - 'sf_june' => '六月', // 'sf_june' => 'June', |
26 | | - 'sf_july' => '七月', // 'sf_july' => 'July', |
27 | | - 'sf_august' => '八月', // 'sf_august' => 'August', |
28 | | - 'sf_september' => '九月', // 'sf_september' => 'September', |
29 | | - 'sf_october' => '十月', // 'sf_october' => 'October', |
30 | | - 'sf_november' => '十月', // 'sf_november' => 'November', |
31 | | - 'sf_december' => '十二月' // 'sf_december' => 'December' |
32 | | - |
| 10 | + 'sf_createproperty_isattribute' => '這是$1型態的屬性。', //(This is an attribute of type $1.) |
| 11 | + 'sf_createproperty_allowedvals' => '此屬性的可用型態為:', //(The allowed values for this attribute are:) |
| 12 | + 'sf_createproperty_isrelation' => '這是一項關聯。', //(This is a relation.) |
| 13 | + 'sf_template_docu' => '這是\'$1\'樣板,它須以如下的格式引用:', //(This is the \'$1\' template. It should be called in the following format:) |
| 14 | + 'sf_template_docufooter' => '編輯此頁以查看樣板文字。', //(Edit the page to see the template text.) |
| 15 | + 'sf_form_docu' => '這是\'$1\'表單,編輯此頁以查看原始碼,您能以此表單新增資料[[$2|這裡]]。', //(This is the \'$1\' form; edit the page to see the source code. You can add data with this form [[$2|here]].) |
| 16 | + 'sf_form_relation' => '設有表單', //(Has default form) |
| 17 | + // month names are already defined in MediaWiki, but unfortunately |
| 18 | + // there they're defined as user messages, and here they're |
| 19 | + // content messages |
| 20 | + 'sf_january' => '一月', // (January) |
| 21 | + 'sf_february' => '二月', // (February) |
| 22 | + 'sf_march' => '三月', // (March) |
| 23 | + 'sf_april' => '四月', // (April) |
| 24 | + 'sf_may' => '五月', // (May) |
| 25 | + 'sf_june' => '六月', // (June) |
| 26 | + 'sf_july' => '七月', // (July) |
| 27 | + 'sf_august' => '八月', // (August) |
| 28 | + 'sf_september' => '九月', // (September) |
| 29 | + 'sf_october' => '十月', // (October) |
| 30 | + 'sf_november' => '十月', // (November) |
| 31 | + 'sf_december' => '十二月' // (December) |
| 32 | + |
33 | 33 | ); |
34 | | - |
| 34 | + |
35 | 35 | /* private */ var $sfUserMessages = array( |
36 | | - 'createproperty' => '建立semantic的性質 Create a semantic property', |
37 | | - 'templates' => '樣板 Templates', |
38 | | - 'sf_templates_docu' => '本wiki系統含有下列的樣板。The following templates exist in the wiki.', |
39 | | - 'sf_templates_definescat' => '定義分類 defines category:', |
40 | | - 'createtemplate' => '建立樣板 Create a template', |
41 | | - 'sf_createtemplate_namelabel' => '樣板名稱 Template name:', |
42 | | - 'sf_createtemplate_categorylabel' => '以樣板定義分類(選用性) Category defined by template (optional):', |
43 | | - 'sf_createtemplate_templatefields' => '樣板欄位 Template fields', |
44 | | - 'sf_createtemplate_fieldsdesc' => '建立無須名稱的欄位於某個樣板之內,僅需賦予索引值(例如: 1,2,3 等等)給這些欄位 而無須指定名稱。To have the fields of a template not require field names, simply enter the index of that field (e.g. 1, 2, 3, etc.) as the name, instead of an actual name.', |
45 | | - 'sf_createtemplate_fieldname' => '欄位名稱 Field name:', |
46 | | - 'sf_createtemplate_displaylabel' => '欄位標籤 Display label:', |
47 | | - 'sf_createtemplate_semanticproperty' => 'Semantic性質 Semantic property:', |
48 | | - 'sf_createtemplate_fieldislist' => '本欄位夠建立一清單,內部的資料將以半型逗號「,」分隔。This field can hold a list of values, separated by commas', |
49 | | - 'sf_createtemplate_outputformat' => '輸出格式 Output format:', |
50 | | - 'sf_createtemplate_standardformat' => '標準 Standard', |
51 | | - 'sf_createtemplate_infoboxformat' => '右置型訊息看板 的Right-hand-side infobox', |
52 | | - 'sf_createtemplate_addfield' => '新增欄位 Add field', |
53 | | - 'sf_createtemplate_deletefield' => '刪除 Delete', |
54 | | - 'forms' => '表單 Forms', |
55 | | - 'sf_forms_docu' => '本wiki系統含有下列的表單。The following forms exist in the wiki.', |
56 | | - 'createform' => '新增表單 Create a form', |
57 | | - 'sf_createform_nameinput' => '表單名稱(convention is to name the form after the main template it populates)。Form name (convention is to name the form after the main template it populates):', |
58 | | - 'sf_createform_template' => '樣板: Template:', |
59 | | - 'sf_createform_templatelabelinput' => '樣板標籤(選用) Template label (optional):', |
60 | | - 'sf_createform_allowmultiple' => '允許在用以建立新頁面上建立多重選項(或無)。 Allow for multiple (or zero) instances of this template in the created page', |
61 | | - 'sf_createform_field' => '欄位: Field:', |
62 | | - 'sf_createform_fieldattr' => '此欄位可定義型態$2上的 $1屬性。This field defines the attribute $1, of type $2.', |
63 | | - 'sf_createform_fieldattrunknowntype' => '這欄位可定義屬性$1,這些屬性尚未指定的型態(assuming to be $2)。 This field defines the attribute $1, of unspecified type (assuming to be $2).', |
64 | | - 'sf_createform_fieldrel' => '此欄位可定義關連 $1。 This field defines the relation $1.', |
65 | | - 'sf_createform_formlabel' => '表單標籤。Form label:', |
66 | | - 'sf_createform_hidden' => '穩藏 Hidden', |
67 | | - 'sf_createform_restricted' => '受限制的頁面(只有管理可編輯) Restricted (only sysop users can modify it)', |
68 | | - 'sf_createform_mandatory' => '強制性的 Mandatory', |
69 | | - 'sf_createform_removetemplate' => '刪除樣板 Remove template', |
70 | | - 'sf_createform_addtemplate' => '新增樣板 Add template:', |
71 | | - 'sf_createform_beforetemplate' => 'Before template:', |
72 | | - 'sf_createform_atend' => 'At end', |
73 | | - 'sf_createform_add' => '新增 Add', |
74 | | - 'addpage' => '新增頁面 Add page', |
75 | | - 'sf_addpage_badform' => '錯誤!在$1上並沒有找到表單頁面。 Error: no form page was found at $1', |
76 | | - 'sf_addpage_docu' => '輸入頁面名稱以便以表單編輯\'$1\'。如果此頁已存在的話,您便能以表單編輯該頁,不然,您便能以表單新增此頁面。 Enter the name of the page here, to be edited with the form \'$1\'. If this page already exists, you will be sent to the form for editing that page. Otherwise, you will be sent to the form for adding the page.', |
77 | | - 'sf_addpage_noform_docu' => '請於此處輸入頁面名稱,再選取表單對其進行編輯,如果此頁已存在的話,您便能以表單編輯該頁,不然,您便能以表單新增此頁面。 Enter the name of the page here, and select the form to edit it with. If this page already exists, you will be sent to the form for editing that page. Otherwise, you will be sent to the form for adding the page.', |
78 | | - 'addoreditdata' => '新增或編輯 Add or edit', |
79 | | - 'adddata' => '新增資料 Add data', |
80 | | - 'sf_adddata_badurl' => '本頁為新增資料之用,您必須在URL裡同時指定表單及目標頁面,它應該看起像是\'Special:AddData?form=<form name>&target=<target page>\' 或是 \'Special:AddData/<form name>/<target page>\'。 This is the page for adding data. You must specify both a form name and a target page in the URL; it should look like \'Special:AddData?form=<form name>&target=<target page>\' or \'Special:AddData/<form name>/<target page>\'.', |
81 | | - 'sf_forms_adddata' => '以表單新增資料 Add data with this form', |
82 | | - 'editdata' => '編輯資料 Edit data', |
83 | | - 'form_edit' => '以表單進行編輯 Edit with form', |
84 | | - 'sf_editdata_badurl' => '本頁為編輯資料之用,您必須在URL裡同時指定表單及目標頁面,它應該看起像是\'Special:EditData?form=<form name>&target=<target page>\' 或是 \'Special:EditData/<form name>/<target page>\'. This is the page for editing data. You must specify both a form name and a target page in the URL; it should look like \'Special:EditData?form=<form name>&target=<target page>\' or \'Special:EditData/<form name>/<target page>\'.', |
85 | | - 'sf_editdata_remove' => '刪除 Remove', |
86 | | - 'sf_editdata_addanother' => '新增其他 Add another', |
87 | | - 'sf_editdata_freetextlabel' => '自由編輯區 Free text', |
88 | | - |
89 | | - 'sf_blank_error' => '不得為空白 cannot be blank' |
| 36 | + 'createproperty' => '新增語意(semantic)性質', //(Create a semantic property) |
| 37 | + 'templates' => '樣板', //(Templates) |
| 38 | + 'sf_templates_docu' => '本wiki系統已含有下列的樣板。', //(The following templates exist in the wiki.) |
| 39 | + 'sf_templates_definescat' => '定義分類(category):', //(defines category:) |
| 40 | + 'createtemplate' => '新增樣板', //(Create a template) |
| 41 | + 'sf_createtemplate_namelabel' => '樣板名稱:', //(Template name:) |
| 42 | + 'sf_createtemplate_categorylabel' => '以樣板定義分類(選用性的)', //(Category defined by template (optional):) |
| 43 | + 'sf_createtemplate_templatefields' => '樣板欄位', //(Template fields) |
| 44 | + 'sf_createtemplate_fieldsdesc' => '於某個樣板之內新增無須名稱的欄位,僅需賦予索引值(例如: 1,2,3 等等)給這些欄位 而無須指定名稱。', //(To have the fields of a template not require field names, simply enter the index of that field (e.g. 1, 2, 3, etc.) as the name, instead of an actual name.) |
| 45 | + 'sf_createtemplate_fieldname' => '欄位名稱:', //(Field name:) |
| 46 | + 'sf_createtemplate_displaylabel' => '欄位標籤:', //(Display label:) |
| 47 | + 'sf_createtemplate_semanticproperty' => '語意(Semantic)性質', //(Semantic property:) |
| 48 | + 'sf_createtemplate_fieldislist' => '本欄位能夠以某些值來建立清單,那些值須以半型逗號「,」分隔。', //(This field can hold a list of values, separated by commas) |
| 49 | + 'sf_createtemplate_outputformat' => '輸出格式:', //(Output format:) |
| 50 | + 'sf_createtemplate_standardformat' => '標準型', //(Standard) |
| 51 | + 'sf_createtemplate_infoboxformat' => '右置型訊息看板', //(Right-hand-side infobox) |
| 52 | + 'sf_createtemplate_addfield' => '新增欄位', //(Add field) |
| 53 | + 'sf_createtemplate_deletefield' => '刪除 ', //(Delete) |
| 54 | + 'forms' => '表單', //(Forms) |
| 55 | + 'sf_forms_docu' => '本wiki系統已建有下列的表單。', //(The following forms exist in the wiki.) |
| 56 | + 'createform' => '新增表單', //(Create a form) |
| 57 | + 'sf_createform_nameinput' => '表單名稱(大致上係以其主要的引用樣板的名稱來為其命名):', //(Form name (convention is to name the form after the main template it populates):) |
| 58 | + 'sf_createform_template' => '樣板:', //(Template:) |
| 59 | + 'sf_createform_templatelabelinput' => '樣板標籤(選用性的)', //(Template label (optional):) |
| 60 | + 'sf_createform_allowmultiple' => '多重選項樣板,此樣板用於在新增頁面上的多重(或無)選項。', //(Allow for multiple (or zero) instances of this template in the created page) |
| 61 | + 'sf_createform_field' => '欄位:', //(Field:) |
| 62 | + 'sf_createform_fieldattr' => '此欄位可定義型態$2上的 $1屬性。', //(This field defines the attribute $1, of type $2.) |
| 63 | + 'sf_createform_fieldattrunknowntype' => '此欄位可定義屬性$1,這些屬性尚未指定的型態(假定為 $2)。', //(This field defines the attribute $1, of unspecified type (assuming to be $2).) |
| 64 | + 'sf_createform_fieldrel' => '此欄位可定義關聯 $1。', //(This field defines the relation $1.) |
| 65 | + 'sf_createform_formlabel' => '表單標籤。', //(Form label:) |
| 66 | + 'sf_createform_hidden' => '隱藏', //(Hidden) |
| 67 | + 'sf_createform_restricted' => '受限制的頁面(只有管理員可編輯)', //(Restricted (only sysop users can modify it)) |
| 68 | + 'sf_createform_mandatory' => '強制性的', //(Mandatory) |
| 69 | + 'sf_createform_removetemplate' => '刪除樣板', //(Remove template) |
| 70 | + 'sf_createform_addtemplate' => '新增樣板:', //(Add template:) |
| 71 | + 'sf_createform_beforetemplate' => '在樣板之前:', //(Before template:) |
| 72 | + 'sf_createform_atend' => '在末端', //(At end) |
| 73 | + 'sf_createform_add' => '新增', //(Add) |
| 74 | + 'addpage' => '新增頁面', //(Add page) |
| 75 | + 'sf_addpage_badform' => '錯誤!在$1上並沒有找到表單頁面。', //(Error: no form page was found at $1) |
| 76 | + 'sf_addpage_docu' => '輸入頁面名稱以便以\'$1\'表單編輯。如果此頁已存在的話,您便能以表單編輯該頁,否則,您便能以表單新增此頁面。', //(Enter the name of the page here, to be edited with the form \'$1\'. If this page already exists, you will be sent to the form for editing that page. Otherwise, you will be sent to the form for adding the page.) |
| 77 | + 'sf_addpage_noform_docu' => '請於此處輸入頁面名稱,再選取表單對其進行編輯,如果此頁已存在的話,您便能以表單編輯該頁,否則,您便能以表單新增此頁面。', //(Enter the name of the page here, and select the form to edit it with. If this page already exists, you will be sent to the form for editing that page. Otherwise, you will be sent to the form for adding the page.) |
| 78 | + 'addoreditdata' => '新增或編輯', //(Add or edit) |
| 79 | + 'adddata' => '新增資料', //(Add data) |
| 80 | + 'sf_adddata_badurl' => '本頁為新增資料之用,您必須在URL裡同時指定表單及目標頁面,它看起來應該像是\'Special:AddData?form=<表單名稱>&target=<目標頁面>\' 或是 \'Special:AddData/<表單名稱>/<目標頁面>\'。', //(This is the page for adding data. You must specify both a form name and a target page in the URL; it should look like \'Special:AddData?form=<form name>&target=<target page>\' or \'Special:AddData/<form name>/<target page>\'.) |
| 81 | + 'sf_forms_adddata' => '以表單新增資料', //(Add data with this form) |
| 82 | + 'editdata' => '編輯資料', //(Edit data) |
| 83 | + 'form_edit' => '以表單進行編輯', //(Edit with form) |
| 84 | + 'sf_editdata_badurl' => '本頁為編輯資料之用,您必須在URL裡同時指定表單及目標頁面,它看起來應該像是\'Special:EditData?form=<表單名稱;&target=<目標頁面>\' 或是 \'Special:EditData/<表單名稱>/<目標頁面>\'.', //(This is the page for editing data. You must specify both a form name and a target page in the URL; it should look like \'Special:EditData?form=<form name>&target=<target page>\' or \'Special:EditData/<form name>/<target page>\'.) |
| 85 | + 'sf_editdata_remove' => '刪除', //(Remove) |
| 86 | + 'sf_editdata_addanother' => '新增其他', //(Add another) |
| 87 | + 'sf_editdata_freetextlabel' => '隨意文字區(Free text)', //(Free text) |
| 88 | + |
| 89 | + 'sf_blank_error' => '不得為空白' //(cannot be blank) |
90 | 90 | ); |
91 | | - |
92 | | - /** |
93 | | - * Function that returns the namespace identifiers. |
94 | | - */ |
95 | | - function getNamespaceArray() { |
96 | | - return array( |
97 | | - SF_NS_FORM => '表單', // SF_NS_FORM => 'Form', |
98 | | - SF_NS_FORM_TALK => '表單_talk' // SF_NS_FORM_TALK => 'Form_talk' |
99 | | - |
100 | | - ); |
101 | | - } |
102 | | - |
103 | | - /** |
104 | | - * Function that returns all content messages (those that are stored |
105 | | - * in some article, and can thus not be translated to individual users). |
106 | | - */ |
107 | | - function getContentMsgArray() { |
108 | | - return $this->sfContentMessages; |
109 | | - } |
110 | | - |
111 | | - /** |
112 | | - * Function that returns all user messages (those that are given only to |
113 | | - * the current user, and can thus be given in the individual user language). |
114 | | - */ |
115 | | - |
116 | | - function getUserMsgArray() { |
117 | | - return $this->sfUserMessages; |
118 | | - } |
119 | | - |
| 91 | + |
| 92 | + /** |
| 93 | + * Function that returns the namespace identifiers. |
| 94 | + */ |
| 95 | + function getNamespaceArray() { |
| 96 | + return array( |
| 97 | + SF_NS_FORM => '表單', // (Form) |
| 98 | + SF_NS_FORM_TALK => '表單_talk' // (Form_talk) |
| 99 | + |
| 100 | + ); |
| 101 | + } |
| 102 | + |
| 103 | + /** |
| 104 | + * Function that returns all content messages (those that are stored |
| 105 | + * in some article, and can thus not be translated to individual users). |
| 106 | + */ |
| 107 | + function getContentMsgArray() { |
| 108 | + return $this->sfContentMessages; |
| 109 | + } |
| 110 | + |
| 111 | + /** |
| 112 | + * Function that returns all user messages (those that are given only to |
| 113 | + * the current user, and can thus be given in the individual user language). |
| 114 | + */ |
| 115 | + |
| 116 | + function getUserMsgArray() { |
| 117 | + return $this->sfUserMessages; |
| 118 | + } |
| 119 | + |
120 | 120 | } |
121 | | - |
| 121 | + |
122 | 122 | ?> |