How extract strings from a .ui file (glade) with gettext?

Posted by costales on Ask Ubuntu See other posts from Ask Ubuntu or by costales
Published on 2012-11-17T10:50:16Z Indexed on 2012/11/17 11:25 UTC
Read the original article Hit count: 368

Filed under:
|
|

I'm trying to extract the strings from this file:

http://bazaar.launchpad.net/~gufw-developers/gui-ufw/gufw-13.04/view/head:/data/ui/add.ui

Which is the command for it?

This not works:

user@desktop:~/Desktop$ xgettext -k_ -kN_ -o messages.pot *.ui
xgettext: warning: file `add.ui' extension `ui' is unknown; will try C
add.ui:192: warning: unterminated character constant
add.ui:483: warning: unterminated character constant
add.ui:750: warning: unterminated character constant
user@desktop:~/Desktop$ 

Thanks in advance! :)

© Ask Ubuntu or respective owner

Related posts about pygtk

Related posts about glade