Thanks for pointing out that, Maxim. (I should have thought of doing
so.) So this is not a problem with the language pack generation, after
all.
At this time I think the explanation is a combination of a few things.
To begin with, the apt package installs MO files in /usr/share/locale.
$ dpkg -L apt | grep ru.*mo$
/usr/share/locale/ru/LC_MESSAGES/apt.mo
Those MO files are apparently not updated in Xenial. At the same time
gettext seems to pick those files at first hand, while using /usr/share
/locale-langpack as fallback. (I thought that gettext should do it the
other way around.) So the result is:
$ echo $(LANGUAGE=ru gettext -d apt '[upgradable from: %s]')
[может быть обновлён до: %s]
$ echo $(LANGUAGE=ru TEXTDOMAINDIR=/usr/share/locale-langpack \
> gettext -d apt '[upgradable from: %s]')
[возможно обновление с: %s]
If this gettext behavior is wrong, I suppose this should be fixed in
gettext. If not, there is a need to update the translations in the apt
package for Xenial.
** Project changed: langpack-o-matic => gettext (Ubuntu)
** Changed in: apt (Ubuntu)
Status: Invalid => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637801
Title:
Incorrect Russian translation of "apt list --upgradeable" results
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/1637801/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs