← Back to team overview

ubuntu-bugcontrol team mailing list archive

[Bug 452897] Re: Preferences dialog is not translatable

 

Hi David,

First of all, thanks for your interest in onboard.

In the bug description you say: "The preferences dialog is not
translatable due to its strings in the .ui file not being extracted and
merged into the POT translation template."

Could you please tell me how launchpad gets the .pot file for its
translations? Does it simply copy the file from the uploaded debian
source package or does it generate a new .pot file from the debian
source package?

If I remember correctly, the problem did not occur when I created the
debian package from the checkout of the onboard repository and I might
know why: the repository contains a POTFILES.in file specifying from
what files it has to extract strings for the POT translation template.

Unfortunately, I was not aware that the "./setup. py sdist" command that
I used to create the release tarball does not include the POTFILES.in
file into the release tarball; consequently, when building the debian
package by using the release tarball without using the langpack.mk
command in debian/rules, it does not merge the strings from the
settings.ui file into the template.

Do you think that it makes sense to file a bug against the
DistUtilsExtra package because it does not include the POTFILES into the
release tarball? Or is there any reason for not including the POTFILES
into the release tarball? (Unfortunately, I don't have a good knowledge
about these things.)

-- 
Preferences dialog is not translatable
https://bugs.launchpad.net/bugs/452897
You received this bug notification because you are a member of Bug
Supervisors for Ubuntu Translations, which is subscribed to Ubuntu
Translations.



Follow ups