r36748 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36747‎ | r36748 | r36749 >
Date:14:28, 27 June 2008
Author:rotem
Status:old
Tags:
Comment:
* Not optional messages.
* Reorganizing the messages in messages.inc.
* Update for he.
Modified paths:
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesHe.php (modified) (history)
  • /trunk/phase3/maintenance/language/messageTypes.inc (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -356,8 +356,9 @@
357357 'customcssjsprotected',
358358 'ns-specialprotected',
359359 'titleprotected',
 360+ ),
 361+ 'virus' => array(
360362 'virus-badscanner',
361 - 'virus-badscanner',
362363 'virus-scanfailed',
363364 'virus-unknownscanner',
364365 ),
@@ -2639,6 +2640,7 @@
26402641 'nstab' => "Short words for each namespace, by default used in the namespace tab in monobook",
26412642 'main' => 'Main script and global functions',
26422643 'errors' => 'General errors',
 2644+ 'virus' => 'Virus scanner',
26432645 'login' => 'Login and logout pages',
26442646 'resetpass' => 'Password reset dialog',
26452647 'toolbar' => 'Edit page toolbar',
Index: trunk/phase3/maintenance/language/messageTypes.inc
@@ -313,9 +313,6 @@
314314 'autocomment-prefix',
315315 'listgrouprights-right-display',
316316 'timezone-utc',
317 - 'virus-badscanner',
318 - 'virus-scanfailed',
319 - 'virus-unknownscanner',
320317 );
321318
322319 /** EXIF messages, which may be set as optional in several checks, but are generally mandatory */
Index: trunk/phase3/languages/messages/MessagesHe.php
@@ -677,6 +677,11 @@
678678 'ns-specialprotected' => 'לא ניתן לערוך דפים מיוחדים.',
679679 'titleprotected' => 'לא ניתן ליצור דף זה, כיוון שהמשתמש [[User:$1|$1]] הגן עליו מפני יצירה בנימוק "$2".',
680680
 681+# Virus scanner
 682+'virus-badscanner' => 'הגדרות שגויות: סורק הווירוסים אינו ידוע: <i>$1</i>',
 683+'virus-scanfailed' => 'הסריקה נכשלה (קוד: $1)',
 684+'virus-unknownscanner' => 'אנטי־וירוס בלתי ידוע:',
 685+
681686 # Login and logout pages
682687 'logouttitle' => 'יציאה מהחשבון',
683688 'logouttext' => 'יצאתם זה עתה מהחשבון. באפשרותכם להמשיך ולעשות שימוש ב{{grammar:תחילית|{{SITENAME}}}} באופן אנונימי, או לשוב ולהיכנס לאתר עם שם משתמש זהה או אחר.',
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -838,9 +838,9 @@
839839 The reason given is ''$2''.",
840840
841841 # Virus scanner
842 -'virus-badscanner' => "Bad configuration: unknown virus scanner: <i>$1</i>",
843 -'virus-scanfailed' => "scan failed (code $1)",
844 -'virus-unknownscanner' => "unknown antivirus:",
 842+'virus-badscanner' => 'Bad configuration: unknown virus scanner: <i>$1</i>',
 843+'virus-scanfailed' => 'scan failed (code $1)',
 844+'virus-unknownscanner' => 'unknown antivirus:',
845845
846846 # Login and logout pages
847847 'logouttitle' => 'User logout',

Status & tagging log