[tor-commits] r24903: {website} include both the English and the German video on tor-doc-win (in website/trunk: . docs/de)

Runa Sandvik runa.sandvik at gmail.com
Thu Jul 14 08:29:57 UTC 2011


Author: runa
Date: 2011-07-14 08:29:57 +0000 (Thu, 14 Jul 2011)
New Revision: 24903

Modified:
   website/trunk/docs/de/tor-doc-windows.wml
   website/trunk/po2wml.sh
Log:
include both the English and the German video on tor-doc-windows.html.de

Modified: website/trunk/docs/de/tor-doc-windows.wml
===================================================================
--- website/trunk/docs/de/tor-doc-windows.wml	2011-07-14 07:31:20 UTC (rev 24902)
+++ website/trunk/docs/de/tor-doc-windows.wml	2011-07-14 08:29:57 UTC (rev 24903)
@@ -32,7 +32,7 @@
 das in deine Sprache übersetzt ist, kennst, lass es uns wissen!</p>
     
     <div class="center">
-<p>Das nachfolgende Video, wurde von <a href="http://www.sempervideo.de/">SemperVideo</a> erstellt.</p>     <p><video id="v1" src="https://media.torproject.org/video/2011-install-and-use-tor-de.ogv" autobuffer="true" controls="controls"></video></p>
+    <p><video id="v1" src="https://media.torproject.org/video/2009-install-and-use-tor.ogv" autobuffer="true" controls="controls"></video></p> <p>Das nachfolgende Video, wurde von SemperVideo erstellt.</p> <p><video id="v1" src="https://media.torproject.org/video/2011-install-and-use-tor-de.ogv" autobuffer="true" controls="controls"></video></p>
     </div>
     
     <hr> <a id="Installation"></a>

Modified: website/trunk/po2wml.sh
===================================================================
--- website/trunk/po2wml.sh	2011-07-14 07:31:20 UTC (rev 24902)
+++ website/trunk/po2wml.sh	2011-07-14 08:29:57 UTC (rev 24903)
@@ -322,10 +322,10 @@
 				if [ $wmlfile = "tor-doc-windows.wml" ]
 				then
 					orig_video=`grep src=\"https:\/\/media.torproject.org\/video\/2009-install-and-use-tor.ogv\" "$wmldir/$subdir/$lang/$wmlfile"`
-					new_video=`echo "<p>Das nachfolgende Video, wurde von <a href=\"http://www.sempervideo.de/\">SemperVideo</a> erstellt.</p> $orig_video"`
+					translated_video=`echo "<p>Das nachfolgende Video, wurde von SemperVideo erstellt.</p> <p><video id=\"v1\" src=\"https://media.torproject.org/video/2011-install-and-use-tor-de.ogv\" autobuffer=\"true\" controls=\"controls\"></video></p>"`
+					new_video=`echo "$orig_video $translated_video"`
 				
 					sed -i "s@$orig_video@$new_video@" "$wmldir/$subdir/$lang/$wmlfile"
-					sed -i "s at src\=\"https://media.torproject.org/video/2009-install-and-use-tor.ogv\"@src\=\"https://media.torproject.org/video/2011-install-and-use-tor-de.ogv\"@" "$wmldir/$subdir/$lang/$wmlfile"
 				fi
                         fi
 



More information about the tor-commits mailing list