]> git.lyx.org Git - features.git/commitdiff
* Makefile.in.in (i18n.php): make the target depend on postats.sh
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 28 Feb 2007 22:36:01 +0000 (22:36 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 28 Feb 2007 22:36:01 +0000 (22:36 +0000)
* postats.sh: make e-mail addresses less readable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17385 a592a061-630c-0410-9148-cb99ea01b6c8

po/Makefile.in.in
po/postats.sh

index a03204e28fa578cfb8c093d16b3edc1d93313d46..8ac08b80530d263898f1b3df5c06e1eb42c69889 100644 (file)
@@ -496,7 +496,7 @@ ui_l10n.pot: $(top_srcdir)/lib/ui/*.ui $(top_srcdir)/lib/ui/*.inc
                }' \
        ${top_srcdir}/lib/ui/*.ui ${top_srcdir}/lib/ui/*.inc > $@
 
-i18n.php: $(POFILES)
+i18n.php: $(POFILES) postats.sh
        (cd $(srcdir) ; ./postats.sh $(POFILES)) >$@
 
 force:
index 8ed3b7dfea540515f1d597393c8722f77250f869..c7a0bd4c5faae99f679fc3eedd1b86f5674f425e 100755 (executable)
@@ -106,7 +106,7 @@ run_msgfmt () {
                input=`echo $input | sed 's/  */ /g' | cut -d ' ' -f 2-`
 
                translator=`echo $input | cut -d '<' -f 1 | sed 's/ *$//'`
-               email=`echo $input | cut -d '<' -f 2 | cut -d '>' -f 1`
+               email=`echo $input | cut -d '<' -f 2 | cut -d '>' -f 1 | sed -e 's/@/ () /' -e 's/\./ ! /g'`
        }
        unset input