From 9fceb200125ffa6991033a928d050ddf1a9c599d Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Tue, 8 Feb 2011 22:28:32 +0000 Subject: CREDITS: Add credits for Czech translation Also add missing html entities conversion for rtf and tex outputs (hopefully I got them right). svn-id: r55834 --- tools/credits.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tools/credits.pl') diff --git a/tools/credits.pl b/tools/credits.pl index 2542f85432..b72d38bcd1 100755 --- a/tools/credits.pl +++ b/tools/credits.pl @@ -62,6 +62,7 @@ sub html_entities_to_ascii { # For now we hardcode these mappings # á -> a # é -> e + # ì -> i # ó -> o # ø -> o # ö -> o / oe @@ -73,6 +74,7 @@ sub html_entities_to_ascii { # Š -> S $text =~ s/á/a/g; $text =~ s/é/e/g; + $text =~ s/ì/i/g; $text =~ s/ó/o/g; $text =~ s/ø/o/g; $text =~ s/ł/l/g; @@ -97,6 +99,7 @@ sub html_entities_to_cpp { # The numerical values are octal! $text =~ s/á/\\341/g; $text =~ s/é/\\351/g; + $text =~ s/ì/\\354/g; $text =~ s/ó/\\363/g; $text =~ s/ø/\\370/g; $text =~ s/ł/l/g; @@ -113,13 +116,16 @@ sub html_entities_to_cpp { } # Convert HTML entities to RTF codes +# This is using the Mac OS Roman encoding sub html_entities_to_rtf { my $text = shift; $text =~ s/á/\\'87/g; $text =~ s/é/\\'8e/g; + $text =~ s/ì/\\'93/g; $text =~ s/ó/\\'97/g; $text =~ s/ø/\\'bf/g; + $text =~ s/å/\\'8c/g; # The following numerical values are octal! $text =~ s/ł/\\uc0\\u322 /g; $text =~ s/Š/\\uc0\\u540 /g; @@ -140,8 +146,10 @@ sub html_entities_to_tex { $text =~ s/á/\\'a/g; $text =~ s/é/\\'e/g; + $text =~ s/ì/\\`\\i/g; $text =~ s/ó/\\'o/g; $text =~ s/ø/{\\o}/g; + $text =~ s/å/\\aa /g; $text =~ s/ł/{\\l}/g; $text =~ s/Š/{\\v S}/g; @@ -891,6 +899,9 @@ begin_credits("Credits"); begin_section("Catalan"); add_person("Jordi Vilalta Prat", "jvprat", ""); end_section(); + begin_section("Czech"); + add_person("Zbynìk Schwarz", "", ""); + end_section(); begin_section("Danish"); add_person("Steffen Nyeland", "", ""); end_section(); -- cgit v1.2.3