timlau / yumex-dnf-old

Next Generation of Yum Extender using DNF as backend
GNU General Public License v2.0
61 stars 17 forks source link

[i18n] Please use plurals correctly #139

Closed rluzynski closed 8 years ago

rluzynski commented 8 years ago

There are multiple small issues so I'll report them all here:

  1. xgettext does not seem to understand that P_ is an alias to ngettext. Maybe it's possible to configure it to understand but I think it's easier to use ngettext directly (note: I don't mean gettext.ngettext)
  2. The string "Downloading %d files (%sB)..." should use ngettext for translations to be able to distinguish between "file" and "files".
  3. The same for the string '%s available updates'; at the same place since update_count is probably an integer number it should be formatted using %d rather than %s.