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

 
 

You are not allowed to post comments on this tracker with your current authentification level.

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

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

Sun Aug 11 16:12:31 2013, comment #5:

Added support for GtkBuilder files in release 0.18.3.

Miguel Ángel Arruga Vivas <m1gu3l>
Project MemberIn charge of this item.
Fri Mar 1 20:08:36 2013, 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 Jan 29 15:23:23 2013, 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 Sep 15 13:46:11 2010, 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 Mar 24 08:42:35 2010, 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 Mar 14 03:58:51 2010, 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>

 

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 haible (Updated the item)
  • -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 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Nov 27 00:31:57 2016haibleCategoryNone=>Glade
    Sun Aug 11 16:12:55 2013m1gu3lOpen/ClosedOpen=>Closed
    Sun Aug 11 16:12:31 2013m1gu3lStatusReady For Test=>Fixed
    Fri Mar 1 20:08:36 2013m1gu3lStatusIn Progress=>Ready For Test
    Thu Feb 28 09:59:05 2013m1gu3lStatusNone=>In Progress
      Assigned toNone=>m1gu3l
    Fri Apr 20 13:55:31 2012samuellbCarbon-Copy-=>Added samuellb
    Wed Mar 24 08:42:35 2010miseryAttached File-=>Added col.patch, #20009
    Sun Mar 14 03:58:51 2010miseryAttached 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