[or-cvs] r14046: get closer to adding turkish (in website/trunk: . include tr)

arma at seul.org arma at seul.org
Sat Mar 15 03:34:58 UTC 2008


Author: arma
Date: 2008-03-14 23:34:58 -0400 (Fri, 14 Mar 2008)
New Revision: 14046

Modified:
   website/trunk/Makefile.common
   website/trunk/include/perl-globals.wmi
   website/trunk/tr/download.wml
   website/trunk/tr/foot.wmi
   website/trunk/tr/index.wml
   website/trunk/tr/navigation.wmi
Log:
get closer to adding turkish


Modified: website/trunk/Makefile.common
===================================================================
--- website/trunk/Makefile.common	2008-03-15 02:43:20 UTC (rev 14045)
+++ website/trunk/Makefile.common	2008-03-15 03:34:58 UTC (rev 14046)
@@ -6,7 +6,7 @@
           -D TORSVNHEAD=$(TORSVNHEAD)
 
 
-LANGS=de en es it fi fr ja nl no pl pt ru se zh-cn
+LANGS=de en es it fi fr ja nl no pl pt ru se tr zh-cn
 WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
 WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
 
@@ -152,6 +152,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.tr.d: tr/%.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.zh-cn.d: zh-cn/%.wml .deps/.stamp
 	tmpfile=`tempfile` \
 	lang=`dirname $<` && \

Modified: website/trunk/include/perl-globals.wmi
===================================================================
--- website/trunk/include/perl-globals.wmi	2008-03-15 02:43:20 UTC (rev 14045)
+++ website/trunk/include/perl-globals.wmi	2008-03-15 03:34:58 UTC (rev 14046)
@@ -1,7 +1,7 @@
 #!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 nl no pl pt ru se zh-cn};
+	my @LANGUAGES = qw{de en es fi fr it ja nl no pl pt ru se tr zh-cn};
 	my %LANGUAGES = (
 		'en' => "English",
 		'de' => "Deutsch",
@@ -16,6 +16,7 @@
 		'pt' => "Portugu&ecirc;s",
 		'ru' => "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;&nbsp;(Russkij)",
 		'se' => "svenska",
+		'tr' => "T&uuml;rk&ccedil;e",
 		'zh-cn' => "&#20013;&#25991;(&#31616;) (Simplified Chinese)",
 		);
 	our $WML_SRC_FILENAME;

Modified: website/trunk/tr/download.wml
===================================================================
--- website/trunk/tr/download.wml	2008-03-15 02:43:20 UTC (rev 14045)
+++ website/trunk/tr/download.wml	2008-03-15 03:34:58 UTC (rev 14046)
@@ -1,4 +1,4 @@
-## translation metadata
+## translation metadata
 # Based-On-Revision: 13917
 # Last-Translator: bdaylik .-AT-. hotmail.com
 

Modified: website/trunk/tr/foot.wmi
===================================================================
--- website/trunk/tr/foot.wmi	2008-03-15 02:43:20 UTC (rev 14045)
+++ website/trunk/tr/foot.wmi	2008-03-15 03:34:58 UTC (rev 14046)
@@ -1,4 +1,4 @@
-#!/usr/bin/wml
+#!/usr/bin/wml
 
 ## translation metadata
 # Based-On-Revision: 12223

Modified: website/trunk/tr/index.wml
===================================================================
--- website/trunk/tr/index.wml	2008-03-15 02:43:20 UTC (rev 14045)
+++ website/trunk/tr/index.wml	2008-03-15 03:34:58 UTC (rev 14046)
@@ -1,4 +1,4 @@
-## translation metadata
+## translation metadata
 # Based-On-Revision: 13862
 # Last-Translator: bdaylik .-AT-. hotmail.com
 

Modified: website/trunk/tr/navigation.wmi
===================================================================
--- website/trunk/tr/navigation.wmi	2008-03-15 02:43:20 UTC (rev 14045)
+++ website/trunk/tr/navigation.wmi	2008-03-15 03:34:58 UTC (rev 14046)
@@ -1,4 +1,4 @@
-#!/usr/bin/wml
+#!/usr/bin/wml
 
 ## translation metadata
 # Based-On-Revision: 13772



More information about the tor-commits mailing list