retitle 665833 Should use gettext plural form in "Use 'apt-get autoremove' to 
remove them" message
thanks

Quoting [email protected] ([email protected]):
> package: apt-utils
> version:: 0.8.15.10
> 
> Here is some of the output of apt-get install:
> The following package was automatically installed and is no longer required:
>   libkpathsea5
> Use 'apt-get autoremove' to remove them.

Thanks for noticing, it seems that nobody noticed until now. Moreover,
this makes things even worse in languages where there are more than 2
plural forms (such as many slavic languages).

This is a typical case where the use of Plural-Forms has been
forgotten, in the second string.

   {
      if (smallList == false)
         ShowList(c1out, P_("The following package was automatically installed 
and is no longer required:",
                  "The following packages were automatically installed and are 
no longer required:",
                  autoRemoveCount), autoremovelist, autoremoveversions);
      else
         ioprintf(c1out, P_("%lu package was automatically installed and is no 
longer required.\n",
                  "%lu packages were automatically installed and are no longer 
required.\n", autoRemoveCount), autoRemoveCount);
      c1out << _("Use 'apt-get autoremove' to remove them.") << std::endl;
   }

Here, the second string should use the magic used in the first one.

Hence retitling the bug...

Attachment: signature.asc
Description: Digital signature

Reply via email to