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

[or-cvs] r20128: {translation} we do not wish to translate the eff documents (translation/trunk/tools/gsoc09)



Author: runa
Date: 2009-07-24 05:47:32 -0400 (Fri, 24 Jul 2009)
New Revision: 20128

Modified:
   translation/trunk/tools/gsoc09/wml2po.sh
Log:
we do not wish to translate the eff documents

Modified: translation/trunk/tools/gsoc09/wml2po.sh
===================================================================
--- translation/trunk/tools/gsoc09/wml2po.sh	2009-07-24 09:38:22 UTC (rev 20127)
+++ translation/trunk/tools/gsoc09/wml2po.sh	2009-07-24 09:47:32 UTC (rev 20128)
@@ -52,8 +52,9 @@
 # cd to the right directory so we can commit the files later
 cd "$podir"
 
-# We only need the english wml files
-wml=`find $wmldir -regex '^'$wmldir'/.*en/.*\.wml' -type f`
+# We only need the english wml files, but we do not wish to translate
+# the eff documents.
+wml=`find $wmldir -regex '^'$wmldir'/.*en/.*\.wml' -type f | grep -v '^'$wmldir'/eff'`
 
 # For every wml, update po
 for file in $wml ; do