[Bug 630962] Re: Use named arguments for translatable plural strings

angel mauricio varela opazo angelvarela.o at hotmail.com
Thu Aug 23 14:31:23 UTC 2012


** Branch unlinked: lp:aptdaemon

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/630962

Title:
  Use named arguments for translatable plural strings

Status in Aptdaemon:
  Confirmed
Status in Ubuntu Translations:
  Fix Released
Status in “aptdaemon” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: aptdaemon

  The following translatable strings in the code are correctly marked
  for plural translation:

  The following NEW package will be installed (%s):
  The following package will be upgraded (%s):
  The following package will be REMOVED (%s):
  The following package will be DOWNGRADED (%s):
  The following package will be reinstalled (%s):
  The following package has been kept back (%s):

  However, they use unnamed arguments (%s), which do not allow some
  languages such as Arabic and Hebrew to correctly translate the
  strings. Named arguments should be used instead (e.g. %(package)s).

  The use of unnamed arguments in python plural strings is also a
  potential crasher, since gettext -and by extension Launchpad- does not
  support error checking of those.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aptdaemon/+bug/630962/+subscriptions




More information about the foundations-bugs mailing list