Author: mvidner Date: Thu Jan 31 14:06:29 2008 New Revision: 44061 URL: http://svn.opensuse.org/viewcvs/yast?rev=44061&view=rev Log: y2makepot: look for gettext() in addition to _() and __() (bnc#354678). Modified: trunk/devtools/devtools/bin/gettextdomains Modified: trunk/devtools/devtools/bin/gettextdomains URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/gettextdomains?rev=44061&r1=44060&r2=44061&view=diff ============================================================================== --- trunk/devtools/devtools/bin/gettextdomains (original) +++ trunk/devtools/devtools/bin/gettextdomains Thu Jan 31 14:06:29 2008 @@ -16,6 +16,7 @@ # search for sourcecode-files SRCFILES=`find $SRCDIR -type d -name testsuite -prune , \ + -type d -name .svn -prune , \ -type f -name "*.ycp" \ -o -name "*.pm" \ -o -name "*.c" \ @@ -37,7 +38,7 @@ # - uncaught _( at line beginning MATCH=`perl -n -e 'print "$ARGV: $_" if not /(\/\/|#)/' $F | \ perl -n -e 'print "$_" if not /\/\*/../\*\//' | \ - perl -n -e 'print "$_" if /[^[:alnum:]_"<]_{1,2}\(/../\)/'` + perl -n -e 'print "$_" if /[^[:alnum:]_"<](_|__|gettext)\(/../\)/'` if [ -n "$MATCH" ]; then TR_FILES="$F $TR_FILES" ; fi -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org