← Back to team overview

ubuntu-translations-coordinators team mailing list archive

Re: patches.pot templates in the Karmic import queue

 

El dv 31 de 07 de 2009 a les 21:51 +0200, en/na Martin Pitt va escriure:
> Hello David,
> 
> David Planella [2009-07-23 14:35 +0200]:
> > seb128 told me on IRC that this is a marginal practice, and my
> > understanding was that in general packagers tend to prefer the single
> > template approach because it seems to generate less cruft in the source
> > package.
> 
> FWIW, I agree to this. It seems much easier to fix a handful of
> packages to not do this any more than having to invent a huge
> machinery in LP/Rosetta to handle these cases.
> 
> If LP would still present the full orig template plus the patches.pot,
> people would translate more than necessary. And if this isn't done,
> there is no big advantage compared to having just a single template
> IMHO.
> 
> > From this, I assume that the best thing to do for now is _not_ to
> > approve them and ask packagers to provide a single template as usual.
> 
> +1
> 
> Thanks,
> 
> Martin

Right, I talked to Seb about this again and as:

a) It's preferrable for Ubuntu packages to have as little delta as
possible wrt Debian packages
b) The Ubuntu pot templates already contain the strings from the
patches.pot packages
c) The patches.pot templates can be blocked in Rosetta,

I think we can simply mark the debian/po-up/patches.pot templates as
Blocked or Deleted in the imports queue.

Here's an extract from an IRC conversation this morning on
ubuntu-desktop for more details on point b):

<chrisccoulson> seb128 - i took a look at bug 410241 at the weekend, and
also one other bug raised by the translations team.
<ubottu> Launchpad bug 410241 in gnome-session "Merge
debian/po-up/patches.pot templates into the main template" [Low,In
progress] https://launchpad.net/bugs/410241
<chrisccoulson> for the gnome-panel task, pkgstriptranslations is just
stripping the contents of debian/po-up, which isn't used
<seb128> chrisccoulson, I talked to david at the airport saturday they
can filter those on the rosetta side easily
<chrisccoulson> so we can just delete it
 ah, ok
<seb128> chrisccoulson, we just need to make sure that patch strings are
in the po templates
[...]
<chrisccoulson> i was actually wondering if we could filter them out in
pkgstriptranslations? it seems to strip any folder containing
translations (including the hidden .pc/ folder used by quilt)
<seb128> should work too I guess
 that's rather a question for pitti though
<chrisccoulson> yeah, i'll ask him when he comes back. so, i can close
that bug report if they're going to be filtered out on the rosetta side
can i?
<seb128> yes, just make sure we have those string in the po template
[...]
<chrisccoulson> seb128 - in the gnome-session case, those strings are
merged in the main po template. the extra folders (po.saved and
debian/po-up) just contain the original template and the new merged-in
strings, which aren't needed
<chrisccoulson> in the gnome-panel case, those strings in po-up aren't
used in ubuntu, and aren't merged in (but are still there in the source)
[...]
 chrisccoulson, ok good so the bugs can be closed
<chrisccoulson> thanks:)
[...]
<dpm> seb128: chrisccoulson, I've just read it, thanks for having a look
at the po-up templates thing. I'll paste the conversation in an e-mail
from the thread in the ubuntu-translations-coordinators list where this
is also being discussed.

Regards,
David.

-- 
David Planella
Ubuntu Translations Coordinator
david(dot)planella(at)ubuntu(dot)com
www.ubuntu.com



Attachment: signature.asc
Description: Això és una part d'un missatge signada digitalment


References