From kde-commits Sun Jan 12 13:04:27 2003 From: Hans Petter Bieker Date: Sun, 12 Jan 2003 13:04:27 +0000 To: kde-commits Subject: kdebase/kcontrol/locale X-MARC-Message: https://marc.info/?l=kde-commits&m=104237676419391 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