Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php |
— | — | @@ -454,10 +454,12 @@ |
455 | 455 | $project_langs = array(); |
456 | 456 | $project_langs = $this->getNoticeLanguages( $row->not_name ); |
457 | 457 | $language_count = count( $project_langs ); |
458 | | - if ( $language_count > 1 ) { |
| 458 | + if ( $language_count > 3 ) { |
459 | 459 | $languageList = "multiple ($language_count)"; |
| 460 | + } elseif ( $language_count > 0 ) { |
| 461 | + $languageList = implode(', ',$project_langs); |
460 | 462 | } else { |
461 | | - $languageList = $project_langs[0]; |
| 463 | + $languageList = ''; |
462 | 464 | } |
463 | 465 | $fields[] = $languageList; |
464 | 466 | |