=== trijntje__ is now known as trijntje | ||
dpm | hey danilos, do you know if intltool supports generic xml files, such as http://bazaar.launchpad.net/~gwibber-committers/gwibber/trunk/view/head:/data/gwibber.application ? | 08:44 |
---|---|---|
dpm | We'd like to extract the <description> tag strings from that file for the 12.10 Online Accounts dialog | 08:45 |
danilos | dpm, only if "_" are prepended to tags | 08:45 |
dpm | danilos, to both the opening and closing tags? I'm trying this and it seems to ignore the file | 08:45 |
dpm | as in <_description>Integrate your feed data</_description> | 08:46 |
* dpm tries other combinations | 08:46 | |
danilos | dpm, yes, to both; you might need to specify --type=gettext/xml to intltool-extract | 08:46 |
dpm | ah, good point | 08:46 |
* dpm tries | 08:46 | |
dpm | I can specify it on POTFILES.in as well, I guess | 08:47 |
danilos | dpm, yeah, using [gettext/xml] on the beginning of the line | 08:48 |
dpm | danilos, hm, that didn't seem to work, intltool-update does not create a POT file and complains that there were no translatable strings. Do these look ok to you? I'm trying to see if I've missed something obvious -> POTFILES.in http://bazaar.launchpad.net/~dpm/+junk/testintl/view/head:/po/POTFILES.in and the XML file: http://bazaar.launchpad.net/~dpm/+junk/testintl/view/head:/data/gwibber.application.in | 08:58 |
dpm | ah, intltool-extract --type="gettext/xml" ../data/gwibber.application.in works, but not if the type is specified in POTFILES.in | 09:00 |
dpm | ok, got it: wrong syntax in POTFILES.in - it should be [type: gettext/xml]data/gwibber.application.in | 09:04 |
dpm | in any case, for those interested, this concerns bug 1052375 | 09:36 |
ubottu | Launchpad bug 1052375 in Ubuntu Translations "The online account g-c-c interface doesn't support i18n" [High,Triaged] https://launchpad.net/bugs/1052375 | 09:36 |
danilos | dpm, sorry for the wrong syntax :) | 09:45 |
dpm | danilos, no worries, was not difficult to figure out. I knew you were just testing me :P | 09:46 |
danilos | dpm, exactly :D | 09:46 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!