Add the Finnish pages and link to the flag. Perhaps weasel or somebody else knows the Finnish word for Finnish.
Roger Dingledine

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 $<` && \
... ...
@@ -2,7 +2,7 @@
2 2
 # Based-On-Revision: 8816
3 3
 # Last-Translator: webmaster(ät]kuura.org
4 4
 
5
-#include "head.wmi" TITLE="Lataa OS X:lle"
5
+#include "head.wmi" TITLE="Lataa OS X:lle" CHARSET="UTF-8"
6 6
 
7 7
 <div class="main-column">
8 8
 
... ...
@@ -2,7 +2,7 @@
2 2
 # Based-On-Revision: 8698
3 3
 # Last-Translator: webmaster(ät]kuura.org
4 4
 
5
-#include "head.wmi" TITLE="Lataa Linuxille tai Unixille"
5
+#include "head.wmi" TITLE="Lataa Linuxille tai Unixille" CHARSET="UTF-8"
6 6
 
7 7
 <div class="main-column">
8 8
 
... ...
@@ -2,7 +2,7 @@
2 2
 # Based-On-Revision: 9188
3 3
 # Last-Translator: webmaster(ät]kuura.org
4 4
 
5
-#include "head.wmi" TITLE="Lataa Windowsille"
5
+#include "head.wmi" TITLE="Lataa Windowsille" CHARSET="UTF-8"
6 6
 
7 7
 <div class="main-column">
8 8
 
... ...
@@ -2,7 +2,7 @@
2 2
 # Based-On-Revision: 9188
3 3
 # Last-Translator: webmaster(ät]kuura.org
4 4
 
5
-#include "head.wmi" TITLE="Lataa"
5
+#include "head.wmi" TITLE="Lataa" CHARSET="UTF-8"
6 6
 
7 7
 <div class="main-column">
8 8
 
... ...
@@ -2,7 +2,7 @@
2 2
 # Based-On-Revision: 7395
3 3
 # Last-Translator: webmaster(ät]kuura.org
4 4
 
5
-#include "head.wmi" TITLE="Overview"
5
+#include "head.wmi" TITLE="Overview" CHARSET="UTF-8"
6 6
 
7 7
 <div class="main-column">
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 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&ntilde;ol",
9
+		'fi' => "Finnish",
9 10
 		'it' => "Italiano",
10 11
 		'ja' => "&#26085;&#26412;&#35486;&nbsp;(Nihongo)",
11 12
 		'fr' => "fran&ccedil;ais",
12 13