summaryrefslogtreecommitdiffstats
path: root/locale/base
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-06 11:13:40 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-05-06 11:13:40 +0000
commit594a84df0456636acc1fa0cfd02c5ad278d746fc (patch)
tree2d59c2abb212b153bbb95d805546f858c49e8474 /locale/base
parent0b63ba290aa8afac25df642a69cf485426512e88 (diff)
downloadampache-594a84df0456636acc1fa0cfd02c5ad278d746fc.tar.gz
ampache-594a84df0456636acc1fa0cfd02c5ad278d746fc.tar.bz2
ampache-594a84df0456636acc1fa0cfd02c5ad278d746fc.zip
alexey #426 translation patch
Diffstat (limited to 'locale/base')
-rwxr-xr-xlocale/base/gather-messages.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/base/gather-messages.sh b/locale/base/gather-messages.sh
index 9c3a3827..ad45bbf9 100755
--- a/locale/base/gather-messages.sh
+++ b/locale/base/gather-messages.sh
@@ -47,7 +47,7 @@ fi
case $1 in
"--all"|"-a"|"all")
- xgettext --from-code=UTF-8 --msgid-bugs-address="$MAILADDR" -L php -o $POTNAME `find ../../ -name \*.php -type f` `find ../../ -name \*.inc -type f`
+ xgettext --from-code=UTF-8 --msgid-bugs-address="$MAILADDR" -L php --keyword=gettext_noop -o $POTNAME `find ../../ -name \*.php -type f` `find ../../ -name \*.inc -type f`
OLANG=`ls ../ | grep -v base`
echo "add database words add to pot file..."
cat translation-words.txt >> messages.pot
@@ -63,7 +63,7 @@ case $1 in
done
;;
"--get"|"-g"|"get")
- xgettext --from-code=UTF-8 --msgid-bugs-address="$MAILADDR" -L php -o $POTNAME `find ../../ -name \*.php -type f` `find ../../ -name \*.inc -type f`;
+ xgettext --from-code=UTF-8 --msgid-bugs-address="$MAILADDR" -L php --keyword=gettext_noop -o $POTNAME `find ../../ -name \*.php -type f` `find ../../ -name \*.inc -type f`;
if [ $? = 0 ]; then
echo "pot file creation was done.";
else