Index: branches/wmf-deployment/extensions/LocalisationUpdate/LocalisationUpdate.class.php |
— | — | @@ -192,7 +192,7 @@ |
193 | 193 | // Get the languagecode |
194 | 194 | $m = array(); |
195 | 195 | preg_match( '/Messages([A-Z][a-z_]+)\.php$/', $basefile, $m ); |
196 | | - $langcode = strtolower( $m[1] ); |
| 196 | + $langcode = str_replace( '_', '-', strtolower( $m[1] ) ); |
197 | 197 | |
198 | 198 | $basefilecontents = self::getFileContents( $basefile ); |
199 | 199 | if ( $basefilecontents === false || $basefilecontents === "" ) return array(); // Failed |
Property changes on: branches/wmf-deployment/extensions/LocalisationUpdate/LocalisationUpdate.class.php |
___________________________________________________________________ |
Name: svn:mergeinfo |
200 | 200 | + /trunk/extensions/LocalisationUpdate/LocalisationUpdate.class.php:56151-57449,58213,58358 |
/trunk/phase3/extensions/LocalisationUpdate/LocalisationUpdate.class.php:55198,56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447 |