Welcome screen says "1 photos" - should be "1 photo"

Bug #1202165 reported by Alan Pope 🍺🐧🐱 🦄
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
touch-preview-images
Confirmed
Undecided
Unassigned

Bug Description

Yay! We have dynamic content on the welcome screen.
BOO! It says "1 photos". It should be:-

0 photos
1 photo
2 photos
3 photos .. etc

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Michał Sawicz (saviq)
Changed in touch-preview-images:
status: New → Confirmed
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

Please ngettext (if not yet) so that it can be properly localized in other languages too

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Same goes for email/sms now too..

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Uh, I meant calls/sms of course.

Revision history for this message
Adnane Belmadiaf (daker) wrote :

It's part of the Metric object, so the Metric must have a plural and single format

Metric {
    id: metricPhotos
    name: "camera-photos"
    format: "<b>%1</b> photos taken today"
    emptyFormat: "No photos taken today"
    domain: "camera-app"
}

Metric {
    id: metricVideos
    name: "camera-videos"
    format: "<b>%1</b> videos recorded today"
    emptyFormat: "No videos recorded today"
    domain: "camera-app"
}

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.