podcasts listened to today - place holder would be good

Bug #1445972 reported by GunChleoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
podbird
Confirmed
Low
Nekhelesh Ramananthan

Bug Description

For translating the following string:

podcasts listened to today
Located in ../app/podbird.qml:162

It would be good to have a place holder, since you can't do plural forms yet. This way, languages with plural rules != English could translate as follows:

podcasts listened to today: %s

Never hard code string concatenation if you can give translators a place holder ;)

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Thanks for the tip. Had I known this earlier I would have used that. Surprisingly this string <b>%1</b> + i18n.tr("songs played today") was what the ubuntu music app used, and so I just used that for Podbird as well. We froze the strings today morning to get translations ready as soon as possible and push out a new release. Can this wait for the next minor release?

Changed in podbird:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
GunChleoc (gunchleoc) wrote :

Yes, we will just have to live with the grammar error/gymnastics for now.

The string should be changed in the Music app as well. It always depends on who is translating and how well the string is commented if a bug will be filed or not.

Changed in podbird:
assignee: nobody → Nekhelesh Ramananthan (nik90)
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.