← Back to team overview

ubuntu-desktop-course-ru team mailing list archive

[Bug 240706] Re: aptitude l10n issue (unrecognized keys in Russian locale)

 

Багу сто лет в обед, если что. Пусть кто-нибудь, кто сейчас сидит на
убунте посмотрит. У меня кармика под рукой нет.

-- 
aptitude l10n issue (unrecognized keys in Russian locale)
https://bugs.launchpad.net/bugs/240706
You received this bug notification because you are a member of Russian
Ubuntu Translators, which is a bug assignee.

Status in “aptitude” package in Ubuntu: New

Bug description:
Binary package hint: aptitude

Information: 
Ubuntu 8.04
aptitude 0.4.9-2ubuntu5, LANG=ru_RU.UTF-8.

When user tries to install a package, he prompted with this message:

Необходимо получить 18,4MB архивов. После распаковки 63,1MB будет занято.
Хотите продолжить? [Д/н/?]

(LANG=C: Do you want to continue? [Y/n/?] ?)

Hovewer, if user presses some of the listed keys, aptitude reacts this way:

Хотите продолжить? [Д/н/?] Д
Неверный ответ. Введите допустимую команду или '?' для справки.
Хотите продолжить? [Д/н/?] н
Неверный ответ. Введите допустимую команду или '?' для справки.

(LANG=C: Invalid response.  Please enter a valid command or '?' for help.)

The easy way to fix this issue is just replace [Д/н/?] with [Y/n/?] in ru.po file. However, apt-get uses this notation («Д/н/?») and doesn't have such problem, and it would be nice if two similar programs have similar interface.

Good place to look at is src/cmdline/cmdline_prompt.cc:791 and couple of lines below.