Author: runa
Date: 2011-07-06 18:48:32 +0000 (Wed, 06 Jul 2011)
New Revision: 24863

Modified:
   website/trunk/po2wml.sh
Log:
get the po2wml script ready for when I figure out how to put a video on 
media.tpo

Modified: website/trunk/po2wml.sh
===================================================================
--- website/trunk/po2wml.sh     2011-07-05 14:57:24 UTC (rev 24862)
+++ website/trunk/po2wml.sh     2011-07-06 18:48:32 UTC (rev 24863)
@@ -316,6 +316,13 @@
 
                                 # Footer
                                 echo '#include "de/foot.wmi"' >> 
"$wmldir/$subdir/$lang/$wmlfile"
+
+                               # If the file is tor-doc-windows, make
+                               # sure we include the German video
+                               if [ $wmlfile = "tor-doc-windows.wml" ]
+                               then
+                                       sed -i 
"s@src\=\"https://media.torproject.org/video/2009-install-and-use-tor.ogv\"@src\=\"https://media.torproject.org/video/2011-install-and-use-tor-de.mp4@";
 "$wmldir/$subdir/$lang/$wmlfile"
+                               fi
                         fi
 
                        # If the file is an Arabic translation, include the

_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to