Merged my changes from REL1_4
[lhc/web/wiklou.git] / languages / LanguageLatin1.php
index c24f0be..f680133 100644 (file)
@@ -263,25 +263,41 @@ class LanguageLatin1 {
                return $this->lang->getPreferredVariant();
        }
 
+       function segmentForDiff( $text ) {
+               return $text;
+       }
+
+       function unsegmentForDiff( $text ) {
+               return $text;
+       }
+
        function convert( $text, $isTitle=false ) {
                return utf8_decode( $this->lang->convert( utf8_encode( $text ), $isTitle ) );
        }
        
-       function autoConvert($text, $toVariant=false) {
-               return utf8_decode( $this->lang->autoConvert( utf8_encode( $text ), $toVariant ) );
+       function getVariantname( $code ) {
+               return utf8_decode( $this->lang->getVariantname( $code ) );
        }
 
-       /* hook for converting the title, which may needs special treatment
-       */
-       function convertTitle($text) {
-               return utf8_decode( $this->lang->convertTitle( utf8_encode( $text ) ) );
+       function getVariants() {
+               return $this->lang->getVariants();
        }
 
+       function convertForSearchResult( $termsArray ) {
+               return $termsArray;
+       }       
+
+       function getExtraHashOptions() {
+               return '';
+       }
        
-       function getVariants() {
-               return $this->lang->getVariants();
+       function linkTrail() {
+               return $this->lang->linkTrail();
        }
 
+       function getLangObj() {
+               return $this->lang;
+       }
 }
 
 ?>