aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Crozat2011-02-08 22:28:32 +0000
committerThierry Crozat2011-02-08 22:28:32 +0000
commit9fceb200125ffa6991033a928d050ddf1a9c599d (patch)
treea1f8830e5c85628b7ad483f30b925e81d8d892e8
parent89bc8bfdb21f06a81a2d9181d603dce361f0e0b1 (diff)
downloadscummvm-rg350-9fceb200125ffa6991033a928d050ddf1a9c599d.tar.gz
scummvm-rg350-9fceb200125ffa6991033a928d050ddf1a9c599d.tar.bz2
scummvm-rg350-9fceb200125ffa6991033a928d050ddf1a9c599d.zip
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
-rw-r--r--AUTHORS3
-rw-r--r--gui/credits.h3
-rwxr-xr-xtools/credits.pl11
3 files changed, 17 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index b68a9dd90f..758d1934cf 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -348,6 +348,9 @@ Other contributions
Catalan:
Jordi Vilalta Prat
+ Czech:
+ Zbynik Schwarz
+
Danish:
Steffen Nyeland
diff --git a/gui/credits.h b/gui/credits.h
index 00089e00b8..926adf4c9c 100644
--- a/gui/credits.h
+++ b/gui/credits.h
@@ -392,6 +392,9 @@ static const char *credits[] = {
"C1""Catalan",
"C0""Jordi Vilalta Prat",
"",
+"C1""Czech",
+"C0""Zbyn\354k Schwarz",
+"",
"C1""Danish",
"C0""Steffen Nyeland",
"",
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();