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

Re: Bug#264716: aptitude: install ~p... won't work with some languages



On Tue, Aug 10, 2004 at 08:22:06PM +0900, Kenshi Muto <kmuto@debian.org> was heard to say:
> Conclusion:
> This problem occurs when translator translates priority name as
> his/her local language in apt/po.

  Ew.

> Solution:
> Hmm, how to solve... This is really serious problem.
> 
> - idea 1 is apt-pkg provides PriorityType() [in English result] and
>   PriorityType_l10n() [in local language result] and so on. (reassign libapt-pkg-dev)

  This changes apt's ABI and is probably not an option.

> - idea 2 is aptitude has priority name msgid/msgstr as same as apt.
>   Then string_matches compares gettextized pattern and
>   ver.PriorityType().

  I won't do that.  I might parse the priority string the same way
dependencies are parsed, though, instead of assuming that PriorityType()
returns a reliable string.  This would be easy to do and would require
no changes from translators.

> - idea 3 is apt drops gettextized priority name. (reassign libapt-pkg-dev)

  This seems to be the simplest change to me, but means that priority
names are no longer localized.

  Daniel

-- 
/-------------------- Daniel Burrows <dburrows@debian.org> -------------------\
|               "The problem with LaTeX is that your answers                  |
|                look so good, you think they *must* be right!"               |
|                 -- Thomas Banchoff                                          |
\---------------------- A duck! -- http://www.python.org ---------------------/



Reply to: