diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2012-01-05 14:56:22 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2012-01-05 14:56:22 +0400 |
commit | 0b7a34c38dd73ed84ec3c1e83559431332494c6c (patch) | |
tree | 367bdac0b7f497c5eb8f52a17c882989f581b4ba | |
parent | 3b73048a64c3798cf796f717b675aa235b7d8a4c (diff) |
generate POTFILES.skip in autogen.sh to skip plugins from translation. add command system files to translated files. Fixes #7068
-rwxr-xr-x | autogen.sh | 6 | ||||
-rw-r--r-- | po/POTFILES.skip | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh index 7297cd483..a187d9e92 100755 --- a/autogen.sh +++ b/autogen.sh @@ -20,8 +20,10 @@ && for p in `ls data/gui/*.ui`; do echo "[type: gettext/glade]$p" >> \ po/POTFILES.in; done \ && ls -1 data/gajim.desktop.in.in \ - src/*py src/common/*py src/common/zeroconf/*.py src/plugins/*.py| grep -v ipython_view.py >> \ - po/POTFILES.in || exit 1 + src/*.py src/common/*.py src/command_system/implementation/*.py src/common/zeroconf/*.py src/plugins/*.py | grep -v ipython_view.py >> \ + po/POTFILES.in \ + && echo -e "data/gajim.desktop.in\nsrc/ipython_view.py" > po/POTFILES.skip \ + && ls -1 plugins/*/*.py plugins/*/*.ui >> po/POTFILES.skip || exit 1 if test -z `which pkg-config 2>/dev/null`;then echo "***Error: pkg-config not found***" echo "See README.html for build requirements." diff --git a/po/POTFILES.skip b/po/POTFILES.skip deleted file mode 100644 index 26c1c02d1..000000000 --- a/po/POTFILES.skip +++ /dev/null @@ -1,3 +0,0 @@ -data/gajim.desktop.in -src/eggtrayicon.c -src/ipython_view.py |