[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9560: and the rest of adding .no to the website  (in website/trunk: . include)
- To: or-cvs@xxxxxxxxxxxxx
 
- Subject: [or-cvs] r9560: and the rest of adding .no to the website  (in website/trunk: . include)
 
- From: arma@xxxxxxxx
 
- Date: Sat, 10 Feb 2007 23:48:08 -0500 (EST)
 
- Delivered-to: archiver@seul.org
 
- Delivered-to: or-cvs-outgoing@seul.org
 
- Delivered-to: or-cvs@seul.org
 
- Delivery-date: Sat, 10 Feb 2007 23:48:17 -0500
 
- Reply-to: or-talk@xxxxxxxxxxxxx
 
- Sender: owner-or-cvs@xxxxxxxxxxxxx
 
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ñol",
 		'fi' => "suomi",
+		'fr' => "français",
 		'it' => "Italiano",
 		'ja' => "日本語 (Nihongo)",
-		'fr' => "français",
+		'no' => "Norsk",
 		'pl' => "polski",
 		'pt' => "Português",
 		'ru' => "Русский (Russkij)",