get closer to adding turkish
Roger Dingledine

Roger Dingledine commited on 2008-03-15 04:34:58
Zeige 6 geänderte Dateien mit 14 Einfügungen und 6 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 nl no pl pt ru se zh-cn
9
+LANGS=de en es it fi fr ja 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
 
... ...
@@ -152,6 +152,13 @@ all: $(HTMLFILES)
152 152
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
153 153
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
154 154
 	rm -f $$tmpfile
155
+.deps/%.html.tr.d: tr/%.wml .deps/.stamp
156
+	tmpfile=`tempfile` \
157
+	lang=`dirname $<` && \
158
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
159
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
160
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
161
+	rm -f $$tmpfile
155 162
 .deps/%.html.zh-cn.d: zh-cn/%.wml .deps/.stamp
156 163
 	tmpfile=`tempfile` \
157 164
 	lang=`dirname $<` && \
... ...
@@ -1,7 +1,7 @@
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 nl no pl pt ru se zh-cn};
4
+	my @LANGUAGES = qw{de en es fi fr it ja nl no pl pt ru se tr zh-cn};
5 5
 	my %LANGUAGES = (
6 6
 		'en' => "English",
7 7
 		'de' => "Deutsch",
... ...
@@ -16,6 +16,7 @@
16 16
 		'pt' => "Portugu&ecirc;s",
17 17
 		'ru' => "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;&nbsp;(Russkij)",
18 18
 		'se' => "svenska",
19
+		'tr' => "T&uuml;rk&ccedil;e",
19 20
 		'zh-cn' => "&#20013;&#25991;(&#31616;) (Simplified Chinese)",
20 21
 		);
21 22
 	our $WML_SRC_FILENAME;
... ...
@@ -1,4 +1,4 @@
1
-## translation metadata
1
+## translation metadata
2 2
 # Based-On-Revision: 13917
3 3
 # Last-Translator: bdaylik .-AT-. hotmail.com
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-#!/usr/bin/wml
1
+#!/usr/bin/wml
2 2
 
3 3
 ## translation metadata
4 4
 # Based-On-Revision: 12223
... ...
@@ -1,4 +1,4 @@
1
-## translation metadata
1
+## translation metadata
2 2
 # Based-On-Revision: 13862
3 3
 # Last-Translator: bdaylik .-AT-. hotmail.com
4 4
 
... ...
@@ -1,4 +1,4 @@
1
-#!/usr/bin/wml
1
+#!/usr/bin/wml
2 2
 
3 3
 ## translation metadata
4 4
 # Based-On-Revision: 13772
5 5