*** This bug is a duplicate of bug 1363386 ***
    https://bugs.launchpad.net/bugs/1363386

** This bug has been marked a duplicate of bug 1363386
   Use plural forms where appropriate

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libusermetrics in Ubuntu.
https://bugs.launchpad.net/bugs/1261798

Title:
  Need to provide access to the count of items for translations to work

Status in libusermetrics package in Ubuntu:
  New

Bug description:
  Unlike English (and Spanish, Italian and other ones), some languages
  have multiple plural forms, which the SDK supports using the i18n.tr()
  call in QML. One example with multiple plural forms is Arabic.

  For this to work, we need to access the actual count of items and pass
  it to the i18n.tr() function, e.g.

  format: i18n.tr("%1 song played today", "%1  songs played today",
  songCount).arg(songCount) (*)

  But it seems libusermetrics is not making the count accessible to QML,
  hence this request to make the count available.

  (*) Note: the syntax is slightly redundant right now, but it works.
  See bug 1184810

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libusermetrics/+bug/1261798/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to