r46069 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46068‎ | r46069 | r46070 >
Date:08:53, 23 January 2009
Author:rotem
Status:resolved
Tags:
Comment:
Localization:
* Moving language-link-title to the bottom of the localization files, since it is not really the sidebar, and since the comment above the message 'sidebar' is not relevant for the other languages.
* 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/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -10,7 +10,6 @@
1111 $wgMessageStructure = array(
1212 'sidebar' => array(
1313 'sidebar',
14 - 'language-link-title',
1514 ),
1615 'toggles' => array(
1716 'tog-underline',
@@ -2890,6 +2889,9 @@
28912890 'external_images' => array(
28922891 'external_image_whitelist',
28932892 ),
 2893+ 'language-links' => array(
 2894+ 'language-link-title',
 2895+ ),
28942896 );
28952897
28962898 /** Comments for each block */
@@ -3086,6 +3088,7 @@
30873089 'special-specialpages' => 'Special:SpecialPages',
30883090 'special-blank' => 'Special:BlankPage',
30893091 'external_images' => 'External image whitelist',
 3092+ 'language-links' => 'Language links',
30903093 );
30913094
30923095 /** Short comments for standalone messages */
Index: trunk/phase3/languages/messages/MessagesHe.php
@@ -3218,4 +3218,7 @@
32193219
32203220 #נא לכתוב את כל הביטויים הרגולריים מעל שורה זו. נא להשאיר שורה זו בדיוק כפי שהיא</pre>',
32213221
 3222+# Language links
 3223+'language-link-title' => 'גרסה בשפה $1',
 3224+
32223225 );
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -473,7 +473,7 @@
474474 XHTML id it should only appear once and include characters that are legal
475475 XHTML id names.
476476 */
477 -'sidebar' => '
 477+'sidebar' => '
478478 * navigation
479479 ** mainpage|mainpage-description
480480 ** portal-url|portal
@@ -484,7 +484,6 @@
485485 * SEARCH
486486 * TOOLBOX
487487 * LANGUAGES', # do not translate or duplicate this message to other languages
488 -'language-link-title' => '$1 version',
489488
490489 # User preference toggles
491490 'tog-underline' => 'Underline links:',
@@ -3791,4 +3790,8 @@
37923791 #Lines beginning with # are treated as comments
37933792
37943793 #Put all regex fragments above this line. Leave this line exactly as it is</pre>',
 3794+
 3795+# Language links
 3796+'language-link-title' => '$1 version',
 3797+
37953798 );

Status & tagging log