Index: trunk/phase3/languages/Language.php |
— | — | @@ -2509,7 +2509,7 @@ |
2510 | 2510 | */ |
2511 | 2511 | static function getCodeFromFileName( $filename, $prefix = 'Language', $suffix = '.php' ) { |
2512 | 2512 | $m = null; |
2513 | | - preg_match( '/' . preg_quote( $prefix ) . '([A-Z][a-z_])' . |
| 2513 | + preg_match( '/' . preg_quote( $prefix ) . '([A-Z][a-z_]+)' . |
2514 | 2514 | preg_quote( $suffix ) . '/', $filename, $m ); |
2515 | 2515 | if ( !count( $m ) ) { |
2516 | 2516 | return false; |