Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -189,7 +189,7 @@ |
190 | 190 | */ |
191 | 191 | function addPage( $title, $sortkey, $pageLength, $isRedirect = false ) { |
192 | 192 | global $wgContLang; |
193 | | - $titletext = $wgContLang->convertHtml( $title->getPrefixedText() ); |
| 193 | + $titletext = $wgContLang->convertHtml( $title->getPrefixedText(), true ); |
194 | 194 | $this->articles[] = $isRedirect |
195 | 195 | ? '<span class="redirect-in-category">' . $this->getSkin()->makeKnownLinkObj( $title, $titletext ) . '</span>' |
196 | 196 | : $this->getSkin()->makeSizeLinkObj( $pageLength, $title, $titletext ); |
Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php |
— | — | @@ -588,6 +588,7 @@ |
589 | 589 | * $info must be an associative array, containing at least a Title object under the 'title' key. |
590 | 590 | */ |
591 | 591 | function renderNodeInfo( $title, $cat, $children = 0, $loadchildren = false ) { |
| 592 | + global $wgContLang; |
592 | 593 | static $uniq = 0; |
593 | 594 | |
594 | 595 | $this->init(); # initialize messages |
— | — | @@ -619,6 +620,8 @@ |
620 | 621 | if ( $hideprefix ) $label = htmlspecialchars( $title->getText() ); |
621 | 622 | else $label = htmlspecialchars( $title->getPrefixedText() ); |
622 | 623 | |
| 624 | + $label = $wgContLang->convert( $label, true ); |
| 625 | + |
623 | 626 | if ( $trans && $trans!=$label ) $label.= ' ' . Xml::element( 'i', array( 'class' => 'translation'), $trans ); |
624 | 627 | |
625 | 628 | $labelClass = 'CategoryTreeLabel ' . ' CategoryTreeLabelNs' . $ns; |