Roger Dingledine commited on 2007-02-11 05:48:08
Zeige 2 geänderte Dateien mit 13 Einfügungen und 2 Löschungen.
... | ... |
@@ -37,6 +37,9 @@ all: $(HTMLFILES) |
37 | 37 |
%.html.ja: ja/%.wml en/%.wml |
38 | 38 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
39 | 39 |
|
40 |
+%.html.no: no/%.wml en/%.wml |
|
41 |
+ lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
|
42 |
+ |
|
40 | 43 |
%.html.pl: pl/%.wml en/%.wml |
41 | 44 |
lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@ |
42 | 45 |
|
... | ... |
@@ -101,6 +104,13 @@ all: $(HTMLFILES) |
101 | 104 |
wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
102 | 105 |
sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
103 | 106 |
rm -f $$tmpfile |
107 |
+.deps/%.html.no.d: no/%.wml .deps/.stamp |
|
108 |
+ tmpfile=`tempfile` \ |
|
109 |
+ lang=`dirname $<` && \ |
|
110 |
+ OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \ |
|
111 |
+ wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \ |
|
112 |
+ sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \ |
|
113 |
+ rm -f $$tmpfile |
|
104 | 114 |
.deps/%.html.pl.d: pl/%.wml .deps/.stamp |
105 | 115 |
tmpfile=`tempfile` \ |
106 | 116 |
lang=`dirname $<` && \ |
... | ... |
@@ -1,15 +1,16 @@ |
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 pl pt ru se zh-cn}; |
|
4 |
+ my @LANGUAGES = qw{de en es fi fr it ja no pl pt ru se zh-cn}; |
|
5 | 5 |
my %LANGUAGES = ( |
6 | 6 |
'en' => "English", |
7 | 7 |
'de' => "Deutsch", |
8 | 8 |
'es' => "español", |
9 | 9 |
'fi' => "suomi", |
10 |
+ 'fr' => "français", |
|
10 | 11 |
'it' => "Italiano", |
11 | 12 |
'ja' => "日本語 (Nihongo)", |
12 |
- 'fr' => "français", |
|
13 |
+ 'no' => "Norsk", |
|
13 | 14 |
'pl' => "polski", |
14 | 15 |
'pt' => "Português", |
15 | 16 |
'ru' => "Русский (Russkij)", |
16 | 17 |