[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-15 Thread Julian Andres Klode
This should actually be fix released. It's also fixed in xenial now with 1.2.15 being in -updates now ** Changed in: apt (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-15 Thread Julian Andres Klode
That sounds like an interesting idea. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1637801 Title: Incorrect Russian translation of "apt list --upgradeable" results Status

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-04 Thread Gunnar Hjalmarsson
On 2016-11-04 10:01, Julian Andres Klode wrote: > I want the ability to have translations in apt prefer those from the > langpack, I suppose it would be possible to special case apt in Ubuntu by patching bindtextdomain() in apt-pkg/init.cc. Not able to tell if it's a good idea. -- You received

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-04 Thread Julian Andres Klode
It might have been mixed up with additional translations. That is, a language missing in the package can still be translated by the language pack. I'm not entirely sure what the argument was back then anymore, but something like that was how it was explained to me. OK let's be clearer: I want the

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-03 Thread Martin Pitt
> The correct approach is to have gettext look into the langpack translations first, and then fall back to the package's translations. No, it's not. Normal/released Ubuntu packages get their translations stripped out of the debs. But if you install a backport, third-party package, or self-built

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-03 Thread Julian Andres Klode
The correct approach is to have gettext look into the langpack translations first, and then fall back to the package's translations. That's also the way it was explained to work: Packages ship initial translations for bootstrapping purposes, and those can be updated via language packs. I have no

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-03 Thread Gunnar Hjalmarsson
I talked with Martin Pitt, who let me know that it's intentional behavior that gettext gives precedence to /usr/share/locale over /usr/share/locale-langpack. apt is one of those 'special' packages in main where the translations shipped with the source package are not stripped at build time. It

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-03 Thread Julian Andres Klode
Yes, the translations are updated to relatively recent ones from 1.3~rc3 in 1.2.15. I still need to write down a "merge translations" script, as I forgot how I did it when I did that (otherwise we'd have the 1.3.1 translations already). Basically what I'm doing is merge the 1.2 template with the

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-01 Thread Gunnar Hjalmarsson
Thanks for letting us know, Julian. That will hopefully bring more up- to-date translations, installed by apt in /usr/share/locale, into Xenial. I'm going to follow up why gettext ignores the apt.mo files in /usr/share/locale-langpack. -- You received this bug notification because you are a

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-01 Thread Julian Andres Klode
Ah right. It's fixed in 1.2.13 and newer, so see the relevant SRU bugs for those. ** Changed in: apt (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu.

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-11-01 Thread Julian Andres Klode
SRU bugs = bug #1595177 and bug #1638021 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1637801 Title: Incorrect Russian translation of "apt list --upgradeable" results

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-10-31 Thread Gunnar Hjalmarsson
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

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-10-31 Thread Maxim Taranov
Well, I converted /usr/share/locale-langpack/ru/LC_MESSAGES/apt.mo to po-file and I see this string: msgstr "[возможно обновление с: %s]" It is correct translation and I have no idea why apt doesn't use it. -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-10-31 Thread Gunnar Hjalmarsson
On 2016-10-31 07:42, Sergey Alyoshin wrote: > It is already fixed. Hmm.. So it seems, but still: On 2016-06-02 the string was changed to "[возможно обновление с: %s]" in Launchpad: https://translations.launchpad.net/ubuntu/xenial/+source/apt/+pots/apt/ru/100 The language-pack-ru-base package

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-10-31 Thread Sergey Alyoshin
It is already fixed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1637801 Title: Incorrect Russian translation of "apt list --upgradeable" results Status in Ubuntu

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-10-30 Thread Julian Andres Klode
And JFTR, I can confirm that the translations we ship with apt itself are correct, so this really is a language pack-only issue. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu.

[Touch-packages] [Bug 1637801] Re: Incorrect Russian translation of "apt list --upgradeable" results

2016-10-30 Thread Maxim Taranov
I can confirm that current translation is incorrect. ** Summary changed: - Incorrect Russian translation of "apt list --upgradeabe" results + Incorrect Russian translation of "apt list --upgradeable" results ** Changed in: ubuntu-translations Status: New => Confirmed -- You received