[Bug 279174] Long/short weekday date format specifiers sharing a common word stem are interpreted incorrectly

Burkhard Lueck lueck at hube-lueck.de
Wed Aug 3 20:21:08 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=279174





--- Comment #5 from Burkhard Lueck <lueck hube-lueck de>  2011-08-03 20:21:07 ---
(In reply to comment #4)
> Hmmm.  Nothing has changed in the code since 4.6, so this should also be a
> problem under 4.6, and I don't think I changed that method in the big rewrite
> for 4.6 either so could have been around for ages.  

Yes, just checked this issue with locale de in a VM (Kubuntu 11.04 with KDE
4.6.2), it is broken as well :-(

Btw. this commented line in the diff is responsible for the strange
untanslatable item in the Short date format ComboBox:
$ git diff kcontrol/locale/kcmlocale.cpp
diff --git a/kcontrol/locale/kcmlocale.cpp b/kcontrol/locale/kcmlocale.cpp
index 7eb6353..ec3ca15 100644
--- a/kcontrol/locale/kcmlocale.cpp
+++ b/kcontrol/locale/kcmlocale.cpp
@@ -3028,7 +3028,7 @@ void KCMLocale::initShortDateFormat()
     formatList.append( posixToUserDate( m_defaultSettings.readEntry(
"DateFormatShort", cValue ) ) );
     formatList.append( posixToUserDate( m_countrySettings.readEntry(
"DateFormatShort", cValue ) ) );
     formatList.append( posixToUserDate( cValue ) );
-    formatList.append( "YYYY-MM-DD" );
+    //formatList.append( "YYYY-MM-DD" );
     // TODO convert these to POSIX and US format!
     QString formats = ki18nc("some reasonable short date formats for the
language",
                              "YYYY-MM-DD\n"

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the kde-i18n-de mailing list