[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#594211: apt-get.cc: consistency of message for P_: "is" <-> "were"



Package: apt
Version: 0.7.25.3
Severity: normal

(My source file are from bzr repo.)

I am translating apt and found a strange string.  The corresponding
source is in cmdline/apt-get.cc, lines around 1649-1660:

-------------
   // if we don't remove them, we should show them!
   if (doAutoRemove == false && (autoremovelist.empty() == false || autoRemoveCount != 0))
   {
      if (smallList == false)
         ShowList(c1out, P_("The following package is 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;
   }
-------------

I think following should make it more consistent.

 s/The following package is/The following package was/

This is consistency issue.  I think this is the best solution.

But if you insist to use "is" here, strings for ioprintf is inconsistent
with this and singular text does not match plural one.

Osamu



Reply to: