http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72769

Revision: 72769
Author:   kaldari
Date:     2010-09-10 23:44:32 +0000 (Fri, 10 Sep 2010)

Log Message:
-----------
localizing new interface components from r72765

Modified Paths:
--------------
    trunk/extensions/CentralNotice/CentralNotice.i18n.php
    trunk/extensions/CentralNotice/SpecialCentralNotice.php

Modified: trunk/extensions/CentralNotice/CentralNotice.i18n.php
===================================================================
--- trunk/extensions/CentralNotice/CentralNotice.i18n.php       2010-09-10 
23:34:37 UTC (rev 72768)
+++ trunk/extensions/CentralNotice/CentralNotice.i18n.php       2010-09-10 
23:44:32 UTC (rev 72769)
@@ -120,6 +120,8 @@
        'centralnotice-banner-type' => 'Banner type:',
        'centralnotice-banner-hidable' => 'Static/Hidable',
        'centralnotice-banner-collapsible' => 'Collapsible',
+       'centralnotice-geotargeted' => 'Geotargeted',
+       'centralnotice-countries' => 'Countries',
        
        'right-centralnotice-admin' => 'Manage central notices',
        'right-centralnotice-translate' => 'Translate central notices',
@@ -179,6 +181,7 @@
        'centralnotice-message' => '{{Identical|Message}}',
        'centralnotice-clone-name' => '{{Identical|Name}}',
        'centralnotice-insert' => '{{Identical|Insert}}',
+       'centralnotice-geotargeted' => 'Used to label a checkbox which 
activates geotargeting',
        'right-centralnotice-admin' => '{{doc-right}}',
        'right-centralnotice-translate' => '{{doc-right}}',
        'action-centralnotice-admin' => '{{doc-action}}',

Modified: trunk/extensions/CentralNotice/SpecialCentralNotice.php
===================================================================
--- trunk/extensions/CentralNotice/SpecialCentralNotice.php     2010-09-10 
23:34:37 UTC (rev 72768)
+++ trunk/extensions/CentralNotice/SpecialCentralNotice.php     2010-09-10 
23:44:32 UTC (rev 72769)
@@ -508,11 +508,11 @@
                        $htmlOut .= Xml::closeElement( 'tr' );
                        // Countries
                        $htmlOut .= Xml::openElement( 'tr' );
-                       $htmlOut .= Xml::tags( 'td', array(), Xml::label( 
'Geotargeted', 'geotargeted' ) );
+                       $htmlOut .= Xml::tags( 'td', array(), Xml::label( 
wfMsgHtml( 'centralnotice-geotargeted' ), 'geotargeted' ) );
                        $htmlOut .= Xml::tags( 'td', array(), Xml::check( 
'geotargeted', false, wfArrayMerge( $readonly, array( 'value' => 1, 'id' => 
'geotargeted' ) ) ) );
                        $htmlOut .= Xml::closeElement( 'tr' );
                        $htmlOut .= Xml::openElement( 'tr', array( 
'id'=>'geoMultiSelector' ) );
-                       $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top' 
), 'Countries' );
+                       $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top' 
), wfMsgHtml( 'centralnotice-countries' ) );
                        $htmlOut .= Xml::tags( 'td', array(), 
$this->geoMultiSelector() );
                        $htmlOut .= Xml::closeElement( 'tr' );
                        
@@ -811,11 +811,11 @@
                        $htmlOut .= Xml::closeElement( 'tr' );
                        // Countries
                        $htmlOut .= Xml::openElement( 'tr' );
-                       $htmlOut .= Xml::tags( 'td', array(), Xml::label( 
'Geotargeted', 'geotargeted' ) );
+                       $htmlOut .= Xml::tags( 'td', array(), Xml::label( 
wfMsgHtml( 'centralnotice-geotargeted' ), 'geotargeted' ) );
                        $htmlOut .= Xml::tags( 'td', array(), Xml::check( 
'geotargeted', false, wfArrayMerge( $readonly, array( 'value' => 
$row->not_name, 'id' => 'geotargeted' ) ) ) );
                        $htmlOut .= Xml::closeElement( 'tr' );
                        $htmlOut .= Xml::openElement( 'tr', array( 
'id'=>'geoMultiSelector' ) );
-                       $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top' 
), 'Countries' );
+                       $htmlOut .= Xml::tags( 'td', array( 'valign' => 'top' 
), wfMsgHtml( 'centralnotice-countries' ) );
                        $htmlOut .= Xml::tags( 'td', array(), 
$this->geoMultiSelector() );
                        $htmlOut .= Xml::closeElement( 'tr' );
                        // Enabled
@@ -1684,12 +1684,12 @@
                $htmlOut = '';
                if ( $this->editable ) {
                        $htmlOut .= Xml::tags( 'select',
-                               array( 'multiple' => 'multiple', 'size' => 4, 
'id' => 'geo_countries[]', 'name' => 'geo_countries[]' ),
+                               array( 'multiple' => 'multiple', 'size' => 5, 
'id' => 'geo_countries[]', 'name' => 'geo_countries[]' ),
                                $options
                        );
                } else {
                        $htmlOut .= Xml::tags( 'select',
-                               array( 'multiple' => 'multiple', 'size' => 4, 
'id' => 'geo_countries[]', 'name' => 'geo_countries[]', 'disabled' => 
'disabled' ),
+                               array( 'multiple' => 'multiple', 'size' => 5, 
'id' => 'geo_countries[]', 'name' => 'geo_countries[]', 'disabled' => 
'disabled' ),
                                $options
                        );
                }



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to