Browse code

get the po2wml script ready for when I figure out how to put a video on media.tpo

Runa A. Sandvik authored on06/07/2011 20:48:32
Showing1 changed files
... ...
@@ -316,6 +316,13 @@ for file in $po ; do
316 316
 
317 317
                                 # Footer
318 318
                                 echo '#include "de/foot.wmi"' >> "$wmldir/$subdir/$lang/$wmlfile"
319
+
320
+				# If the file is tor-doc-windows, make
321
+				# sure we include the German video
322
+				if [ $wmlfile = "tor-doc-windows.wml" ]
323
+				then
324
+					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"
325
+				fi
319 326
                         fi
320 327
 
321 328
 			# If the file is an Arabic translation, include the