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)

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

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.
(Why is this post is considered to be spam? Users may have reported it to be spam or, if it has been recently posted, it may just be waiting for spamchecks to be run.)
Spam content:

[http://best-student-credit-cards.info/best-student-credit-cards/ best student credit cards]
[http://best-student-credit-cards.info/credit-cards-for-college-students/ credit cards for college students]
[http://best-student-credit-cards.info/student-credit-cards-with-no-credit/ student credit cards with no credit]
[http://best-student-credit-cards.info/what-is-a-student-credit-card/ what is a student credit card]
[http://best-student-credit-cards.info/free-student-credit-cards/ free student credit cards]
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>

 

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)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.3