bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] Extraction bug from .ui file of GTK+


From: Gabor Kelemen
Subject: [bug-gettext] Extraction bug from .ui file of GTK+
Date: Fri, 09 Aug 2013 14:40:07 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

Hi

I have been playing with gettext 0.18.3 and Gnome stuff, when I noticed
the following extraction error:

$ xgettext -o unixpr.pot gtk/gtkprintunixdialog.ui
$ msgfmt -c unixpr.pot
unixpr.pot:254: keyword "It" unknown
unixpr.pot:254:3: syntax error
msgfmt: unixpr.pot: warning: PO file header fuzzy
                    warning: older versions of msgfmt will give an error
on this
msgfmt: found 2 fatal errors

The file in question is this one:
https://git.gnome.org/browse/gtk+/tree/gtk/gtkprintunixdialog.ui

The string with the error:
#. This will appear as a tab label in the print dialog.
It's a typographical term, as in "Binding and finishing"
#: gtk/gtkprintunixdialog.ui:1620
msgid "Finishing"

Adding a `#.` at the beginnig of the second line fixes the problem. If I
use intltool-update -p, the error does not occur.

And the property looks like this in the file:
                    <property name="label" translatable="yes"
comments="This will appear as a tab label in the print dialog.&#10;It's
a typographical term, as in &quot;Binding and
finishing&quot;">Finishing</property>


Regards
Gabor Kelemen

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]