[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/localization
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2008-11-30 19:58:06
Message-ID: 1228075086.484692.24412.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 890982 by ilic:

Check for noun declension makes no sense here.
Noun declension setting in itself probably is of no use.


 M  +3 -3      klocale.cpp  


--- trunk/KDE/kdelibs/kdecore/localization/klocale.cpp #890981:890982
@@ -1356,13 +1356,13 @@
               buffer.append(calendar()->monthString(pDate, KCalendarSystem::LongFormat));
 	      break;
 	    case 'b':  //Short month name
-	      if (d->nounDeclension && d->dateMonthNamePossessive)
+	      if (d->dateMonthNamePossessive)
 		buffer.append(calendar()->monthName(month, year, KCalendarSystem::ShortNamePossessive));
 	      else
 		buffer.append(calendar()->monthName(month, year, KCalendarSystem::ShortName));
 	      break;
 	    case 'B':  //Long month name
-	      if (d->nounDeclension && d->dateMonthNamePossessive)
+	      if (d->dateMonthNamePossessive)
 		buffer.append(calendar()->monthName(month, year, KCalendarSystem::LongNamePossessive));
 	      else
 		buffer.append(calendar()->monthName(month, year, KCalendarSystem::LongName));
@@ -1658,7 +1658,7 @@
     case 'B':
 
             error = true;
-      if (d->nounDeclension && d->dateMonthNamePossessive) {
+      if (d->dateMonthNamePossessive) {
         j = 1;
         while (error && (j < 13)) {
           QString s;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic