* (bug 6280) Correct GRAMMAR for Slovenian localisation (sl)
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 14 Jun 2006 11:56:25 +0000 (11:56 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 14 Jun 2006 11:56:25 +0000 (11:56 +0000)
RELEASE-NOTES
languages/LanguageSl.php

index 688c9e1..6602377 100644 (file)
@@ -491,6 +491,7 @@ Some default configuration options have changed:
   could cause funny timeout behavior as the Content-Length was wrong.
 * Return correct content-type header with 304 responses for StreamFile;
   it confuses Safari if you let it return "text/html".
+* (bug 6280) Correct GRAMMAR for Slovenian localisation (sl)
 
 
 == Compatibility ==
index e3b328b..4677de9 100644 (file)
@@ -99,6 +99,9 @@ class LanguageSl extends LanguageUtf8 {
 
        # Convert from the nominative form of a noun to some other case
        # Invoked with {{GRAMMAR:case|word}}
+       /**
+        * Cases: rodilnik, dajalnik, tožilnik, orodnik, mestnik
+        */
        function convertGrammar( $word, $case ) {
                global $wgGrammarForms;
                if ( isset($wgGrammarForms['sl'][$case][$word]) ) {
@@ -151,7 +154,7 @@ class LanguageSl extends LanguageUtf8 {
                                        $word = 'Wikislovar';
                                }
                        break;
-                       case 'mestnik': # locative
+                       case 'orodnik': # instrumental
                                if ( $word == 'Wikipedija' ) {
                                        $word = 'z Wikipedijo';
                                } elseif ( $word == 'Wikiknjige' ) {
@@ -168,7 +171,7 @@ class LanguageSl extends LanguageUtf8 {
                                        $word = 'z ' . $word;
                                }
                        break;
-                       case 'orodnik': # instrumental
+                       case 'mestnik': # locative
                                if ( $word == 'Wikipedija' ) {
                                        $word = 'o Wikipediji';
                                } elseif ( $word == 'Wikiknjige' ) {