lots of cleanups, but still doesn't build. hm.
Roger Dingledine

Roger Dingledine commited on 2008-07-21 18:15:27
Zeige 11 geänderte Dateien mit 44 Einfügungen und 29 Löschungen.

... ...
@@ -6,7 +6,7 @@ WMLOPT  = \
6 6
           -D TORSVNHEAD=$(TORSVNHEAD)
7 7
 
8 8
 
9
-LANGS=de en es it fi fr ja ko nl no pl pt ru se tr zh-cn
9
+LANGS=de en es it fa fi fr ja ko nl no pl pt ru se tr zh-cn
10 10
 WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
11 11
 WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
12 12
 
... ...
@@ -25,6 +25,9 @@ all: $(HTMLFILES)
25 25
 %.html.de: de/%.wml en/%.wml
26 26
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
27 27
 
28
+%.html.fa: fa/%.wml en/%.wml
29
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
30
+
28 31
 %.html.it: it/%.wml en/%.wml
29 32
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
30 33
 
... ...
@@ -85,6 +88,13 @@ all: $(HTMLFILES)
85 88
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
86 89
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
87 90
 	rm -f $$tmpfile
91
+.deps/%.html.fa.d: fa/%.wml .deps/.stamp
92
+	tmpfile=`tempfile` \
93
+	lang=`dirname $<` && \
94
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
95
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
96
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
97
+	
88 98
 .deps/%.html.it.d: it/%.wml .deps/.stamp
89 99
 	tmpfile=`tempfile` \
90 100
 	lang=`dirname $<` && \
... ...
@@ -1,8 +1,8 @@
1
-## translation metadata
2
-# Revision: $Revision$
1
+## translation metadata
2
+# Based-On-Revision: 14961
3 3
 # Translation-Priority: 1-high
4 4
 
5
-#include "head.wmi" TITLE="Tor: دستورالعمل های نصب MS Windows
5
+#include "head.wmi" TITLE="Tor: دستورالعمل های نصب MS Windows" CHARSET="UTF-8"
6 6
 
7 7
 <div class="center">
8 8
 
... ...
@@ -1,5 +1,5 @@
1
-## translation metadata
2
-# Revision: $Revision$
1
+## translation metadata
2
+# Based-On-Revision: 15733
3 3
 # Translation-Priority: 1-high
4 4
 
5 5
 #include "head.wmi" TITLE="Tor: Bridges" CHARSET="UTF-8"
... ...
@@ -1,8 +1,8 @@
1
-## translation metadata
2
-# Revision: $Revision$
1
+## translation metadata
2
+# Based-On-Revision: 15961
3 3
 # Translation-Priority: 1-high
4 4
 
5
-#include "head.wmi" TITLE="Tor: Download" charset="UTF-8"
5
+#include "head.wmi" TITLE="Tor: Download" CHARSET="UTF-8"
6 6
 
7 7
 <div class="main-column">
8 8
 
... ...
@@ -1,6 +1,8 @@
1
-#!/usr/bin/wml
1
+#!/usr/bin/wml
2 2
 
3
-## translation metadata # Revision: $Revision$ # Translation-Priority: 1-high
3
+## translation metadata
4
+# Based-On-Revision: 12223
5
+# Last-Translator: foo
4 6
 
5 7
 #use "functions.wmi"
6 8
 
... ...
@@ -1,8 +1,8 @@
1
-## translation metadata
2
-# Revision: $Revision$
3
-# Translation-Priority: 1-high
1
+## translation metadata
2
+# Based-On-Revision: 14740
3
+# Last-Translator: foo
4 4
 
5
-#include "head.wmi" TITLE="Tor: آنلاين Tor"
5
+#include "head.wmi" TITLE="Tor: آنلاين Tor" CHARSET="UTF-8"
6 6
 
7 7
 <!-- SIDEBAR (OPTIONAL) -->
8 8
 <div class="sidebar">
... ...
@@ -1,8 +1,8 @@
1
-#!/usr/bin/wml
1
+#!/usr/bin/wml
2 2
 
3 3
 ## translation metadata
4
-# Revision: $ Revision: 13772 $
5
-# Translation-Priority: 1-high
4
+# Based-On-Revision: 13772
5
+# Last-Translator: foo
6 6
 
7 7
 <: my @navigation = ( 'فهرست موضوعی'			, 'صفحه اصلی', 'نظر اجمالی'		, 'نظر اجمالی', 'بارگيری'		, 'بارگيری', 'اسناد'		, 'اسناد', 'داوطلب'		, 'داوطلب', 'مردم'		, 'مردم', 'https://blog.torproject.org/', 'بلاگ', 'اهدا'		, 'اهدا کنيد!', ); 
8 8
 :>
... ...
@@ -1,11 +1,12 @@
1 1
 #!wml
2 2
 <:
3 3
 	# Change both.  The array is ordered (for pages like translation status, order of flags, etc).
4
-	my @LANGUAGES = qw{de en es fi fr it ja ko nl no pl pt ru se tr zh-cn};
4
+	my @LANGUAGES = qw{de en es fa fi fr it ja ko nl no pl pt ru se tr zh-cn};
5 5
 	my %LANGUAGES = (
6 6
 		'en' => "English",
7 7
 		'de' => "Deutsch",
8 8
 		'es' => "espa&ntilde;ol",
9
+		'fa' => "Farsi",
9 10
 		'fi' => "suomi",
10 11
 		'fr' => "fran&ccedil;ais",
11 12
 		'it' => "Italiano",
... ...
@@ -1,7 +1,8 @@
1
-## translation metadata
2
-# Revision: $Revision$
1
+## translation metadata
2
+# Based-On-Revision: 15218
3
+# Last-Translator: foo
3 4
 
4
-#include "head.wmi" TITLE="بسته نرم افزاری مرورگر Tor می باشد: جزئيات"
5
+#include "head.wmi" TITLE="بسته نرم افزاری مرورگر Tor می باشد: جزئيات" CHARSET="UTF-8"
5 6
 
6 7
 <div class="main-column">
7 8
 
... ...
@@ -1,7 +1,8 @@
1
-## translation metadata
2
-# Revision: $Revision$ # Translation-Priority: 1-high
1
+## translation metadata
2
+# Revision: 15218
3
+# Last-Translator: foo
3 4
 
4
-#include "head.wmi" TITLE="Tor Browser Bundle"
5
+#include "head.wmi" TITLE="Tor Browser Bundle" CHARSET="UTF-8"
5 6
 
6 7
 <div class="main-column">
7 8
 
... ...
@@ -1,8 +1,8 @@
1
-## translation metadata
2
-# Revision: $Revision$
3
-# Translation-Priority: 1-high
1
+## translation metadata
2
+# Based-On-Revision: 15425
3
+# Last-Translator: foo
4 4
 
5
-#include "head.wmi" TITLE="بسته نرم افزاری مرورگر Tor (نسخه تقسيم شده)"
5
+#include "head.wmi" TITLE="بسته نرم افزاری مرورگر Tor (نسخه تقسيم شده)" CHARSET="UTF-8"
6 6
 
7 7
 <div class="main-column">
8 8
 
9 9