From: Niklas Laxström Date: Wed, 14 Jun 2006 11:56:25 +0000 (+0000) Subject: * (bug 6280) Correct GRAMMAR for Slovenian localisation (sl) X-Git-Tag: 1.31.0-rc.0~56786 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=28879af7da37e251f936543b529a538401ee3f6d;p=lhc%2Fweb%2Fwiklou.git * (bug 6280) Correct GRAMMAR for Slovenian localisation (sl) --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 688c9e12bb..66023772af 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/languages/LanguageSl.php b/languages/LanguageSl.php index e3b328b752..4677de9d6f 100644 --- a/languages/LanguageSl.php +++ b/languages/LanguageSl.php @@ -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' ) {