Merge lp:~mihirsoni/ubuntu-calendar-app/MissingTranslators into lp:ubuntu-calendar-app

Proposed by Mihir Soni
Status: Merged
Approved by: Alan Pope 🍺🐧🐱 πŸ¦„
Approved revision: 501
Merged at revision: 501
Proposed branch: lp:~mihirsoni/ubuntu-calendar-app/MissingTranslators
Merge into: lp:ubuntu-calendar-app
Diff against target: 27 lines (+3/-1)
1 file modified
EventDetails.qml (+3/-1)
To merge this branch: bzr merge lp:~mihirsoni/ubuntu-calendar-app/MissingTranslators
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Alan Pope 🍺🐧🐱 πŸ¦„ (community) Approve
Review via email: mp+238488@code.launchpad.net

Commit message

Added missing translator comments.

Description of the change

Added missing translator comments.

To post a comment you must log in.
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) :
review: Approve
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'EventDetails.qml'
--- EventDetails.qml 2014-09-30 18:28:01 +0000
+++ EventDetails.qml 2014-10-15 19:10:31 +0000
@@ -62,6 +62,7 @@
62 var collection = model.collection( event.collectionId );62 var collection = model.collection( event.collectionId );
63 calendarIndicator.color = collection.color63 calendarIndicator.color = collection.color
64 eventInfo.color=collection.color64 eventInfo.color=collection.color
65 // TRANSLATORS: the first parameter refers to the name of event calendar.
65 calendarName.text = i18n.tr("%1 Calendar").arg( collection.name)66 calendarName.text = i18n.tr("%1 Calendar").arg( collection.name)
66 }67 }
6768
@@ -100,6 +101,7 @@
100101
101 function updateLocation(event) {102 function updateLocation(event) {
102 if( event.location ) {103 if( event.location ) {
104 // TRANSLATORS: the first parameter refers to event location.
103 locationLabel.text = i18n.tr("%1").arg(event.location)105 locationLabel.text = i18n.tr("%1").arg(event.location)
104 }106 }
105 }107 }
@@ -107,7 +109,7 @@
107 function showEvent(e) {109 function showEvent(e) {
108 var startTime = e.startDateTime.toLocaleTimeString(Qt.locale(), Locale.ShortFormat)110 var startTime = e.startDateTime.toLocaleTimeString(Qt.locale(), Locale.ShortFormat)
109 var endTime = e.endDateTime.toLocaleTimeString(Qt.locale(), Locale.ShortFormat)111 var endTime = e.endDateTime.toLocaleTimeString(Qt.locale(), Locale.ShortFormat)
110112 // TRANSLATORS: the first parameter refers to number of all day events.
111 dateLabel.text = e.allDay === true ? i18n.tr("%1 (All Day)").arg( e.startDateTime.toLocaleDateString(Qt.locale(), Locale.LongFormat))113 dateLabel.text = e.allDay === true ? i18n.tr("%1 (All Day)").arg( e.startDateTime.toLocaleDateString(Qt.locale(), Locale.LongFormat))
112 : e.startDateTime.toLocaleDateString(Qt.locale(), Locale.LongFormat) + ", " +startTime + " - " + endTime;114 : e.startDateTime.toLocaleDateString(Qt.locale(), Locale.LongFormat) + ", " +startTime + " - " + endTime;
113115

Subscribers

People subscribed via source and target branches

to status/vote changes: