r23379 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23378‎ | r23379 | r23380 >
Date:09:59, 25 June 2007
Author:ivanlanin
Status:old
Tags:
Comment:
* i18n.db for DeletedContributions and Resign
* Special:Translate for DeletedContributions and Resign
* Indonesian (id) localisation updates for DeletedContributions and Resign
Modified paths:
  • /trunk/extensions/DeletedContributions/DeletedContributions.i18n.php (modified) (history)
  • /trunk/extensions/Resign/SpecialResign.i18n.php (modified) (history)
  • /trunk/extensions/Translate/SpecialTranslate.php (modified) (history)
  • /trunk/extensions/Translate/SpecialTranslate_exts.php (modified) (history)
  • /trunk/extensions/i18n.db (modified) (history)

Diff [purge]

Index: trunk/extensions/Resign/SpecialResign.i18n.php
@@ -47,7 +47,20 @@
4848 'resign-success' => "'''ההרשאות הוסרו בהצלחה.'''",
4949 'resign-logentry' => 'הסיר את ההרשאות $2 שלו',
5050 ),
 51+
 52+'id' => array(
 53+'resign' => 'Pengunduran diri',
 54+'resign-text' => "Anda dapat melepaskan hak Anda (mis. pengurus) melalui halaman ini. Silakan tandai hak yang ingin Anda lepas.
5155
 56+Ingat: '''Anda tidak dapat memperoleh kembali hak Anda melalui ini!''' Anda harus meyakinkan seorang birokrat atau steward untuk memberikan kembali hak tersebut. Harap gunakan halaman ini dengan sangat hati-hati.",
 57+'resign-reason' => 'Alasan:',
 58+'resign-confirm' => 'Saya menyetujui untuk melepas hak-hak yang saya tandai.',
 59+'resign-noconfirm' => 'Harap pilih kotak cek konfirmasi untuk melepaskan hak Anda.',
 60+'resign-nogroups' => 'Harap pilih hak yang ingin Anda lepas.',
 61+'resign-success' => "'''Proses pelepasan hak berhasil.'''",
 62+'resign-logentry' => 'melepaskan hak $2 dari dirinya sendiri',
 63+),
 64+
5265 );
5366 return $messages;
5467 }
Index: trunk/extensions/DeletedContributions/DeletedContributions.i18n.php
@@ -8,4 +8,8 @@
99 $wgDeletedContribsMessages['de'] = array(
1010 'deletedcontributions' => 'Gelöschte Benutzerbeiträge'
1111 );
 12+
 13+$wgDeletedContribsMessages['id'] = array(
 14+ 'deletedcontributions' => 'Kontribusi yang dihapus'
 15+);
1216 ?>
Index: trunk/extensions/Translate/SpecialTranslate.php
@@ -37,6 +37,7 @@
3838 'ext-contributors' => 'ContributorsMessageClass',
3939 'ext-countedits' => 'CountEditsMessageClass',
4040 'ext-crossnamespacelinks' => 'CrossNamespaceLinksMessageClass',
 41+'ext-deletedcontribs' => 'DeletedContribsMessageClass',
4142 'ext-desysop' => 'DesysopMessageClass',
4243 'ext-dismissablesitenotice' => 'DismissableSiteNoticeMessageClass',
4344 'ext-duplicator' => 'DuplicatorMessageClass',
@@ -56,6 +57,7 @@
5758 'ext-patroller' => 'PatrollerMessageClass',
5859 'ext-picturepopup' => 'PicturePopupMessageClass',
5960 'ext-renameuser' => 'RenameUserMessageClass',
 61+'ext-resign' => 'ResignMessageClass',
6062 'ext-sitematrix' => 'SiteMatrixMessageClass',
6163 'ext-translate' => 'TranslateMessageClass',
6264 'ext-userimages' => 'UserImagesMessageClass',
Index: trunk/extensions/Translate/SpecialTranslate_exts.php
@@ -348,6 +348,14 @@
349349 protected $exportPad = 30;
350350 }
351351
 352+class DeletedContribsMessageClass extends ExtensionMessageClass {
 353+ protected $label = 'Extension: Deleted Contributions';
 354+ protected $id = 'ext-deletedcontribs';
 355+
 356+ protected $arrName = 'wgDeletedContribsMessages';
 357+ protected $messageFile = 'DeletedContributions/DeletedContributions.i18n.php';
 358+}
 359+
352360 class DesysopMessageClass extends ExtensionMessageClass {
353361 protected $label = 'Extension: Desysop';
354362 protected $id = 'ext-desysop';
@@ -594,6 +602,19 @@
595603 }
596604 }
597605
 606+class ResignMessageClass extends ExtensionMessageClass {
 607+ protected $label = 'Extension: Resign';
 608+ protected $id = 'ext-resign';
 609+
 610+ protected $functionName = 'efResignMessages';
 611+ protected $messageFile = 'Resign/SpecialResign.i18n.php';
 612+
 613+ protected $exportStart = '\'$CODE\' => array(';
 614+ protected $exportPrefix= '';
 615+ protected $exportLineP = '';
 616+ protected $exportEnd = '),';
 617+}
 618+
598619 class SiteMatrixMessageClass extends ExtensionMessageClass {
599620 protected $label = 'Extension: Site Matrix';
600621 protected $id = 'ext-sitematrix';
Index: trunk/extensions/i18n.db
@@ -60,6 +60,7 @@
6161 ./Contributors/Contributors.i18n.php efContributorsMessages
6262 ./CountEdits/CountEdits.i18n.php efCountEditsMessages
6363 ./CrossNamespaceLinks/SpecialCrossNamespaceLinks.i18n.php wgCrossNamespaceLinksMessages
 64+./DeletedContributions/DeletedContributions.i18n.php wgDeletedContribsMessages
6465 ./Desysop/SpecialDesysop.i18n.php wgDesysopMessages
6566 ./DismissableSiteNotice/DismissableSiteNotice.i18n.php wgDismissableSiteNoticeMessages
6667 ./Duplicator/Duplicator.i18n.php efDuplicatorMessages
@@ -86,6 +87,7 @@
8788 ./ProfileMonitor/ProfileMonitor.i18n.php efProfileMonitorMessages
8889 ./Quiz/Quiz.i18n.php wgQuizMessages
8990 ./Renameuser/SpecialRenameuser.i18n.php wgRenameuserMessages
 91+./Resign/SpecialResign.i18n.php efResignMessages
9092 #./SelectCategory/i18n/SelectCategory.i18n.gsw.php
9193 #./SelectCategory/i18n/SelectCategory.i18n.php
9294 #./SelectCategory/i18n/SelectCategory.i18n.fr.php

Status & tagging log