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
1=== modified file 'EventDetails.qml'
2--- EventDetails.qml 2014-09-30 18:28:01 +0000
3+++ EventDetails.qml 2014-10-15 19:10:31 +0000
4@@ -62,6 +62,7 @@
5 var collection = model.collection( event.collectionId );
6 calendarIndicator.color = collection.color
7 eventInfo.color=collection.color
8+ // TRANSLATORS: the first parameter refers to the name of event calendar.
9 calendarName.text = i18n.tr("%1 Calendar").arg( collection.name)
10 }
11
12@@ -100,6 +101,7 @@
13
14 function updateLocation(event) {
15 if( event.location ) {
16+ // TRANSLATORS: the first parameter refers to event location.
17 locationLabel.text = i18n.tr("%1").arg(event.location)
18 }
19 }
20@@ -107,7 +109,7 @@
21 function showEvent(e) {
22 var startTime = e.startDateTime.toLocaleTimeString(Qt.locale(), Locale.ShortFormat)
23 var endTime = e.endDateTime.toLocaleTimeString(Qt.locale(), Locale.ShortFormat)
24-
25+ // TRANSLATORS: the first parameter refers to number of all day events.
26 dateLabel.text = e.allDay === true ? i18n.tr("%1 (All Day)").arg( e.startDateTime.toLocaleDateString(Qt.locale(), Locale.LongFormat))
27 : e.startDateTime.toLocaleDateString(Qt.locale(), Locale.LongFormat) + ", " +startTime + " - " + endTime;
28

Subscribers

People subscribed via source and target branches

to status/vote changes: