[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kcontrol/locale
From: Hans Petter Bieker <bieker () kde ! org>
Date: 2003-01-12 13:04:27
[Download RAW message or body]
CVS commit by bieker:
Made it possible to select Hebrew as calendar system.
M +4 -1 localetime.cpp 1.54
--- kdebase/kcontrol/locale/localetime.cpp #1.53:1.54
@@ -324,4 +324,5 @@ void KLocaleConfigTime::slotCalendarSyst
calendars[0] = "gregorian";
calendars[1] = "hijri";
+ calendars[2] = "hebrew";
QString calendarType;
@@ -342,4 +343,5 @@ void KLocaleConfigTime::slotLocaleChange
calendars[0] = "gregorian";
calendars[1] = "hijri";
+ calendars[2] = "hebrew";
QString calendarType = m_locale->calendarType();
@@ -450,5 +452,5 @@ void KLocaleConfigTime::slotTranslate()
updateWeekDayNames();
- while ( m_comboCalendarSystem->count() < 2 )
+ while ( m_comboCalendarSystem->count() < 3 )
m_comboCalendarSystem->insertItem(QString::null);
m_comboCalendarSystem->changeItem
@@ -456,4 +458,5 @@ void KLocaleConfigTime::slotTranslate()
m_comboCalendarSystem->changeItem
(m_locale->translate("Calendar System Hijri", "Hijri"), 1);
+ (m_locale->translate("Calendar System Hebrew", "Hebrew"), 1);
str = m_locale->translate
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic