Roger Dingledine commited on 2007-01-05 05:08:42
Zeige 7 geänderte Dateien mit 18 Einfügungen und 7 Löschungen.
... | ... |
@@ -6,7 +6,7 @@ WMLOPT = \ |
6 | 6 |
-D TORSVNHEAD=$(TORSVNHEAD) |
7 | 7 |
|
8 | 8 |
|
9 |
-LANGS=de en es it fr ja pl pt ru se zh-cn |
|
9 |
+LANGS=de en es it fi fr ja pl pt ru se zh-cn |
|
10 | 10 |
WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS))) |
11 | 11 |
WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi ) |
12 | 12 |
|
... | ... |
@@ -28,6 +28,9 @@ all: $(HTMLFILES) |
28 | 28 |
%.html.it: it/%.wml en/%.wml |
29 | 29 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
30 | 30 |
|
31 |
+%.html.fi: fi/%.wml en/%.wml |
|
32 |
+ lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
|
33 |
+ |
|
31 | 34 |
%.html.fr: fr/%.wml en/%.wml |
32 | 35 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
33 | 36 |
|
... | ... |
@@ -77,6 +80,13 @@ all: $(HTMLFILES) |
77 | 80 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
78 | 81 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
79 | 82 |
rm -f $$tmpfile |
83 |
+.deps/%.html.fi.d: fi/%.wml .deps/.stamp |
|
84 |
+ tmpfile=`tempfile` \ |
|
85 |
+ lang=`dirname $<` && \ |
|
86 |
+ OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
|
87 |
+ wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
|
88 |
+ sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
|
89 |
+ rm -f $$tmpfile |
|
80 | 90 |
.deps/%.html.fr.d: fr/%.wml .deps/.stamp |
81 | 91 |
tmpfile=`tempfile` \ |
82 | 92 |
lang=`dirname $<` && \ |
... | ... |
@@ -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 fr it ja pl pt ru se zh-cn}; |
|
4 |
+ my @LANGUAGES = qw{de en es fi fr it ja pl pt ru se zh-cn}; |
|
5 | 5 |
my %LANGUAGES = ( |
6 | 6 |
'en' => "English", |
7 | 7 |
'de' => "Deutsch", |
8 | 8 |
'es' => "español", |
9 |
+ 'fi' => "Finnish", |
|
9 | 10 |
'it' => "Italiano", |
10 | 11 |
'ja' => "日本語 (Nihongo)", |
11 | 12 |
'fr' => "français", |
12 | 13 |