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

 
 

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

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

Submitter:  A. K. <misery>
Submitted:  Sun 14 Mar 2010 03:58:51 AM UTC
   
 
Category:  Glade Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  m1gu3l
Open/Closed:  Closed

Jump to the original submission

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

Added support for GtkBuilder files in release 0.18.3.

Miguel Ángel Arruga Vivas <m1gu3l>
Group Member
Fri 01 Mar 2013 08:08:36 PM UTC, comment #5: 
Miguel Ángel Arruga Vivas <m1gu3l>
Group Member
Tue 29 Jan 2013 03:23:23 PM UTC, comment #4: 

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>
Group Member
  Spam posted by 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.)

Attached Files
file #20009:  col.patch added by misery (589B - text/x-patch)
file #19937:  dynlist-ui-options.xml added by misery (19KiB - text/xml)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-27 haible CategoryNone Glade
    2013-08-11 m1gu3l Open/ClosedOpen Closed
    2013-08-11 m1gu3l StatusReady For Test Fixed
    2013-03-01 m1gu3l StatusIn Progress Ready For Test
    2013-02-28 m1gu3l StatusNone In Progress
        Assigned toNone m1gu3l
    2012-04-20 samuellb Carbon-Copy- Added samuellb
    2010-03-24 misery Attached File- Added col.patch, #20009
    2010-03-14 misery Attached File- Added dynlist-ui-options.xml, #19937
        Attached File- Added gmpc-dynamic-playlist.pot, #19938

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code