From 600f677d1786deba02370ded0331947fa4016a56 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Mon, 25 Jun 2007 19:24:40 +0000 Subject: [PATCH] * (bug 10333) Correct date format in Slovenian --- RELEASE-NOTES | 2 ++ languages/messages/MessagesSl.php | 26 +++++++++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 6da070f45d..18eca4670c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -202,6 +202,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN overlong key errors. * Fixed zero-padding issues with MySQL 5 binary schema * (bug 10344) Don't follow a redirect after changing its protection level +* (bug 10333) Correct date format in Slovenian == API changes since 1.10 == @@ -279,6 +280,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Romanian (ro) * Russian (ru) * Slovak (sk) +* Slovenian (sl) * Shona (sn) * Somali (so) * Albanian (sq) diff --git a/languages/messages/MessagesSl.php b/languages/messages/MessagesSl.php index dfdb3982f7..5c23c1bfb5 100644 --- a/languages/messages/MessagesSl.php +++ b/languages/messages/MessagesSl.php @@ -37,7 +37,31 @@ $namespaceNames = array( NS_CATEGORY_TALK => 'Pogovor_o_kategoriji' ); -$datePreferences = false; +$datePreferences = array( + 'default', + 'dmy short', + 'dmy full', + 'ISO 8601', +); + +/** + * The date format to use for generated dates in the user interface. + * This may be one of the above date preferences, or the special value + * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy + * if $wgAmericanDates is false. + */ +$defaultDateFormat = 'dmy full'; + +$dateFormats = array( + 'dmy short time' => 'H:i', + 'dmy short date' => 'j. F Y', + 'dmy short both' => 'H:i, j. M Y', + + 'dmy full time' => 'H:i', + 'dmy full date' => 'j. F Y', + 'dmy full both' => 'H:i, j. F Y', +); + $fallback8bitEncoding = "iso-8859-2"; $separatorTransformTable = array(',' => '.', '.' => ',' ); -- 2.20.1