Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php |
— | — | @@ -49,8 +49,9 @@ |
50 | 50 | if ( is_array( $languagesForCountry ) ) { |
51 | 51 | foreach( $languagesForCountry as $language ) { |
52 | 52 | echo Html::element( 'h3', |
53 | | - array( 'id' => 'lang_' . $language['language']), |
54 | | - $languageNames[$language['language']]); |
| 53 | + array( 'id' => 'lang_' . $language['language'] ), |
| 54 | + $languageNames[$language['language']] |
| 55 | + ); |
55 | 56 | echo Html::element( 'hr' ); |
56 | 57 | echo self::getSearchFormHtml( $language['language'] ); |
57 | 58 | } |
— | — | @@ -61,12 +62,14 @@ |
62 | 63 | ) |
63 | 64 | ); |
64 | 65 | $output .= Html::element( 'option', |
65 | | - array( 'value' => '' ), |
66 | | - wfMsg( 'zero-rated-mobile-access-language-selection' ) ); |
| 66 | + array( 'value' => '' ), |
| 67 | + wfMsg( 'zero-rated-mobile-access-language-selection' ) |
| 68 | + ); |
67 | 69 | foreach ( $languageNames as $languageCode => $languageName ) { |
68 | 70 | $output .= Html::element( 'option', |
69 | | - array( 'value' => '//' . $languageCode . '.m.wikipedia.org/' ), |
70 | | - $languageName ); |
| 71 | + array( 'value' => '//' . $languageCode . '.m.wikipedia.org/' ), |
| 72 | + $languageName |
| 73 | + ); |
71 | 74 | } |
72 | 75 | $output .= Html::closeElement( 'select' ); |
73 | 76 | echo $output; |
Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.i18n.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | |
15 | 15 | // en translation |
16 | 16 | $messages['en'] = array ( |
17 | | - 'zero-rated-mobile-access-desc' => 'Zero Rated Mobile Access extension provides features for mobile providers that provide free access', |
| 17 | + 'zero-rated-mobile-access-desc' => 'Provides features for mobile providers that provide free access', |
18 | 18 | 'zero-rated-mobile-access-search' => 'Search', |
19 | 19 | 'zero-rated-mobile-access-language-options-wiki-page' => 'Language_options', |
20 | 20 | 'zero-rated-mobile-access-language-selection' => 'All languages', |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | ); |
28 | 28 | |
29 | 29 | $messages['qqq'] = array( |
30 | | - 'zero-rated-mobile-access-desc' => '{{Identical|Show}}', |
| 30 | + 'zero-rated-mobile-access-desc' => '{{desc}}', |
31 | 31 | 'zero-rated-mobile-access-search' => 'Text for search action on the search button', |
32 | 32 | 'zero-rated-mobile-access-language-options-wiki-page' => 'The name of the wiki page to store the country language data', |
33 | 33 | ); |
\ No newline at end of file |