r24155 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24154‎ | r24155 | r24156 >
Date:08:36, 16 July 2007
Author:raymond
Status:old
Tags:
Comment:
* (bug 10582) Update Chinese translations
Patch by Shinjiman
Modified paths:
  • /trunk/extensions/BackAndForth/BackAndForth.i18n.php (modified) (history)
  • /trunk/extensions/CategoryTree/CategoryTree.i18n.zh-hant.php (modified) (history)
  • /trunk/extensions/CheckUser/CheckUser.i18n.php (modified) (history)
  • /trunk/extensions/CountEdits/CountEdits.i18n.php (modified) (history)
  • /trunk/extensions/NewUserNotif/NewUserNotif.i18n.php (modified) (history)
  • /trunk/extensions/PicturePopup/PicturePopup.i18n.php (modified) (history)
  • /trunk/extensions/Resign/SpecialResign.i18n.php (modified) (history)
  • /trunk/extensions/SignDocument/SignDocument.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SignDocument/SignDocument.i18n.php
@@ -11,4 +11,29 @@
1212 'signaturelogpagetext' => 'Dies ist das Unterschrifts-Logbuch für Dokumente, die über die Seite [[{{ns:special}}:SignDocument]] unterschrieben werden können.',
1313 'signaturelogentry' => 'hat das Dokument $1 unterschrieben',
1414 ),
 15+
 16+ 'yue' => array(
 17+ 'signaturelogpage' => '簽名日誌',
 18+ 'signaturelogpagetext' => '呢個係全部經過[[Special:SignDocument]]簽過名嘅文件嘅日誌。',
 19+ 'signaturelogentry' => '簽咗$1文件',
 20+ ),
 21+
 22+ 'zh-hans' => array(
 23+ 'signaturelogpage' => '签署日志',
 24+ 'signaturelogpagetext' => '这个是所有经过[[Special:SignDocument]]签署文件的日志。',
 25+ 'signaturelogentry' => '已经签署$1文件',
 26+ ),
 27+
 28+ 'zh-hant' => array(
 29+ 'signaturelogpage' => '簽署日誌',
 30+ 'signaturelogpagetext' => '這個是所有經過[[Special:SignDocument]]簽署文件的日誌。',
 31+ 'signaturelogentry' => '已經簽署$1文件',
 32+ ),
1533 );
 34+
 35+$allMessages['zh-cn'] = $allMessages['zh-hans'];
 36+$allMessages['zh-hk'] = $allMessages['zh-hant'];
 37+$allMessages['zh-sg'] = $allMessages['zh-hans'];
 38+$allMessages['zh-tw'] = $allMessages['zh-hant'];
 39+$allMessages['zh-yue'] = $allMessages['yue'];
 40+
Index: trunk/extensions/BackAndForth/BackAndForth.i18n.php
@@ -21,7 +21,40 @@
2222 'backforth-next' => 'Next ($1)',
2323 'backforth-prev' => 'Previous ($1)',
2424 ),
 25+
 26+/**
 27+ * Cantonese
 28+ */
 29+'yue' => array(
 30+ 'backforth-next' => '??? ($1)',
 31+ 'backforth-prev' => '??? ($1)',
 32+),
 33+
 34+/**
 35+ * Chinese (Simplified)
 36+ */
 37+'zh-hans' => array(
 38+ 'backforth-next' => '??? ($1)',
 39+ 'backforth-prev' => '??? ($1)',
 40+),
 41+
 42+/**
 43+ * Chinese (Traditional)
 44+ */
 45+'zh-hant' => array(
 46+ 'backforth-next' => '??? ($1)',
 47+ 'backforth-prev' => '??? ($1)',
 48+),
2549
26 - );
 50+ );
 51+
 52+ /* Chinese defaults, fallback to zh-hans or zh-hant */
 53+ $messages['zh-cn'] = $messages['zh-hans'];
 54+ $messages['zh-hk'] = $messages['zh-hant'];
 55+ $messages['zh-sg'] = $messages['zh-hans'];
 56+ $messages['zh-tw'] = $messages['zh-hant'];
 57+ /* Cantonese default, fallback to yue */
 58+ $messages['zh-yue'] = $messages['yue'];
 59+
2760 return $messages;
28 -}
\ No newline at end of file
 61+}
Index: trunk/extensions/Resign/SpecialResign.i18n.php
@@ -115,8 +115,60 @@
116116 'resign-logentry' => 'odstránil svoje privilégiá $2',
117117 ),
118118
 119+/* Cantonese (Shinjiman) */
 120+'yue' => array(
 121+'resign' => '劈炮',
 122+'resign-text' => "你可以響呢一版度'''拎走你嘅權限''' (好似操作員噉) 。請檢查清楚你需要去拎走嘅權限。
 123+
 124+記住: '''你唔可以用呢個方法攞番你嘅權限返來!'''你需要去說服一位事務員或者執行員去畀返你相應嘅權限。請小心噉利用呢一版。",
 125+'resign-reason' => '原因:',
 126+'resign-confirm' => '我確認我要拎走我已經剔咗嘅全部權限。',
 127+'resign-noconfirm' => '如果你要拎走你嘅權限,請檢查個確認方塊已經剔咗。',
 128+'resign-nogroups' => '請檢查你要去拎走嘅權限。',
 129+'resign-success' => "'''呢啲權限已經成功噉拎走咗。'''",
 130+'resign-logentry' => '自己拎走咗$2權限',
 131+),
 132+
 133+/* Chinese (Simplified) (Shinjiman) */
 134+'zh-hans' => array(
 135+'resign' => '辞职',
 136+'resign-text' => "您可以在响这一页面中'''移除阁下的的权限''' (好像操作员) 。请检查清楚您需要去移除的权限。
 137+
 138+紧记: '''您不可以用这个方法重新取得权限!'''您需要去说服一位行政员或者监管员去取回您相应的权限。请小心利用这个页面。",
 139+'resign-reason' => '原因:',
 140+'resign-confirm' => '我确认我要移除我已经剔选的所有权限。',
 141+'resign-noconfirm' => '如果您要移除您的权限,请检查个确认方块已经剔选。',
 142+'resign-nogroups' => '请检查您要去移除的权限。',
 143+'resign-success' => "'''这些权限已经成功地移除。'''",
 144+'resign-logentry' => '自行移除了$2权限',
 145+),
 146+
 147+/* Chinese (Traditional) (Shinjiman) */
 148+'zh-hant' => array(
 149+'resign' => '辭職',
 150+'resign-text' => "您可以在響這一頁面中'''移除閣下的的權限''' (好像操作員) 。請檢查清楚您需要去移除嘅權限。
 151+
 152+緊記: '''您不可以用這個方法重新取得權限!'''您需要去說服一位行政員或者監管員去取回您相應的權限。請小心利用這個頁面。",
 153+'resign-reason' => '原因:',
 154+'resign-confirm' => '我確認我要移除我已經剔選的所有權限。',
 155+'resign-noconfirm' => '如果您要移除您的權限,請檢查個確認方塊已經剔選。',
 156+'resign-nogroups' => '請檢查您要去移除的權限。',
 157+'resign-success' => "'''這些權限已經成功地移除。'''",
 158+'resign-logentry' => '自行移除了$2權限',
 159+),
 160+
119161 );
 162+
 163+ /* Chinese defaults, fallback to zh-hans or zh-hant */
 164+ $messages['zh-cn'] = $messages['zh-hans'];
 165+ $messages['zh-hk'] = $messages['zh-hant'];
 166+ $messages['zh-sg'] = $messages['zh-hans'];
 167+ $messages['zh-tw'] = $messages['zh-hant'];
 168+ /* Cantonese default, fallback to yue */
 169+ $messages['zh-yue'] = $messages['yue'];
 170+
120171 return $messages;
121172 }
122173
123174
 175+
Index: trunk/extensions/CategoryTree/CategoryTree.i18n.zh-hant.php
@@ -51,8 +51,8 @@
5252 $messages['categorytree-load']= '載入';
5353 $messages['categorytree-loading']= '載入中';
5454 $messages['categorytree-nothing-found']= '找不到任何項目';
55 -$messages['categorytree-no-subcategories']= '没有子分類';
56 -$messages['categorytree-no-pages']= '没有頁面或子分類';
 55+$messages['categorytree-no-subcategories']= '沒有子分類';
 56+$messages['categorytree-no-pages']= '沒有頁面或子分類';
5757 $messages['categorytree-not-found']= "找不到分類<i>$1</i>";
5858
5959
@@ -61,3 +61,4 @@
6262 $messages['categorytree-too-many-subcats'] = "無法以樹狀顯示子分類,因為已經有太多了。";
6363
6464
 65+
Index: trunk/extensions/CountEdits/CountEdits.i18n.php
@@ -345,8 +345,57 @@
346346 'countedits-nocontribs' => 'Can aya kontribusi ka ieu wiki.',
347347 ),
348348
 349+/* Cantonese (Shinjiman) */
 350+'yue' => array(
 351+'countedits' => '編輯數',
 352+'countedits-warning' => "'''警告:''' 唔好只憑封面去判斷一本書。唔好以佢哋嘅編輯數去判斷一位貢獻者。",
 353+'countedits-username' => '用戶名:',
 354+'countedits-ok' => 'OK',
 355+'countedits-nosuchuser' => '無一位叫做$1嘅用戶。',
 356+'countedits-resultheader' => '$1嘅結果',
 357+'countedits-resulttext' => '$1有$2次編輯',
 358+'countedits-mostactive' => '最活躍嘅貢獻者',
 359+'countedits-nocontribs' => '響呢個wiki度無貢獻。',
 360+),
 361+
 362+/* Chinese (Simplified) (Shinjiman) */
 363+'zh-hans' => array(
 364+'countedits' => '编辑计量',
 365+'countedits-warning' => "'''警告:''' 不要只凭封面判断书本。不要以他们的编辑计量判断一位贡献者。",
 366+'countedits-username' => '用户名称:',
 367+'countedits-ok' => '确定',
 368+'countedits-nosuchuser' => '没有一位名叫$1的用户。',
 369+'countedits-resultheader' => '$1的结果',
 370+'countedits-resulttext' => '$1有$2次编辑',
 371+'countedits-mostactive' => '最活跃的贡献者',
 372+'countedits-nocontribs' => '在这个wiki中没有贡献。',
 373+),
 374+
 375+/* Chinese (Traditional) (Shinjiman) */
 376+'zh-hant' => array(
 377+'countedits' => '編輯計量',
 378+'countedits-warning' => "'''警告:''' 不要只憑封面判斷書本。不要以幾他們的編輯計量判斷一位貢獻者。",
 379+'countedits-username' => '用戶名稱:',
 380+'countedits-ok' => '確定',
 381+'countedits-nosuchuser' => '沒有一位名叫$1的用戶。',
 382+'countedits-resultheader' => '$1的結果',
 383+'countedits-resulttext' => '$1有$2次編輯',
 384+'countedits-mostactive' => '最活躍的貢獻者',
 385+'countedits-nocontribs' => '在這個wiki中沒有貢獻。',
 386+),
 387+
349388 );
 389+
 390+ /* Chinese defaults, fallback to zh-hans or zh-hant */
 391+ $messages['zh-cn'] = $messages['zh-hans'];
 392+ $messages['zh-hk'] = $messages['zh-hant'];
 393+ $messages['zh-sg'] = $messages['zh-hans'];
 394+ $messages['zh-tw'] = $messages['zh-hant'];
 395+ /* Cantonese default, fallback to yue */
 396+ $messages['zh-yue'] = $messages['yue'];
 397+
350398 return $single ? $messages['en'] : $messages;
351399 }
352400
353401
 402+
Index: trunk/extensions/NewUserNotif/NewUserNotif.i18n.php
@@ -19,7 +19,31 @@
2020 'newusernotifsubj' => 'Benachrichtung für $1 über die Einrichtung eines neuen Benutzerskontos',
2121 'newusernotifbody' => "Hallo $1,\n\nEin neues Benutzerkonto, $2, wurde am $4 auf $3 angelegt.",
2222 ),
 23+
 24+'yue' => array(
 25+ 'newusernotifsubj' => '$1嘅新用戶通知',
 26+ 'newusernotifbody' => "你好 $1,\n\n一個新嘅用戶戶口$2,已經響$4喺$3度開咗。",
 27+),
 28+
 29+'zh-hans' => array(
 30+ 'newusernotifsubj' => '$1的新用户通知',
 31+ 'newusernotifbody' => "你好 $1,\n\n一个新的用户账号$2,已经在$4于$3创建。",
 32+),
 33+
 34+'zh-hant' => array(
 35+ 'newusernotifsubj' => '$1的新用戶通知',
 36+ 'newusernotifbody' => "你好 $1,\n\n一個新的用戶帳號$2,已經在$4於$3創建。",
 37+),
2338
2439 );
 40+
 41+ /* Chinese defaults, fallback to zh-hans or zh-hant */
 42+ $messages['zh-cn'] = $messages['zh-hans'];
 43+ $messages['zh-hk'] = $messages['zh-hant'];
 44+ $messages['zh-sg'] = $messages['zh-hans'];
 45+ $messages['zh-tw'] = $messages['zh-hant'];
 46+ /* Cantonese default, fallback to yue */
 47+ $messages['zh-yue'] = $messages['yue'];
 48+
2549 return $messages;
26 -}
\ No newline at end of file
 50+}
Index: trunk/extensions/PicturePopup/PicturePopup.i18n.php
@@ -20,6 +20,7 @@
2121 'picturepopup_invalid_icon' => 'License template has missing or invalid imageLicenseIcon element',
2222 ),
2323
 24+/* Arabic */
2425 'ar' => array(
2526 'picturepopup_invalid_title' => 'اسم صورة غير صحيح',
2627 'picturepopup_no_image' => 'الصورة غير موجودة',
@@ -99,12 +100,53 @@
100101 'picturepopup_no_license_text' => 'Šablóna licencie nemá značku s atribútom id=imageLicenseText',
101102 'picturepopup_invalid_icon' => 'Šablóna licencie má neplatnú alebo chýbajúcu značku s atribútom id=imageLicenseText',
102103 ),
 104+
 105+/* Cantonese */
 106+'yue' => array(
 107+ 'picturepopup_invalid_title' => '唔正確嘅圖像標題',
 108+ 'picturepopup_no_license' => '圖像冇牌照標籤',
 109+ 'picturepopup_no_image' => '圖像唔存在',
 110+ 'picturepopup_no_license_list' => '牌照清單係唔正確或者唔見咗',
 111+ 'picturepopup_license_list' => 'Project:圖像版權標籤',
 112+ 'picturepopup_no_license_text' => '牌照模冇一個叫 id=imageLicenseText 嘅元素',
 113+ 'picturepopup_invalid_icon' => '牌照模唔見咗或者有唔正確嘅 imageLicenseIcon 元素',
 114+),
 115+
 116+/* Chinese (Simplified) */
 117+'zh-hans' => array(
 118+ 'picturepopup_invalid_title' => '不正确的图像标题',
 119+ 'picturepopup_no_license' => '图像没有协议标签',
 120+ 'picturepopup_no_image' => '图像不存在',
 121+ 'picturepopup_no_license_list' => '协议列表是不正确或遗失',
 122+ 'picturepopup_license_list' => 'Project:图像版权标签',
 123+ 'picturepopup_no_license_text' => '协议模版没有个名叫 id=imageLicenseText 的元素',
 124+ 'picturepopup_invalid_icon' => '协议模版遗失或含有不正确的 imageLicenseIcon 元素',
 125+),
 126+
 127+/* Chinese (Traditional) */
 128+'zh-hant' => array(
 129+ 'picturepopup_invalid_title' => '不正確的圖像標題',
 130+ 'picturepopup_no_license' => '圖像沒有協議標籤',
 131+ 'picturepopup_no_image' => '圖像不存在',
 132+ 'picturepopup_no_license_list' => '協議列表是不正確或遺失',
 133+ 'picturepopup_license_list' => 'Project:圖像版權標籤',
 134+ 'picturepopup_no_license_text' => '協議模版沒有個名叫 id=imageLicenseText 的元素',
 135+ 'picturepopup_invalid_icon' => '協議模版遺失或含有不正確的 imageLicenseIcon 元素',
 136+),
103137 );
104138
105139 /* Kazakh default, fallback to kk-kz */
106140 $messages['kk'] = $messages['kk-kz'];
 141+ /* Chinese defaults, fallback to zh-hans or zh-hant */
 142+ $messages['zh-cn'] = $messages['zh-hans'];
 143+ $messages['zh-hk'] = $messages['zh-hant'];
 144+ $messages['zh-sg'] = $messages['zh-hans'];
 145+ $messages['zh-tw'] = $messages['zh-hant'];
 146+ /* Cantonese default, fallback to yue */
 147+ $messages['zh-yue'] = $messages['yue'];
107148
108149 return $messages;
109150 }
110151
111152
 153+
Index: trunk/extensions/CheckUser/CheckUser.i18n.php
@@ -492,6 +492,7 @@
493493 'checkuser-summary' => '呢個工具會響最近更改度掃瞄對一位用戶用過嘅IP地址,或者係睇一個IP嘅用戶資料同埋佢嘅編輯記錄。
494494 響用戶同埋用戶端IP嘅編輯係可幾經由XFF頭,加上 "/xff" 就可幾拎到。呢個工具係支援 IPv4 (CIDR 16-32) 同埋 IPv6 (CIDR 64-128)。
495495 由於為咗效能方面嘅原因,將唔會顯示多過5000次嘅編輯。請根源政策去用呢個工具。',
 496+ 'checkuser-logcase' => '搵呢個日誌係有分大細楷嘅。',
496497 'checkuser' => '核對用戶',
497498 'group-checkuser' => '稽查員',
498499 'group-checkuser-member' => '稽查員',
@@ -532,7 +533,8 @@
533534 'checkuser-nomatch' => '没有符合的资讯',
534535 'checkuser-check' => '查询',
535536 'checkuser-log-fail' => '无法更新日志。',
536 - 'checkuser-nolog' => '找不到记录档'
 537+ 'checkuser-nolog' => '找不到记录档',
 538+ 'checkuser-blocked' => '已经查封',
537539 );
538540 $wgCheckUserMessages['zh-hant'] = array(
539541 'checkuser-summary' => '本工具會從{{int:recentchanges}}中查詢使用者使用過的IP位址,或是一個IP位址發送出來的任何編輯記錄。本工具支援IPv4及IPv6的位址。由於技術上的限制,本工具只能查詢最近5000筆的記錄。請確定您的行為符合守則。',
@@ -554,7 +556,8 @@
555557 'checkuser-nomatch' => '沒有符合的資訊',
556558 'checkuser-check' => '查詢',
557559 'checkuser-log-fail' => '無法更新記錄。',
558 - 'checkuser-nolog' => '找不到記錄檔'
 560+ 'checkuser-nolog' => '找不到記錄檔',
 561+ 'checkuser-blocked' => '已經查封',
559562 );
560563 $wgCheckUserMessages['zh-cn'] = $wgCheckUserMessages['zh-hans'];
561564 $wgCheckUserMessages['zh-hk'] = $wgCheckUserMessages['zh-hant'];
@@ -562,3 +565,4 @@
563566 $wgCheckUserMessages['zh-tw'] = $wgCheckUserMessages['zh-hant'];
564567
565568
 569+

Status & tagging log