Build portuguese translation
Peter Palfrader

Peter Palfrader commited on 2006-05-15 11:36:09
Zeige 8 geänderte Dateien mit 19 Einfügungen und 2 Löschungen.

... ...
@@ -6,7 +6,7 @@ WMLOPT  = \
6 6
           -D TORCVSHEAD=$(TORCVSHEAD)
7 7
 
8 8
 
9
-LANGS=de en es it fr pl se ru
9
+LANGS=de en es it fr pl pt se ru
10 10
 WMLFILES=$(wildcard $(patsubst %, %/*.wml, $(LANGS)))
11 11
 WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
12 12
 
... ...
@@ -34,6 +34,9 @@ all: $(HTMLFILES)
34 34
 %.html.pl: pl/%.wml en/%.wml
35 35
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
36 36
 
37
+%.html.pt: pt/%.wml en/%.wml
38
+	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
39
+
37 40
 %.html.se: se/%.wml en/%.wml
38 41
 	lang=`dirname $<` && wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $@
39 42
 
... ...
@@ -82,6 +85,13 @@ all: $(HTMLFILES)
82 85
 	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
83 86
 	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
84 87
 	rm -f $$tmpfile
88
+.deps/%.html.pt.d: pt/%.wml .deps/.stamp
89
+	tmpfile=`tempfile` \
90
+	lang=`dirname $<` && \
91
+	OUT=`echo $@ | sed -e 's,\.deps/\(.*\)\.d$$,\1,'` && \
92
+	wml $(WMLOPT) -I $$lang -I $(WMLBASE)/$$lang -D LANG=$$lang $< -o $$OUT --depend | tee $$tmpfile > $@ && \
93
+	sed -e s',\(^[^ ]*\):,.deps/\1.d:,' < $$tmpfile >> $@ && \
94
+	rm -f $$tmpfile
85 95
 .deps/%.html.se.d: se/%.wml .deps/.stamp
86 96
 	tmpfile=`tempfile` \
87 97
 	lang=`dirname $<` && \
... ...
@@ -1,7 +1,7 @@
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 pl ru se};
4
+	my @LANGUAGES = qw{de en es fr it pl pt ru se};
5 5
 	my %LANGUAGES = (
6 6
 		'en' => "English",
7 7
 		'de' => "Deutsch",
... ...
@@ -9,6 +9,7 @@
9 9
 		'it' => "Italiano",
10 10
 		'fr' => "fran&ccedil;ais",
11 11
 		'pl' => "polski",
12
+		'pt' => "Portugu&ecirc;s",
12 13
 		'ru' => "&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;&nbsp;(Russkij)",
13 14
 		'se' => "svenska",
14 15
 		);
... ...
@@ -1,3 +1,4 @@
1
+## translation metadata
1 2
 # Based-On-Revision: 1.9
2 3
 # Last-Translator: asr@mail.telepac.pt
3 4
 
... ...
@@ -1,3 +1,4 @@
1
+## translation metadata
1 2
 # Based-On-Revision: 1.47
2 3
 # Last-Translator: asr@mail.telepac.pt
3 4
 
... ...
@@ -1,3 +1,4 @@
1
+## translation metadata
1 2
 # Based-On-Revision: 1.8
2 3
 # Last-Translator: asr@mail.telepac.pt
3 4
 
... ...
@@ -1,3 +1,4 @@
1
+## translation metadata
1 2
 # Based-On-Revision: 1.25
2 3
 # Last-Translator: asr@mail.telepac.pt
3 4
 
... ...
@@ -1,3 +1,4 @@
1
+## translation metadata
1 2
 # Based-On-Revision: 1.5
2 3
 # Last-Translator: asr@mail.telepac.pt
3 4
 
... ...
@@ -1,3 +1,4 @@
1
+## translation metadata
1 2
 # Based-On-Revision: 1.6
2 3
 # Last-Translator: asr@mail.telepac.pt
3 4
 
4 5