Index: trunk/phase3/languages/LanguageConverter.php |
— | — | @@ -881,7 +881,6 @@ |
882 | 882 | } |
883 | 883 | } |
884 | 884 | |
885 | | - |
886 | 885 | // parse the mappings in this page |
887 | 886 | $blocks = StringUtils::explode( '-{', $txt ); |
888 | 887 | $ret = array(); |
— | — | @@ -907,7 +906,6 @@ |
908 | 907 | } |
909 | 908 | $parsed[$key] = true; |
910 | 909 | |
911 | | - |
912 | 910 | // recursively parse the subpages |
913 | 911 | if ( $recursive ) { |
914 | 912 | foreach ( $sublinks as $link ) { |
— | — | @@ -918,7 +916,7 @@ |
919 | 917 | |
920 | 918 | if ( $this->mUcfirst ) { |
921 | 919 | foreach ( $ret as $k => $v ) { |
922 | | - $ret[Language::ucfirst( $k )] = Language::ucfirst( $v ); |
| 920 | + $ret[$this->mLangObj->ucfirst( $k )] = $this->mLangObj->ucfirst( $v ); |
923 | 921 | } |
924 | 922 | } |
925 | 923 | return $ret; |