r20946 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20945‎ | r20946 | r20947 >
Date:17:25, 2 April 2007
Author:ivanlanin
Status:old
Tags:
Comment:
* Updates for Indonesian (id) localization and i18n.db
* Trim some trailing spaces
Modified paths:
  • /trunk/extensions/DynamicPageList2/DynamicPageList2.i18n.php (modified) (history)
  • /trunk/extensions/Editcount/SpecialEditcount.i18n.php (modified) (history)
  • /trunk/extensions/ProfileMonitor/ProfileMonitor.i18n.php (modified) (history)
  • /trunk/extensions/Quiz/Quiz.i18n.php (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/SpecialDatasearch.i18n.php (modified) (history)
  • /trunk/extensions/i18n.db (modified) (history)

Diff [purge]

Index: trunk/extensions/Quiz/Quiz.i18n.php
@@ -8,7 +8,7 @@
99 * it under the terms of the GNU General Public License as published by
1010 * the Free Software Foundation; either version 2 of the License, or
1111 * (at your option) any later version.
12 - *
 12+ *
1313 * Quiz is distributed in the hope that it will be useful,
1414 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1515 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -21,16 +21,16 @@
2222 * ***** END LICENSE BLOCK *****
2323 *
2424 * Quiz is a quiz tool for mediawiki.
25 - *
 25+ *
2626 * To activate this extension :
2727 * * Create a new directory named quiz into the directory "extensions" of mediawiki.
2828 * * Place this file and the files Quiz.i18n.php and quiz.js there.
2929 * * Add this line at the end of your LocalSettings.php file :
3030 * require_once 'extensions/quiz/Quiz.php';
31 - *
 31+ *
3232 * @version 0.7b
3333 * @link http://www.mediawiki.org/wiki/Extension:Quiz
34 - *
 34+ *
3535 * @author BABE Louis-Rémi <lrbabe@gmail.com>
3636 */
3737
@@ -74,7 +74,19 @@
7575 'quiz_correction' => "Correction",
7676 'quiz_score' => "Votre score est $1 / $2"
7777 ),
78 - 'sk' => array(
 78+ 'id' => array(
 79+ 'quiz_addedPoints' => "Penambahan angka untuk jawaban yang benar",
 80+ 'quiz_cutoffPoints' => "Pengurangan angka untuk jawaban yang salah",
 81+ 'quiz_ignoreCoef' => "Abaikan koefisien pertanyaan",
 82+ 'quiz_shuffle' => "Mengacak pertanyaan",
 83+ 'quiz_colorRight' => "Benar",
 84+ 'quiz_colorWrong' => "Salah",
 85+ 'quiz_colorNA' => "Tak dijawab",
 86+ 'quiz_colorError' => "Kesalahan sintaks",
 87+ 'quiz_correction' => "Koreksi",
 88+ 'quiz_score' => "Skor Anda adalah $1 / $2"
 89+ ),
 90+ 'sk' => array(
7991 'quiz_addedPoints' => "Bod(y) pričítané za správnu odpoveď",
8092 'quiz_cutoffPoints' => "Bod(y) odčítané za nesprávnu odpoveď",
8193 'quiz_ignoreCoef' => "Ignorovať koeficienty otázok",
Index: trunk/extensions/Editcount/SpecialEditcount.i18n.php
@@ -12,7 +12,7 @@
1313 // English Version by Rob Church
1414 'en' => array(
1515 'editcount' => 'Edit count',
16 - 'editcount_username' => 'User: ',
 16+ 'editcount_username' => 'User:',
1717 'editcount_submit' => 'Submit',
1818 'editcount_total' => 'Total',
1919 ),
@@ -20,7 +20,7 @@
2121 // German by Leon Weber
2222 'de' => array(
2323 'editcount' => 'Anzahl der Seitenbearbeitungen',
24 - 'editcount_username' => 'Benutzer: ',
 24+ 'editcount_username' => 'Benutzer:',
2525 'editcount_submit' => 'Absenden',
2626 'editcount_total' => 'Gesamt',
2727 ),
@@ -28,7 +28,7 @@
2929 // French Version by Bertrand Grondin
3030 'fr' => array(
3131 'editcount' => 'Compteur d’éditions individuel',
32 - 'editcount_username' => 'Utilisateur : ',
 32+ 'editcount_username' => 'Utilisateur :',
3333 'editcount_submit' => 'Soumettre',
3434 'editcount_total' => 'Total',
3535 ),
@@ -36,7 +36,7 @@
3737 // Indonesian Version by Ivan Lanin
3838 'id' => array(
3939 'editcount' => 'Jumlah suntingan',
40 - 'editcount_username' => 'Pengguna: ',
 40+ 'editcount_username' => 'Pengguna:',
4141 'editcount_submit' => 'Kirim',
4242 'editcount_total' => 'Total',
4343 ),
@@ -44,7 +44,7 @@
4545 // Italian Version by BrokenArrow
4646 'it' => array(
4747 'editcount' => 'Conteggio delle modifiche',
48 - 'editcount_username' => 'Utente: ',
 48+ 'editcount_username' => 'Utente:',
4949 'editcount_submit' => 'Invia',
5050 'editcount_total' => 'Totale',
5151 ),
@@ -52,7 +52,7 @@
5353 // nld / Dutch version by Siebrand Mazeland
5454 'nl' => array(
5555 'editcount' => 'Bewerkingsteller',
56 - 'editcount_username' => 'Gebruiker: ',
 56+ 'editcount_username' => 'Gebruiker:',
5757 'editcount_submit' => 'OK',
5858 'editcount_total' => 'Totaal',
5959 ),
@@ -60,7 +60,7 @@
6161 // Slovak version by helix84
6262 'sk' => array(
6363 'editcount' => 'Počet príspevkov',
64 - 'editcount_username' => 'Používateľ: ',
 64+ 'editcount_username' => 'Používateľ:',
6565 'editcount_submit' => 'Odoslať',
6666 'editcount_total' => 'Celkom',
6767 ),
@@ -68,7 +68,7 @@
6969 // Serbian default version by Sasa Stefanovic
7070 'sr' => array(
7171 'editcount' => 'Бројач измена',
72 - 'editcount_username' => 'Корисник: ',
 72+ 'editcount_username' => 'Корисник:',
7373 'editcount_submit' => 'Унеси',
7474 'editcount_total' => 'Укупно',
7575 ),
@@ -76,7 +76,7 @@
7777 // Serbian cyrillic version by Sasa Stefanovic
7878 'sr-ec' => array(
7979 'editcount' => 'Бројач измена',
80 - 'editcount_username' => 'Корисник: ',
 80+ 'editcount_username' => 'Корисник:',
8181 'editcount_submit' => 'Унеси',
8282 'editcount_total' => 'Укупно',
8383 ),
@@ -84,7 +84,7 @@
8585 // Serbian latin version by Sasa Stefanovic
8686 'sr-el' => array(
8787 'editcount' => 'Brojač izmena',
88 - 'editcount_username' => 'Korisnik: ',
 88+ 'editcount_username' => 'Korisnik:',
8989 'editcount_submit' => 'Unesi',
9090 'editcount_total' => 'Ukupno',
9191 ),
@@ -92,7 +92,7 @@
9393 // Chinese (China) Version by Shinjiman
9494 'zh-cn' => array(
9595 'editcount' => '编辑次数',
96 - 'editcount_username' => '用户: ',
 96+ 'editcount_username' => '用户:',
9797 'editcount_submit' => '提交',
9898 'editcount_total' => '总数',
9999 ),
@@ -100,7 +100,7 @@
101101 // Chinese (Hong Kong) Version by Shinjiman
102102 'zh-hk' => array(
103103 'editcount' => '編輯次數',
104 - 'editcount_username' => '用戶: ',
 104+ 'editcount_username' => '用戶:',
105105 'editcount_submit' => '遞交',
106106 'editcount_total' => '總數',
107107 ),
@@ -108,7 +108,7 @@
109109 // Chinese (Singapore) Version by Shinjiman
110110 'zh-sg' => array(
111111 'editcount' => '编辑次数',
112 - 'editcount_username' => '用户: ',
 112+ 'editcount_username' => '用户:',
113113 'editcount_submit' => '提交',
114114 'editcount_total' => '总数',
115115 ),
@@ -116,7 +116,7 @@
117117 // Chinese (Taiwan) Version by Shinjiman
118118 'zh-tw' => array(
119119 'editcount' => '編輯次數',
120 - 'editcount_username' => '用戶: ',
 120+ 'editcount_username' => '用戶:',
121121 'editcount_submit' => '遞交',
122122 'editcount_total' => '總數',
123123 ),
@@ -124,7 +124,7 @@
125125 // Cantonese Version by Shinjiman
126126 'zh-yue' => array(
127127 'editcount' => '編輯次數',
128 - 'editcount_username' => '用戶: ',
 128+ 'editcount_username' => '用戶:',
129129 'editcount_submit' => '遞交',
130130 'editcount_total' => '總數',
131131 ),
Index: trunk/extensions/Wikidata/OmegaWiki/SpecialDatasearch.i18n.php
@@ -10,4 +10,8 @@
1111 $wgDataSearchMessages['en'] = array(
1212 'datasearch' => 'Data search',
1313 );
 14+
 15+$wgDataSearchMessages['id'] = array(
 16+ 'datasearch' => 'Pencarian data',
 17+);
1418 ?>
Index: trunk/extensions/ProfileMonitor/ProfileMonitor.i18n.php
@@ -25,7 +25,7 @@
2626 ),
2727
2828 /* Indonesian (IvanLanin) */
29 -'en' => array(
 29+'id' => array(
3030 'profiling' => 'Profilisasi data',
3131 'profiling-process' => 'Proses data:',
3232 'profiling-wildcard' => 'Gunakan wildcard',
Index: trunk/extensions/i18n.db
@@ -59,7 +59,7 @@
6060 ./ConfirmEdit/FancyCaptcha.i18n.php efFancyCaptchaMessages
6161 ./Contributors/Contributors.i18n.php efContributorsMessages
6262 ./CountEdits/CountEdits.i18n.php efCountEditsMessages
63 -./CrossNamespaceLinks/SpecialCrossNamespaceLinks.i18n.php
 63+./CrossNamespaceLinks/SpecialCrossNamespaceLinks.i18n.php wgCrossNamespaceLinksMessages
6464 ./Desysop/SpecialDesysop.i18n.php wgDesysopMessages
6565 ./DismissableSiteNotice/DismissableSiteNotice.i18n.php wgDismissableSiteNoticeMessages
6666 ./Duplicator/Duplicator.i18n.php efDuplicatorMessages
Index: trunk/extensions/DynamicPageList2/DynamicPageList2.i18n.php
@@ -49,7 +49,7 @@
5050 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
5151 */
5252 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => "ERROR: Cannot perform logical operations on the Uncategorized pages (e.g. with the 'category' parameter) because the $0 view does not exist on the database! Help: have the DB admin execute this query: <code>$1</code>.",
53 -
 53+
5454 // WARNINGS
5555 /**
5656 * $0: unknown parameter given by user
@@ -133,7 +133,7 @@
134134 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
135135 */
136136 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => "ERREUR : Ne peut pas effectuer d’opérations logiques sur les pages sans catégories (avec la paramètre 'category') car la vue $0 n’existe pas dans la base de données ! Aide : demander à un administrateur de la base de données d'effectuer : <code>$1</code>.",
137 -
 137+
138138 // WARNINGS
139139 /**
140140 * $0: unknown parameter given by user
@@ -217,7 +217,7 @@
218218 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
219219 */
220220 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => "שגיאה: לא ניתן לבצע פעולות לוגיות על דפים ללא קטגוריות (למשל, עם הפרמטר 'קטגוריה') כיוון שתצוגת $0 אינה קיימת במסד הנתונים! עזרה: מנהל מסד הנתונים צריך להריץ את השאילתה: <code>$1</code>.",
221 -
 221+
222222 // WARNINGS
223223 /**
224224 * $0: unknown parameter given by user
@@ -264,6 +264,27 @@
265265 */
266266 'dpl2_articlecount' => '{{plural:$1|ישנם $1 דפים|ישנו דף אחד}} תחת כותרת זו.'
267267 );
 268+$wgDPL2Messages['id'] = array(
 269+ 'dpl2_debug_' . DPL2_ERR_WRONGNS => "KESALAHAN: Parameter '$0' salah: '$1'! Bantuan: <code>$0= <i>string kosong</i> (Utama)$3</code>. (Ekivalen kata kunci juga diizinkan.)",
 270+ 'dpl2_debug_' . DPL2_ERR_WRONGLINKSTO => "KESALAHAN: Parameter '$0' salah: '$1'! Bantuan: <code>$0= <i>nama lengkap halaman</i></code>. (Kata kunci diizinkan.)",
 271+ 'dpl2_debug_' . DPL2_ERR_TOOMANYCATS => 'KESALAHAN: Kategori terlalu banyak! Maksimum: $0. Bantuan: perbesar <code>$wgDPL2MaxCategoryCount</code> untuk memberikan lebih banyak kategori atau atur <code>$wgDPL2AllowUnlimitedCategories=true</code> untuk menghapus batasan. (Atur variabel tersebut di <code>LocalSettings.php</code>, setelah mencantumkan <code>DynamicPageList2.php</code>.)',
 272+ 'dpl2_debug_' . DPL2_ERR_TOOFEWCATS => 'KESALAHAN: Kategori terlalu sedikit! Minimum: $0. Bantuan: kurangi <code>$wgDPL2MinCategoryCount</code> untuk mengurangi kategori. (Atur variabel tersebut di <code>LocalSettings.php</code>, setelah mencantumkan <code>DynamicPageList2.php</code>.)',
 273+ 'dpl2_debug_' . DPL2_ERR_CATDATEBUTNOINCLUDEDCATS => "KESALAHAN: Anda harus memberikan paling tidak satu kategori jika menggunakan 'addfirstcategorydate=true' atau 'ordermethod=categoryadd'!",
 274+ 'dpl2_debug_' . DPL2_ERR_CATDATEBUTMORETHAN1CAT => "KESALAHAN: Jika Anda memberikan lebih dari satu kategori, Anda tidak dapat menggunakan 'addfirstcategorydate=true' atau 'ordermethod=categoryadd'!",
 275+ 'dpl2_debug_' . DPL2_ERR_MORETHAN1TYPEOFDATE => 'KESALAHAN: Anda tidak dapat memberikan lebih dari satu jenis tanggal dalam satu waktu!',
 276+ 'dpl2_debug_' . DPL2_ERR_WRONGORDERMETHOD => "KESALAHAN: Anda dapat menggunakan '$0' hanya dengan 'ordermethod=[...,]$1'!",
 277+ 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => "KESALAHAN: Tidak dapat melakukan operasi logika pada halaman yang tak terkategori (misalnya dengan parameter 'kategori') karena view $0 tidak ada di basis data! Bantuan: mintalah admin basis data untuk menjalankan kueri berikut: <code>$1</code>.",
 278+ 'dpl2_debug_' . DPL2_WARN_UNKNOWNPARAM => "KESALAHAN: Paramater yang tak dikenal '$0' diabaikan. Bantuan: parameter yang tersedia: <code>$1</code>.",
 279+ 'dpl2_debug_' . DPL2_WARN_WRONGPARAM => "KESALAHAN: Parameter '$0' salah: '$1'! Menggunakan konfigurasi baku: '$2'. Bantuan: <code>$0= $3</code>.",
 280+ 'dpl2_debug_' . DPL2_WARN_WRONGPARAM_INT => "KESALAHAN: Parameter '$0' salah: '$1'! Menggunakan konfigurasi baku: '$2' (tanpa limitasi). Bantuan: <code>$0= <i>string kosong</i> (tanpa limitasi) | n</code>, dengan <code>n</code> suatu bilangan positif.",
 281+ 'dpl2_debug_' . DPL2_WARN_NORESULTS => 'KESALAHAN: Hasil tak ditemukan!',
 282+ 'dpl2_debug_' . DPL2_WARN_CATOUTPUTBUTWRONGPARAMS => "KESALAHAN: Menambahkan * parameter ('adduser', 'addeditdate', dll.)' dan 'includepage' tidak berpengaruh pada 'mode=category'. Hanya ruang nama/judul halaman yang dapat ditampilkan dengan mode ini.",
 283+ 'dpl2_debug_' . DPL2_WARN_HEADINGBUTSIMPLEORDERMETHOD => "KESALAHAN: 'headingmode=$0' tidak berpengaruh dengan 'ordermethod' pada suatu komponen tunggal. Menggunakan: '$1'. Bantuan: Anda dapat menggunakan nilai not-$1 'headingmode' dengan 'ordermethod' terhadap beberapa komponen. Komponen pertama digunakan sebagai judul. Misalnya 'ordermethod=category,<i>comp</i>' (<i>comp</i> adalah komponen lain) untuk judul kategori.",
 284+ 'dpl2_debug_' . DPL2_WARN_DEBUGPARAMNOTFIRST => "KESALAHAN: 'debug=$0' tidak pada posisi pertama pada elemen DPL. Aturan debug tidak diterapkan sebelum semua variabel sebelumnya telah diparsing dan dicek.",
 285+ 'dpl2_debug_' . DPL2_WARN_TRANSCLUSIONLOOP => "KESALAHAN: Suatu lingkaran transklusi tak hingga ditimbulkan oleh halaman '$0'.",
 286+ 'dpl2_debug_' . DPL2_QUERY => 'KUERI: <code>$0</code>',
 287+ 'dpl2_articlecount' => 'Terdapat {{PLURAL:$1|artikel|artikel}} dalam judul ini.'
 288+);
268289 $wgDPL2Messages['it'] = array(
269290 /*
270291 Debug
@@ -301,7 +322,7 @@
302323 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
303324 */
304325 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => "ERRORE: Impossibile effettuare operazioni logiche sulle pagine prive di categoria (ad es. con il parametro 'category') in quanto il database non contiene la vista $0. Suggerimento: chiedere all'amministratore del database di eseguire la seguente query: <code>$1</code>.",
305 -
 326+
306327 // WARNINGS
307328 /**
308329 * $0: unknown parameter given by user
@@ -381,7 +402,7 @@
382403 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
383404 */
384405 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => $wgDPL2Messages['en']['dpl2_debug_' . DPL2_ERR_NOCLVIEW],
385 -
 406+
386407 // WARNINGS
387408 /**
388409 * $0: unknown parameter given by user
@@ -460,7 +481,7 @@
461482 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
462483 */
463484 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => $wgDPL2Messages['en']['dpl2_debug_' . DPL2_ERR_NOCLVIEW],
464 -
 485+
465486 // WARNINGS
466487 /**
467488 * $0: unknown parameter given by user
@@ -540,7 +561,7 @@
541562 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
542563 */
543564 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => "CHYBA: Nie je momožné vykonávať logické operácie na nekategorizovaných kategóriách (napr. s parametrom 'Kategória') lebo neexistuje na databázu pohľad $0! Pomocník: nech admin databázy vykoná tento dotaz: <code>$1</code>.",
544 -
 565+
545566 // WARNINGS
546567 /**
547568 * $0: unknown parameter given by user
@@ -620,7 +641,7 @@
621642 * $1: SQL упит за креирање prefix_dpl_clview на бази података вашег МедијаВикија
622643 */
623644 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => "ГРЕШКА: Немогуће извршити операцију на некатегоризованим страницама (нпр. са 'category' параметром) зато што $0 преглед не постоји у бази података! Помоћ: нека администратор базе изврши овај упит: <code>$1</code>.",
624 -
 645+
625646 // WARNINGS
626647 /**
627648 * $0: корисник је унео непознат параметар
@@ -704,7 +725,7 @@
705726 * $1: SQL upit za kreiranje prefix_dpl_clview na bazi podataka vašeg MedijaVikija
706727 */
707728 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => "GREŠKA: Nemoguće izvršiti operaciju na nekategorizovanim stranicama (npr. sa 'category' parametrom) zato što $0 pregled ne postoji u bazi podataka! Pomoć: neka administrator baze izvrši ovaj upit: <code>$1</code>.",
708 -
 729+
709730 // WARNINGS
710731 /**
711732 * $0: korisnik je uneo nepoznat parametar
@@ -784,7 +805,7 @@
785806 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
786807 */
787808 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => $wgDPL2Messages['en']['dpl2_debug_' . DPL2_ERR_NOCLVIEW],
788 -
 809+
789810 // WARNINGS
790811 /**
791812 * $0: unknown parameter given by user
@@ -859,7 +880,7 @@
860881 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
861882 */
862883 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => $wgDPL2Messages['en']['dpl2_debug_' . DPL2_ERR_NOCLVIEW],
863 -
 884+
864885 // WARNINGS
865886 /**
866887 * $0: unknown parameter given by user
@@ -934,7 +955,7 @@
935956 * $1: SQL query to create the prefix_dpl_clview on your mediawiki DB
936957 */
937958 'dpl2_debug_' . DPL2_ERR_NOCLVIEW => $wgDPL2Messages['en']['dpl2_debug_' . DPL2_ERR_NOCLVIEW],
938 -
 959+
939960 // WARNINGS
940961 /**
941962 * $0: unknown parameter given by user