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

List:       kde-edu-devel
Subject:    [kde-edu-devel] Duplicated month names in kvoctrain/FromToEntryPage.cpp
From:       "Eugene Zelenko" <greendeath () mail ! ru>
Date:       2002-12-13 18:30:16
[Download RAW message or body]

Hi!

Constructor FromToEntryPage::FromToEntryPage uses private copies of month names \
(translated in kdelibs.pot). I suggest next changes for reducing translator's efforts \
and code simplifying:

monthnames.append (i18n("January"));
...   
monthnames.append (i18n("December"));

to

for (int i = 1; i <= 12; i++)
  monthnames.append(KGlobal::locale()->monthName(i, false));

Additionally monthnames used only in FromToEntryPage::FromToEntryPage and \
reinitilized every time => it can be declared in FromToEntryPage::FromToEntryPage not \
outside as

static QStringList  monthnames;

With best regards,
Eugene.

PS

Unfortunately, I don't have possibility to rebuild KDE from scratch for make there \
changes myself :-(

_______________________________________________
kde-edu-devel mailing list
kde-edu-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-edu-devel


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

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