Merge lp:~dpm/camera-app/fix-1320435-metrics-translatable into lp:camera-app

Proposed by David Planella
Status: Merged
Approved by: Ugo Riboni
Approved revision: 271
Merged at revision: 271
Proposed branch: lp:~dpm/camera-app/fix-1320435-metrics-translatable
Merge into: lp:camera-app
Diff against target: 25 lines (+4/-4)
1 file modified
camera-app.qml (+4/-4)
To merge this branch: bzr merge lp:~dpm/camera-app/fix-1320435-metrics-translatable
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Ubuntu Phablet Team Pending
Review via email: mp+219928@code.launchpad.net

Commit message

Internationalize the metrics strings

Description of the change

Internationalize the metrics strings

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'camera-app.qml'
2--- camera-app.qml 2014-05-07 18:42:11 +0000
3+++ camera-app.qml 2014-05-17 07:44:18 +0000
4@@ -367,8 +367,8 @@
5 Metric {
6 id: metricPhotos
7 name: "camera-photos"
8- format: "<b>%1</b> photos taken today"
9- emptyFormat: "No photos taken today"
10+ format: i18n.tr("<b>%1</b> photos taken today")
11+ emptyFormat: i18n.tr("No photos taken today")
12 domain: "camera-app"
13 minimum: 0.0
14 }
15@@ -376,8 +376,8 @@
16 Metric {
17 id: metricVideos
18 name: "camera-videos"
19- format: "<b>%1</b> videos recorded today"
20- emptyFormat: "No videos recorded today"
21+ format: i18n.tr("<b>%1</b> videos recorded today")
22+ emptyFormat: i18n.tr("No videos recorded today")
23 domain: "camera-app"
24 minimum: 0.0
25 }

Subscribers

People subscribed via source and target branches