more steps closer to making the japanese translation work. next step is to mess with charsets, or something. i have no idea.
Roger Dingledine

Roger Dingledine commited on 2006-10-14 11:45:42
Zeige 11 geänderte Dateien mit 20 Einfügungen und 10 Löschungen.

... ...
@@ -6,7 +6,7 @@ WMLOPT  = \
6 6
           -D TORSVNHEAD=$(TORSVNHEAD)
7 7
 
8 8
 
9
-LANGS=de en es it fr pl pt se ru
9
+LANGS=de en es it fr ja pl pt se ru
10 10
 WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
11 11
 WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
12 12
 
... ...
@@ -31,6 +31,9 @@ all: $(HTMLFILES)
31 31
 %.html.fr: fr/%.wml en/%.wml
32 32
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
33 33
 
34
+%.html.ja: ja/%.wml en/%.wml
35
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
36
+
34 37
 %.html.pl: pl/%.wml en/%.wml
35 38
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
36 39
 
... ...
@@ -78,6 +81,13 @@ all: $(HTMLFILES)
78 81
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
79 82
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
80 83
 	rm -f $$tmpfile
84
+.deps/%.html.ja.d: ja/%.wml .deps/.stamp
85
+	tmpfile=`tempfile` \
86
+	lang=`dirname $<` && \
87
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
88
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
89
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
90
+	rm -f $$tmpfile
81 91
 .deps/%.html.pl.d: pl/%.wml .deps/.stamp
82 92
 	tmpfile=`tempfile` \
83 93
 	lang=`dirname $<` && \
... ...
@@ -1,5 +1,5 @@
1 1
 ## translation metadata
2
-# Revision: $Revision: 8471 $
2
+# Based-On-Revision: 8471
3 3
 # Last-Translator: buyoppy@yahoo.co.jp
4 4
 
5 5
 #include "head.wmi" TITLE="ドキュメント"
... ...
@@ -1,5 +1,5 @@
1 1
 ## translation metadata
2
-# Revision: $Revision: 8216 $
2
+# Based-On-Revision: 8216
3 3
 # Last-Translator: buyoppy@yahoo.co.jp
4 4
 
5 5
 #include "head.wmi" TITLE="OS X向けダウンロード"
... ...
@@ -1,5 +1,5 @@
1 1
 ## translation metadata
2
-# Revision: $Revision: 8216 $
2
+# Based-On-Revision: 8216
3 3
 # Last-Translator: buyoppy@yahoo.co.jp
4 4
 
5 5
 #include "head.wmi" TITLE="Linux/Unix向けダウンロード"
... ...
@@ -1,5 +1,5 @@
1 1
 ## translation metadata
2
-# Revision: $Revision: 8216 $
2
+# Based-On-Revision: 8216
3 3
 # Last-Translator: buyoppy@yahoo.co.jp
4 4
 
5 5
 #include "head.wmi" TITLE="Windows向けダウンロード"
... ...
@@ -1,5 +1,5 @@
1 1
 ## translation metadata
2
-# Revision: $Revision: 8551 $
2
+# Based-On-Revision: 8551
3 3
 # Last-Translator: buyoppy@yahoo.co.jp
4 4
 
5 5
 #include "head.wmi" TITLE="ダウンロード"
... ...
@@ -1,7 +1,7 @@
1 1
 #!/usr/bin/wml
2 2
 
3 3
 ## translation metadata
4
-# Revision: $Revision: 7852 $
4
+# Based-On-Revision: 7852
5 5
 # Last-Translator: buyoppy@yahoo.co.jp
6 6
 
7 7
 #use "functions.wmi"
... ...
@@ -1,5 +1,5 @@
1 1
 ## translation metadata
2
-# Revision: $Revision: 8369 $
2
+# Based-On-Revision: 8369
3 3
 # Last-Translator: buyoppy@yahoo.co.jp
4 4
 
5 5
 #include "head.wmi" TITLE="匿名インターネットコミュニケーションシステム"
... ...
@@ -1,7 +1,7 @@
1 1
 #!/usr/bin/wml
2 2
 
3 3
 ## translation metadata
4
-# Revision: $Revision: 7821 $
4
+# Based-On-Revision: 7821
5 5
 # Last-Translator: buyoppy@yahoo.co.jp
6 6
 
7 7
 <:
... ...
@@ -1,5 +1,5 @@
1 1
 ## translation metadata
2
-# Revision: $Revision: 7935 $
2
+# Based-On-Revision: 7935
3 3
 # Last-Translator: buyoppy@yahoo.co.jp
4 4
 
5 5
 #include "head.wmi" TITLE="概要"
6 6