Index: trunk/extensions/Translate/tag/TPParse.php |
— | — | @@ -109,6 +109,10 @@ |
110 | 110 | $text = str_replace( $ph, $s->getTextForTrans(), $text ); |
111 | 111 | } else { |
112 | 112 | $sectiontext = $msg->translation(); |
| 113 | + |
| 114 | + // Ideally we should not have fuzzy here, but old texts do |
| 115 | + $sectiontext = str_replace( TRANSLATE_FUZZY, '', $sectiontext ); |
| 116 | + |
113 | 117 | $vars = $s->getVariables(); |
114 | 118 | foreach ( $vars as $key => $value ) { |
115 | 119 | $sectiontext = str_replace( $key, $value, $sectiontext ); |
Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -106,7 +106,6 @@ |
107 | 107 | static function addTools( $object ) { |
108 | 108 | $object->editFormTextTop .= self::editBoxes( $object ); |
109 | 109 | global $wgMessageCache, $wgLang; |
110 | | - $wgMessageCache->addMessage( 'savearticle', "Save as {$wgLang->getCode()}", $wgLang->getCode() ); |
111 | 110 | return true; |
112 | 111 | } |
113 | 112 | |