Index: trunk/extensions/Translate/scripts/groupStatistics.php |
— | — | @@ -224,8 +224,7 @@ |
225 | 225 | } |
226 | 226 | $out->element( 'Code', true ); |
227 | 227 | $out->element( ( $l10n ? "{{int:translate-page-language}}" : 'Language' ), true ); |
228 | | -if( ( $options['output'] == 'wiki' || $options['output'] == 'default' ) && |
229 | | - isset( $options['continent'] ) ) { |
| 228 | +if( isset( $options['continent'] ) ) { |
230 | 229 | $out->element( ( $l10n ? "{{int:translate-gs-continent}}" : 'Continent' ), true ); |
231 | 230 | } |
232 | 231 | |
— | — | @@ -361,14 +360,13 @@ |
362 | 361 | } |
363 | 362 | |
364 | 363 | // Fill continent field |
365 | | - if( ( $options['output'] == 'wiki' || $options['output'] == 'default' ) && |
366 | | - isset( $options['continent'] ) ) { |
| 364 | + if( ( isset( $options['continent'] ) ) { |
367 | 365 | if( $mostSpokenLanguages[$code][2] == 'multiple' ) { |
368 | 366 | $continent = ( $l10n ? "{{int:translate-gs-multiple}}" : 'Multiple' ); |
369 | 367 | } else { |
370 | 368 | $continent = $l10n ? |
371 | | - ucfirst ( $mostSpokenLanguages[$code][2] ) : |
372 | | - "{{int:timezoneregion-" . $mostSpokenLanguages[$code][2] . "}}"; |
| 369 | + "{{int:timezoneregion-" . $mostSpokenLanguages[$code][2] . "}}" : |
| 370 | + ucfirst ( $mostSpokenLanguages[$code][2] ); |
373 | 371 | } |
374 | 372 | |
375 | 373 | $out->element( $continent ); |