From 1206d9905b353a08f6faccf08ef186fd394b3889 Mon Sep 17 00:00:00 2001 From: Laura Arjona Reina Date: Fri, 10 Feb 2017 21:13:53 +0000 Subject: Better i18n for "Created with stattrans" string. Thanks Victory for the patch. Closes: #851458 CVS version numbers stattrans.pl: 1.119 -> 1.120 --- stattrans.pl | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'stattrans.pl') diff --git a/stattrans.pl b/stattrans.pl index b1443d64757..dd7531b93bf 100755 --- a/stattrans.pl +++ b/stattrans.pl @@ -535,6 +535,11 @@ foreach $lang (@search_in) { if (open (HTML, ">$config{'htmldir'}/$l.wml")) { printf HTML "#use wml::debian::template title=\"<:=\$trans{\$CUR_ISO_LANG}{%s}:>\"\n", $lang; print HTML "#use wml::debian::toc\n"; + printf HTML qq|webwml-stattrans\n|, + alioth_cvs_view_url('stattrans.pl'); + print HTML "
\n"; + print HTML "Created with \n" + print HTML "
\n"; print HTML "\n\n"; $color = get_color ($percent_a{$lang}); @@ -655,10 +660,7 @@ foreach $lang (@search_in) { print HTML "\n"; } - print HTML - '
Created with webwml-stattrans
' . "\n"; + print HTML "\n"; close (HTML); } else { print "Can't open $config{'htmldir'}/$l.wml\n"; @@ -675,6 +677,11 @@ open (HTMLI, ">$config{'htmldir'}/index.wml") print HTMLI "#use wml::debian::stats_tags\n"; printf HTMLI "#use wml::debian::template title=\"%s\"\n\n", $config{'title'}; +printf HTMLI qq|webwml-stattrans\n|, + alioth_cvs_view_url('stattrans.pl'); +print HTMLI "
\n"; +print HTMLI "Created with \n" +print HTMLI "
\n"; print HTMLI '

Translated web pages

'."\n"; printf HTMLI "

\n",($wml{'english'}+$untranslated{'english'}); @@ -809,10 +816,7 @@ foreach $lang (@search_in) { print HTMLI ""; print HTMLI "\n"; -print HTMLI - '
Created with webwml-stattrans
' . "\n"; +print HTMLI "\n"; close (HTMLI); print "done.\n" if ($config{'verbose'}); -- cgit v1.2.3