[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-07-19 Thread Gunnar Hjalmarsson
This was fixed in snapd 2.34: https://github.com/snapcore/snapd/pull/5408 When snapd 2.34.2+18.04 was built, all the 513 translatable strings were extracted on all the architectures and successfully imported to LP. ** Changed in: snapd (Ubuntu) Status: Confirmed => Fix Released **

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-06-26 Thread Michael Vogt
Thanks, its slightly mysterious why these files are truncated. I added https://github.com/snapcore/snapd/pull/5402 and https://github.com/snapcore/snapd/pull/5404 with better error checking and extra canary checks to get to the bottom of this. -- You received this bug notification because you

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-06-23 Thread Gunnar Hjalmarsson
On 2018-06-24 04:58, Gunnar Hjalmarsson wrote: > (Not sure that was an excellent measure, though.) It wasn't. Uploaded the armhf POT from 2.33.1+18.04 (412 strings). -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-06-23 Thread Gunnar Hjalmarsson
2.33.1+18.04: Imported: 118 strings Didn't find any build which generated a plausible number of strings, i.e. amd64 isn't reliable either. I uploaded the amd64 POT for 2.32.9+18.04 (again) manually. (Not sure that was an excellent measure, though.) -- You received this bug notification because

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-06-08 Thread Gunnar Hjalmarsson
Thanks, William, that seems to move this issue forward quite a bit. As regards the latest example I posted about (comment #17), the build for s390x created a snappy.pot with precisely 452 strings. Apparently that one was the latest to be imported to LP.

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-06-08 Thread William Grant
snapd is producing bad POTs. Comparing snapd_2.32.9+18.04_arm64_translations.tar.gz and snapd_2.32.9+18.04_i386_translations.tar.gz: $ diff -u {arm64,i386}/source/po/snappy.pot | diffstat snappy.pot | 1622 - 1 file changed, 1620

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-05-11 Thread Gunnar Hjalmarsson
** Attachment added: "snappy_imported20180511.pot" https://bugs.launchpad.net/ubuntu-translations/+bug/1758684/+attachment/5137989/+files/snappy_imported20180511.pot -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-05-11 Thread Gunnar Hjalmarsson
** Attachment added: "snappy_stripped20180511.pot" https://bugs.launchpad.net/ubuntu-translations/+bug/1758684/+attachment/5137988/+files/snappy_stripped20180511.pot -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-05-11 Thread Gunnar Hjalmarsson
Well, it just repeated itself. Stripped template: 478 strings Imported template: 400 strings Stripped template added manually. -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations. Matching subscriptions:

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-04-17 Thread Gunnar Hjalmarsson
See also this: https://forum.snapcraft.io/t/translation-management/4798/5 -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations. Matching subscriptions: Ubuntu Translations bug mail

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-04-12 Thread Gunnar Hjalmarsson
** Patch added: "snappy_diff20180411.diff" https://bugs.launchpad.net/ubuntu-translations/+bug/1758684/+attachment/5112361/+files/snappy_diff20180411.diff -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-04-12 Thread Gunnar Hjalmarsson
** Attachment added: "snappy_stripped20180411.pot" https://bugs.launchpad.net/ubuntu-translations/+bug/1758684/+attachment/5112358/+files/snappy_stripped20180411.pot -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-04-12 Thread Gunnar Hjalmarsson
** Attachment added: "snappy_imported20180411.pot" https://bugs.launchpad.net/ubuntu-translations/+bug/1758684/+attachment/5112360/+files/snappy_imported20180411.pot -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-04-12 Thread Gunnar Hjalmarsson
This mystery is not resolved. The POT stripped from the source, when snapd 2.32.3.2+18.04 was built on 2018-04-11, includes 481 strings, while only 456 strings were recognized when the POT was imported to LP. 25 strings were ignored. Again I could upload the complete POT manually without

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-03-29 Thread Gunnar Hjalmarsson
Since it's very late in the cycle, I uploaded the complete template and approved manually, and it was imported successfully without complaints. So maybe it was some kind of temporary glitch. I'll keep this bug open for a while to follow up what happens next time the package is uploaded. **

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-03-26 Thread Gunnar Hjalmarsson
Yeah, I'm not sure of cause and effect; just shared my observations. Someone on the LP side must look into it. -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations. Matching subscriptions: Ubuntu

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-03-26 Thread AsciiWolf
@gunnarhj: Artful has older version of snapd. It was ok with older version of snapd in bionic as well. -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations. Matching subscriptions: Ubuntu Translations bug

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-03-26 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Translations Coordinators, which is subscribed to Ubuntu Translations. Matching

[Ubuntu-translations-coordinators] [Bug 1758684] Re: LP only imported a fraction of the snappy translation template

2018-03-25 Thread Gunnar Hjalmarsson
It may be worth mentioning that previously, the built/stripped POT files included some odd formatting (see latest attachment). I can't tell if it's in accordance with the gettext spec., but in any case LP might have got confused. It seems to have been ok in artful, though.