Created attachment 328663 [details] fix generating anaconda.pot (-p0 patch) Description of problem: xgettext does not know the language of anaconda because it has no extension Version-Release number of selected component (if applicable): anaconda-11.4.1.63-1 How reproducible: always Steps to Reproduce: 1. cd po 2. make anaconda.pot Actual results: xgettext complains about unclosed quotes Expected results: no errors Additional info: patch is included
Actually we now have to run xgettext twice - once for the python files and once for the C files. It doesn't look like you can pass --lang=python <some files> --lang=c <other files>. With that one modification, I'll apply this. Thanks for the patch.
yes your changes are better one last thing, the man/info page said it should be --language not the short --lang I'm not sure if --lang is correct
I noticed a warning in the second xgettext saying it does not like charset=CHARSET so should we put sed -i -e 's!^"Content-Type: text/plain; charset=CHARSET!"Content-Type: text/plain; charset=UTF-8!' $(NLSPACKAGE).po between them ?