https://bugs.kde.org/show_bug.cgi?id=256802
Tobias Koenig <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Tobias Koenig <tokoe kde org> 2011-01-13 11:09:43 --- commit 4c64269db7b3a94cb61c012d1b156cac75fe8498 branch master Author: Tobias Koenig <[email protected]> Date: Thu Jan 13 11:12:13 2011 +0100 Show month names in the month selector BUG: 256802 diff --git a/mobile/lib/VerticalSelector.qml b/mobile/lib/VerticalSelector.qml index e7cb63e..34b4b19 100644 --- a/mobile/lib/VerticalSelector.qml +++ b/mobile/lib/VerticalSelector.qml @@ -30,6 +30,7 @@ Item { signal selected() property int beginWith: 0 + property variant displayTexts onValueChanged: { list.positionViewAtIndex( value - beginWith, ListView.Center ); @@ -100,7 +101,7 @@ Item { width: verticalselector.width height: verticalselector.height Text { - text: list.currentIndex + beginWith + text: displayTexts ? displayTexts[list.currentIndex + beginWith] : list.currentIndex + beginWith anchors.fill: parent color: "#004bb8" font.bold: true diff --git a/mobile/lib/calendar/CalendarDialog.qml b/mobile/lib/calendar/CalendarDialog.qml index feed684..815d843 100644 --- a/mobile/lib/calendar/CalendarDialog.qml +++ b/mobile/lib/calendar/CalendarDialog.qml @@ -107,6 +107,20 @@ Dialog { model: 12 beginWith: 1 + displayTexts : [ "dummy", + KDE.i18n( "Jan" ), + KDE.i18n( "Feb" ), + KDE.i18n( "Mar" ), + KDE.i18n( "Apr" ), + KDE.i18n( "May" ), + KDE.i18n( "Jun" ), + KDE.i18n( "Jul" ), + KDE.i18n( "Aug" ), + KDE.i18n( "Sep" ), + KDE.i18n( "Oct" ), + KDE.i18n( "Nov" ), + KDE.i18n( "Dec" ) ]; + onValueChanged: { // selector change -> update calendar myCalendar.month = value; -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-bugs
