From 28879af7da37e251f936543b529a538401ee3f6d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 14 Jun 2006 11:56:25 +0000 Subject: [PATCH] * (bug 6280) Correct GRAMMAR for Slovenian localisation (sl) --- RELEASE-NOTES | 1 + languages/LanguageSl.php | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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' ) { -- 2.20.1