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
**
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
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
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
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.
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
** 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
** 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
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:
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
** 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
** 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
** 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
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
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.
**
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
@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
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
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.
19 matches
Mail list logo