[gnome3-web] do not process video-*.html pages for translation



commit 72a48ac4cd370b4a39a624c52ce4d0fd337da005
Author: Frédéric Péters <fpeters 0d be>
Date:   Wed Apr 6 16:10:59 2011 +0530

    do not process video-*.html pages for translation

 po/build.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/po/build.sh b/po/build.sh
index cd6a44d..3660989 100755
--- a/po/build.sh
+++ b/po/build.sh
@@ -2,16 +2,16 @@
 
 # make sure all HTML files are valid XML, this will be required by xml2po
 # in the second phase...
-for HTMLFILE in ../*.html
+for HTMLFILE in $(ls ../*.html | grep -v video)
 do
     xmllint --noout $HTMLFILE
 done
 
-xml2po -e -m xhtml -o gnome3.pot ../*.html
+xml2po -e -m xhtml -o gnome3.pot $(ls ../*.html | grep -v video)
 for LANG in $(cat LINGUAS)
 do
     POFILE=$LANG.po
-    for HTMLFILE in ../*.html
+    for HTMLFILE in $(ls ../*.html | grep -v video)
     do
       echo "Writing $HTMLFILE.$LANG"
       xml2po -p $POFILE -m xhtml -o $HTMLFILE.$LANG $HTMLFILE



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]