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

Runa A. Sandvik commited on 2011-07-06 20:48:32
Zeige 1 geänderte Dateien mit 7 Einfügungen und 0 Löschungen.

... ...
@@ -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
322 329