/srv/irclogs.ubuntu.com/2012/09/18/#ubuntu-translators.txt

=== trijntje__ is now known as trijntje
dpmhey 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
dpmWe'd like to extract the <description> tag strings from that file for the 12.10 Online Accounts dialog08:45
danilosdpm, only if "_" are prepended to tags08:45
dpmdanilos, to both the opening and closing tags? I'm trying this and it seems to ignore the file08:45
dpmas in <_description>Integrate your feed data</_description>08:46
* dpm tries other combinations08:46
danilosdpm, yes, to both; you might need to specify --type=gettext/xml to intltool-extract08:46
dpmah, good point08:46
* dpm tries08:46
dpmI can specify it on POTFILES.in as well, I guess08:47
danilosdpm, yeah, using [gettext/xml] on the beginning of the line08:48
dpmdanilos, 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.in08:58
dpmah, intltool-extract --type="gettext/xml" ../data/gwibber.application.in works, but not if the type is specified in POTFILES.in09:00
dpmok, got it: wrong syntax in POTFILES.in - it should be [type: gettext/xml]data/gwibber.application.in09:04
dpmin any case, for those interested, this concerns bug 105237509:36
ubottuLaunchpad bug 1052375 in Ubuntu Translations "The online account g-c-c interface doesn't support i18n" [High,Triaged] https://launchpad.net/bugs/105237509:36
danilosdpm, sorry for the wrong syntax :)09:45
dpmdanilos, no worries, was not difficult to figure out. I knew you were just testing me :P09:46
danilosdpm, exactly :D09:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!