~pkunal-parmar/ubuntu-calendar-app/Minor-Performance

« back to all changes in this revision

Viewing changes to AllDayEventComponent.qml

  • Committer: David Planella
  • Date: 2014-10-17 05:42:34 UTC
  • mto: This revision was merged to the branch mainline in revision 504.
  • Revision ID: david.planella@ubuntu.com-20141017054234-272pdm84obtghdpp
Fixed a few translatable strings for consistence and added translator comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
                        // on a given day. "Ev." is short form for "Events".
107
107
                        // Please keep the translation of "Ev." to 3 characters only, as the week view
108
108
                        // where it's shown has limited space
109
 
                        text =  i18n.tr("%1 Ev.").arg(events.length)
 
109
                        text =  i18n.tr("%1 ev.").arg(events.length)
110
110
                    } else {
111
111
                        if( events.length > 1) {
112
 
                           text = i18n.tr("%1 All day event", "%1 All day events", events.length).arg(events.length)
 
112
                           // TRANSLATORS: the argument refers to the number of all day events
 
113
                           text = i18n.tr("%1 all day event", "%1 all day events", events.length).arg(events.length)
113
114
                        } else {
114
115
                            text = events[0].displayLabel;
115
116
                        }