Merge lp:~ahayzen/music-app/fix-infographics-1351421 into lp:music-app/trusty

Proposed by Andrew Hayzen
Status: Rejected
Rejected by: David Planella
Proposed branch: lp:~ahayzen/music-app/fix-infographics-1351421
Merge into: lp:music-app/trusty
Diff against target: 12 lines (+1/-1)
1 file modified
music-app.qml (+1/-1)
To merge this branch: bzr merge lp:~ahayzen/music-app/fix-infographics-1351421
Reviewer Review Type Date Requested Status
David Planella Disapprove
Victor Thompson Needs Information
Ubuntu Phone Apps Jenkins Bot continuous-integration Needs Fixing
Andrew Hayzen Needs Information
Review via email: mp+229506@code.launchpad.net

Commit message

* Fix infographic metric so that it is grammatically correct

Description of the change

* Fix infographic metric so that it is grammatically correct

To post a comment you must log in.
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Camera App has all lower case 'photos taken today: %d' [0] should we follow or have upper case so "Songs played today: %d" vs "songs played today: %d".

0 - http://bazaar.launchpad.net/~phablet-team/camera-app/trunk/view/head:/camera-app.qml#L171

review: Needs Information
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Victor Thompson (vthompson) wrote :

I'm confused by this change. It doesn't look like the camera app is using a "photos taken today: %d" format as you suggest. While I agree that it makes the grammatical issue less severe, I think it minimizes the utility of having the data on the welcome screen.

I really think the bug should be fixed in libusermetrics.

review: Needs Information
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Oh yeah there code is not what is happening on my device?!
I have attached a screenshot to prove I'm not mad ;) [0]

0 - https://docs.google.com/file/d/0B3XynHVKfrvMeEsxOHZjOW1lWnM/

Revision history for this message
Victor Thompson (vthompson) wrote :

Previously the camera app always had a format similar to ours. I'll see if I can reproduce your results, but I still personally like the way it currently displays the data.

Revision history for this message
Victor Thompson (vthompson) wrote :

I see what I typically have seen for the camera infographics on image #169's camera app: http://i.imgur.com/Fzi62x8.png

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

The latest camera app on #178 has indeed changed.

http://imgur.com/tH9iGDD - photos taken today: 1
http://imgur.com/zy2oCEe - 1 songs played today

Revision history for this message
David Planella (dpm) wrote :

I'd argue that that's a bug in the camera app

Revision history for this message
Victor Thompson (vthompson) wrote :

I still see "1 photos taken today" on image #178 while using the camera app. Is it possible that a different app is make the "photos taken today: 1" entry?

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Someone has fudged it in the translation which explains why neither of you see it.

camera-app.qml: format: i18n.tr("<b>%1</b> photos taken today")
camera-app.qml: emptyFormat: i18n.tr("No photos taken today")

po/en_GB.po:msgid "<b>%1</b> photos taken today"
po/en_GB.po:msgstr "photos taken today: <b>%1</b>"
po/en_GB.po:msgid "No photos taken today"
po/en_GB.po:msgstr "No photos taken today"

Revision history for this message
David Planella (dpm) wrote :

I'd be for fixing the translation and keep consistency with other apps, so I suggest rejecting the branch. In any case, thanks Andrew, and if you think we need to reconsider it, feel free to revert my status change.

review: Disapprove

Unmerged revisions

549. By Andrew Hayzen

* Fix infographic metric so that it is grammatically correct

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'music-app.qml'
2--- music-app.qml 2014-07-29 00:59:12 +0000
3+++ music-app.qml 2014-08-04 19:23:12 +0000
4@@ -289,7 +289,7 @@
5 id: songsMetric
6 name: "music-metrics"
7 // TRANSLATORS: this refers to a number of songs greater than one. The actual number will be prepended to the string automatically (plural forms are not yet fully supported in usermetrics, the library that displays that string)
8- format: "<b>%1</b> " + i18n.tr("songs played today")
9+ format: i18n.tr("songs played today") + ": <b>%1</b>"
10 emptyFormat: i18n.tr("No songs played today")
11 domain: "com.ubuntu.music"
12 }

Subscribers

People subscribed via source and target branches

to status/vote changes: