~pkunal-parmar/ubuntu-calendar-app/EventBubble-Truncation

« back to all changes in this revision

Viewing changes to RecurrenceLabelDefines.qml

Rewrote GetRecurrenceString function in Event Utils. Fixes: https://bugs.launchpad.net/bugs/1370431, https://bugs.launchpad.net/bugs/1372054.

Approved by Kunal Parmar, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    property var recurrenceLabel:[i18n.tr("Once"),
24
24
        i18n.tr("Daily"),
25
25
        i18n.tr("On Weekdays"),
26
 
        i18n.tr("On Monday, Wednesday and Friday"),
27
 
        i18n.tr("On Tuesday and Thursday"),
 
26
        i18n.tr("On %1 , %2 , %3").arg(Qt.locale().dayName(Qt.Monday,Locale.NarrowFormat)).arg(Qt.locale().dayName(Qt.Wednesday,Locale.NarrowFormat)).arg(Qt.locale().dayName(Qt.Friday,Locale.NarrowFormat)),
 
27
        i18n.tr("On %1 and %2").arg(Qt.locale().dayName(Qt.Tuesday,Locale.NarrowFormat)).arg(Qt.locale().dayName(Qt.Thursday,Locale.NarrowFormat)),
28
28
        i18n.tr("Weekly"),
29
29
        i18n.tr("Monthly"),
30
30
        i18n.tr("Yearly")];