← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1342644] Re: "Install %1 updates" needs plural forms

 

What would be the right form to use for a such case?

"i18n.tr("Install %1 updates…", "Install %1 updates…",
root.updatesAvailable).arg(root.updatesAvailable)"?

That should work, but the number is > 1, is there a way to tell that to
gettext so it doesn't list the singular form to translate in language
that do singular=1?

** Changed in: ubuntu-system-settings (Ubuntu)
     Assignee: Diego Sarmentero (diegosarmentero) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/1342644

Title:
  "Install %1 updates" needs plural forms

Status in Ubuntu Translations:
  Triaged
Status in “ubuntu-system-settings” package in Ubuntu:
  Triaged

Bug description:
  The following 2 strings need ngettext-style plural forms, so that they
  can be translated properly:

  plugins/system-update//PageComponent.qml:217
  Install %1 updates…

  plugins/system-update//PageComponent.qml:217
  Install %1 updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/1342644/+subscriptions