Re: GtkBuilder translator comments



On Thu, Jan 07, 2010 at 07:50:20PM +0100, Claude Paroz wrote:
> Le jeudi 07 janvier 2010 à 17:47 +0000, Patrick Welche a écrit :
> > How do you add translator comments to GtkBuilder XML files?
> > 
> >   http://live.gnome.org/TranslationProject/DevGuidelines/Use%20comments
> > 
> > only mentions glade, and the "comments" property doesn't seem to exist.
> > (i.e., no comments appear in .po files (cf dasher and #565774)
> > 
> > Please update the wiki page while you're at it ;-)
> 
> It seems that intltool wants the translatable attribute come before the
> comments attribute in the tag attributes.
> 
> See the regexp in intltool.extract.in:
> while ($input =~ /<(property|atkproperty|col)\s+[^>]*translatable\s*=
> \s*"yes"(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) {
> 
> I will update the Wiki...

Thank you! I fixed the ordering in dasher...


Patrick


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]