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ês", |
17 | 17 |
'ru' => "Русский (Russkij)", |
18 | 18 |
'se' => "svenska", |
19 |
+ 'tr' => "Türkçe", |
|
19 | 20 |
'zh-cn' => "中文(简) (Simplified Chinese)", |
20 | 21 |
); |
21 | 22 |
our $WML_SRC_FILENAME; |