Index: trunk/extensions/Translate/utils/StatsTable.php |
— | — | @@ -299,6 +299,13 @@ |
300 | 300 | } |
301 | 301 | } |
302 | 302 | |
| 303 | + $filterLangs = TranslateMetadata::get( $groupId , 'prioritylangs' ); |
| 304 | + if ( strlen( $filterLangs ) > 0 ) { |
| 305 | + $filter = array_flip( explode( ',', $filterLangs ) ); |
| 306 | + if ( count( $filter ) > 0 && !isset( $filter[$code] ) ) { |
| 307 | + $blacklisted = true; |
| 308 | + } |
| 309 | + } |
303 | 310 | return $blacklisted; |
304 | 311 | } |
305 | 312 | |