[or-cvs] r9560: and the rest of adding .no to the website (in website/trunk: . include)

arma at seul.org arma at seul.org
Sun Feb 11 04:48:08 UTC 2007


Author: arma
Date: 2007-02-10 23:48:08 -0500 (Sat, 10 Feb 2007)
New Revision: 9560

Modified:
   website/trunk/Makefile.common
   website/trunk/include/perl-globals.wmi
Log:
and the rest of adding .no to the website


Modified: website/trunk/Makefile.common
===================================================================
--- website/trunk/Makefile.common	2007-02-11 04:47:26 UTC (rev 9559)
+++ website/trunk/Makefile.common	2007-02-11 04:48:08 UTC (rev 9560)
@@ -37,6 +37,9 @@
 %.html.ja: ja/%.wml en/%.wml
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
 
+%.html.no: no/%.wml en/%.wml
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
+
 %.html.pl: pl/%.wml en/%.wml
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
 
@@ -101,6 +104,13 @@
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
 	rm -f $$tmpfile
+.deps/%.html.no.d: no/%.wml .deps/.stamp
+	tmpfile=`tempfile` \
+	lang=`dirname $<` && \
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
+	rm -f $$tmpfile
 .deps/%.html.pl.d: pl/%.wml .deps/.stamp
 	tmpfile=`tempfile` \
 	lang=`dirname $<` && \

Modified: website/trunk/include/perl-globals.wmi
===================================================================
--- website/trunk/include/perl-globals.wmi	2007-02-11 04:47:26 UTC (rev 9559)
+++ website/trunk/include/perl-globals.wmi	2007-02-11 04:48:08 UTC (rev 9560)
@@ -1,15 +1,16 @@
 #!wml
 <:
 	# Change both.  The array is ordered (for pages like translation status, order of flags, etc).
-	my @LANGUAGES = qw{de en es fi fr it ja pl pt ru se zh-cn};
+	my @LANGUAGES = qw{de en es fi fr it ja no pl pt ru se zh-cn};
 	my %LANGUAGES = (
 		'en' => "English",
 		'de' => "Deutsch",
 		'es' => "espa&ntilde;ol",
 		'fi' => "suomi",
+		'fr' => "fran&ccedil;ais",
 		'it' => "Italiano",
 		'ja' => "&#26085;&#26412;&#35486;&nbsp;(Nihongo)",
-		'fr' => "fran&ccedil;ais",
+		'no' => "Norsk",
 		'pl' => "polski",
 		'pt' => "Portugu&ecirc;s",
 		'ru' => "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;&nbsp;(Russkij)",



More information about the tor-commits mailing list