Localisation updates from Betawiki
[lhc/web/wiklou.git] / languages / classes / LanguageKk_cyrl.php
index 7b2a092..e0a1b12 100644 (file)
@@ -1,10 +1,8 @@
 <?php
 /** Kazakh (Қазақша)
-  *
-  *
-  * @addtogroup Language
-  */
-
+ *
+ * @ingroup Language
+ */
 
 class LanguageKk_cyrl extends Language {
 
@@ -13,14 +11,6 @@ class LanguageKk_cyrl extends Language {
        /**
         * Cases: genitive, dative, accusative, locative, ablative, comitative + possessive forms
         */
-       function convertGrammar( $word, $case, $variant ) {
-               global $wgGrammarForms;
-
-               if ($variant='kk-cyrl') { $word = self::convertGrammarKk_cyrl( $word, $case ); }
-               if ($variant='kk-latn') { $word = self::convertGrammarKk_latn( $word, $case ); }
-               if ($variant='kk-arab') { $word = self::convertGrammarKk_arab( $word, $case ); }
-               return $word;
-       }
 
        function convertGrammarKk_cyrl( $word, $case ) {
                global $wgGrammarForms;
@@ -161,7 +151,7 @@ class LanguageKk_cyrl extends Language {
                                        } elseif ( in_array( $wordLastVowel, $backVowels ) ) {
                                                $word = $word . "да";
                                        }
-                               } 
+                               }
                                break;
                        case "dc41":
                        case "possessive locative": #täweldık + jatıs
@@ -177,7 +167,7 @@ class LanguageKk_cyrl extends Language {
                                        } elseif ( in_array( $wordLastVowel, $backVowels ) ) {
                                                $word = $word . "нда";
                                        }
-                               } 
+                               }
                                break;
                        case "dc5":
                        case "ablative": #şığıs
@@ -381,7 +371,7 @@ class LanguageKk_cyrl extends Language {
                                        } elseif ( in_array( $wordLastVowel, $backVowels ) ) {
                                                $word = $word . "da";
                                        }
-                               } 
+                               }
                                break;
                        case "dc41":
                        case "possessive locative": #täweldık + jatıs
@@ -397,7 +387,7 @@ class LanguageKk_cyrl extends Language {
                                        } elseif ( in_array( $wordLastVowel, $backVowels ) ) {
                                                $word = $word . "nda";
                                        }
-                               } 
+                               }
                                break;
                        case "dc5":
                        case "ablative": #şığıs
@@ -601,7 +591,7 @@ class LanguageKk_cyrl extends Language {
                                        } elseif ( in_array( $wordLastVowel, $backVowels ) ) {
                                                $word = $word . "دا";
                                        }
-                               } 
+                               }
                                break;
                        case "dc41":
                        case "possessive locative": #täweldık + jatıs
@@ -617,7 +607,7 @@ class LanguageKk_cyrl extends Language {
                                        } elseif ( in_array( $wordLastVowel, $backVowels ) ) {
                                                $word = $word . "ندا";
                                        }
-                               } 
+                               }
                                break;
                        case "dc5":
                        case "ablative": #şığıs
@@ -689,7 +679,7 @@ class LanguageKk_cyrl extends Language {
                // Put the word in a form we can play with since we're using UTF-8
                $ar = preg_split('//u', parent::lc($word), -1, PREG_SPLIT_NO_EMPTY);
 
-               // Here's an array with the order of the letters in the word reversed 
+               // Here's an array with the order of the letters in the word reversed
                // so we can find a match quicker *shrug*
                $wordReversed = array_reverse( $ar );