GNOME Bugzilla – Bug 656464
Error regenerating POT file for document pitivi-help
Last modified: 2011-08-19 19:32:08 UTC
There is an error, shown in D-L[1] when generating POT files for pitivi's documentation: cd "<scratchdir>/git/pitivi/help" && xml2po -m mallard -o <scratchdir>/git/pitivi/help/C/pitivi-help.pot -e C/index.page C/about.page C/crossfading.page C/effects.page C/effectsanimation.page C/fadeinfadeout.page C/figures C/gstreamer.page C/importingmpegts.page C/importing.page C/index.page C/insertintimeline.page C/interface.page C/keyframecurves.page C/layers.page C/license.page C/mainwindow.page C/makeselections.page C/medialibrary.page C/movearoundtimeline.page C/othertransitions.page C/projectsettings.page C/rendering.page C/saveproject.page C/selectunusedfiles.page C/splitting.page C/sysreq.page C/trimming.page C/usingclips.page C/welcomedialog.page Unable to parse XML file 'C/figures': xmlParserGetDoc() failed POT file can't be generated, so D-L is not showing translation statistics for help. Many thanks for your help [1] http://l10n.gnome.org/module/pitivi/
Created attachment 193776 [details] [review] This patchs fixes error generatin POT file for pitivi's help I've found where is the bug. In the DOC_PAGES variable in help/Makefile.am it was included the «figures» folder, so xml2po crashed when trying to parse this folder as an XML file. This patch should fix this bug, so pitivi's help POT file should be generated properly.
Created attachment 193777 [details] [review] help: Remove the figures folder from DOC_PAGES Author is Daniel Mustieles
Comment on attachment 193777 [details] [review] help: Remove the figures folder from DOC_PAGES Attachment 193777 [details] pushed as c316090 - help: Remove the figures folder from DOC_PAGES
I can't see this patched commited in Git. POTFILES.in has been fixed, but help/Makefile.am is still wrong. May I apply the patch in the repo? Thanks ;-)
I've seen you have applied the patch in GNOME's repo, but there is still a problem I'm not sure how to resolve it. First of all, you should add the variable DOC_LINGUAS to help/Makefile.am. This variable should list all the languages that pitivi has been translated. The first problem is that, actually, I don't see any po file for help. The previous translations have been lost when migrating to Mallard? The second problem is your repo's policy: when a translator takes a new module, with has no po file for help, needs to create a help/<language>/language.po file. If you don't want GNOME hackers to do commits in this repo, what should we do? Do we have to open a bug to inform we are going to translate pitivi's help to a new language, so developers can modify help/Makefile.am and add the correspoding files? Sorry but, I think this is not the rigth way. Many thanks for your help
We actually didn't have any help before, we just introduced it recently. So yes, there is no translations yet. Someone has already started the german translation for the help: http://git.gnome.org/browse/pitivi/commit/?id=05f70ea402e7f1b7a5cc2e3cef7f6a0bb75a54b7 so it is all fine!
Sorry wrong commit! http://git.gnome.org/browse/pitivi/commit/?id=d3ae9120c8185b6589b359476fe94506b0f9da06
I guess we can close this report.
Ok, tomorroy I'll commit partial spanish translation. Thanks for your help (and thanks to Claude for closing this bug)