[Scummvm-cvs-logs] SF.net SVN: scummvm:[55834]
criezy at users.sourceforge.net
criezy at users.sourceforge.net
Tue Feb 8 23:28:32 CET 2011
Revision: 55834
http://scummvm.svn.sourceforge.net/scummvm/?rev=55834&view=rev
Author: criezy
Date: 2011-02-08 22:28:32 +0000 (Tue, 08 Feb 2011)
Log Message:
-----------
CREDITS: Add credits for Czech translation
Also add missing html entities conversion for rtf and tex outputs (hopefully
I got them right).
Modified Paths:
--------------
scummvm/trunk/AUTHORS
scummvm/trunk/gui/credits.h
scummvm/trunk/tools/credits.pl
web/trunk/data/credits.xml
Modified: scummvm/trunk/AUTHORS
===================================================================
--- scummvm/trunk/AUTHORS 2011-02-08 22:25:35 UTC (rev 55833)
+++ scummvm/trunk/AUTHORS 2011-02-08 22:28:32 UTC (rev 55834)
@@ -348,6 +348,9 @@
Catalan:
Jordi Vilalta Prat
+ Czech:
+ Zbynik Schwarz
+
Danish:
Steffen Nyeland
Modified: scummvm/trunk/gui/credits.h
===================================================================
--- scummvm/trunk/gui/credits.h 2011-02-08 22:25:35 UTC (rev 55833)
+++ scummvm/trunk/gui/credits.h 2011-02-08 22:28:32 UTC (rev 55834)
@@ -392,6 +392,9 @@
"C1""Catalan",
"C0""Jordi Vilalta Prat",
"",
+"C1""Czech",
+"C0""Zbyn\354k Schwarz",
+"",
"C1""Danish",
"C0""Steffen Nyeland",
"",
Modified: scummvm/trunk/tools/credits.pl
===================================================================
--- scummvm/trunk/tools/credits.pl 2011-02-08 22:25:35 UTC (rev 55833)
+++ scummvm/trunk/tools/credits.pl 2011-02-08 22:28:32 UTC (rev 55834)
@@ -62,6 +62,7 @@
# For now we hardcode these mappings
# á -> a
# é -> e
+ # ì -> i
# ó -> o
# ø -> o
# ö -> o / oe
@@ -73,6 +74,7 @@
# Š -> 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 @@
# 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 @@
}
# 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 @@
$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_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();
Modified: web/trunk/data/credits.xml
===================================================================
--- web/trunk/data/credits.xml 2011-02-08 22:25:35 UTC (rev 55833)
+++ web/trunk/data/credits.xml 2011-02-08 22:28:32 UTC (rev 55834)
@@ -1162,6 +1162,14 @@
</person>
</group>
<group>
+ <name>Czech</name>
+ <person>
+ <name>Zbynìk Schwarz</name>
+ <alias></alias>
+ <description></description>
+ </person>
+ </group>
+ <group>
<name>Danish</name>
<person>
<name>Steffen Nyeland</name>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list