bugGNU gettext - Bugs: bug #29216, xgettext does not extract all data...

 
 

bug #29216: xgettext does not extract all data from gtkbuilder's xml (like glade)

Submitted by:  A. K. <misery>
Submitted on:  Sun 14 Mar 2010 03:58:51 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Miguel Ángel Arruga Vivas <m1gu3l>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 11 Aug 2013 04:12:31 PM UTC, comment #5:

Added support for GtkBuilder files in release 0.18.3.

Miguel Ángel Arruga Vivas <m1gu3l>
Project MemberIn charge of this item.
Fri 01 Mar 2013 08:08:36 PM UTC, comment #4:

It is ready for testing at https://github.com/644rosen/gettext_gtkbuilder_support.git

Miguel Ángel Arruga Vivas <m1gu3l>
Project MemberIn charge of this item.
Tue 29 Jan 2013 03:23:23 PM UTC, comment #3:

As you can see in http://developer.gnome.org/libglade/unstable/libglade-dtd.html this is not a Glade bug, It is a feature request.

Miguel Ángel Arruga Vivas <m1gu3l>
Project MemberIn charge of this item.
 Spam posted by an anonymous
Wed 15 Sep 2010 01:46:11 PM UTC, comment #2:

This problem has started to affect translators in the pspp project ( bug #31033 ) A patched release of xgettext would therefore be appreciated.

John Darrington <jmd>
Wed 24 Mar 2010 08:42:35 AM UTC, comment #1:

I patched "gettext-tools/src/x-glade.c" to recognize "col" elements in xml file. See attached patch...

(file #20009)

A. K. <misery>
Sun 14 Mar 2010 03:58:51 AM UTC, original submission:

xgettext will extract all but these two strings from gtkbuilder's xml file.

<object class="GtkListStore" id="search_style_store">
<columns>
<!-- column-name style -->
<column type="gint"/>
<!-- column-name text -->
<column type="gchararray"/>
</columns>
<data>
<row>
<col id="0">0</col>
<col id="1" translatable="yes">Artists of same tag</col>
</row>
<row>
<col id="0">1</col>
<col id="1" translatable="yes">Songs of same tag</col>
</row>
</data>

Attached complete xml file and output pot file as example. It will be called with following command:
xgettext --omit-header -L Glade dynlist.xml -j -o dynlist.pot

A. K. <misery>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #20009:  col.patch added by misery (589B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by m1gu3l (Posted a comment)
  • -unavailable- added by samuellb
  • -unavailable- added by jmd (Posted a comment)
  • -unavailable- added by misery (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Aug 2013 04:12:55 PM UTCm1gu3lOpen/ClosedOpen=>Closed
    Sun 11 Aug 2013 04:12:31 PM UTCm1gu3lStatusReady For Test=>Fixed
    Fri 01 Mar 2013 08:08:36 PM UTCm1gu3lStatusIn Progress=>Ready For Test
    Thu 28 Feb 2013 09:59:05 AM UTCm1gu3lStatusNone=>In Progress
      Assigned toNone=>m1gu3l
    Fri 20 Apr 2012 01:55:31 PM UTCsamuellbCarbon-Copy-=>Added samuellb
    Wed 24 Mar 2010 08:42:35 AM UTCmiseryAttached File-=>Added col.patch, #20009
    Sun 14 Mar 2010 03:58:51 AM UTCmiseryAttached File-=>Added dynlist-ui-options.xml, #19937
      Attached File-=>Added gmpc-dynamic-playlist.pot, #19938

    Back to the top


    Powered by Savane 3.1-cleanup