aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/w3mhelp.cgi.in
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-04-01 22:14:50 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-04-01 22:30:39 +0000
commitf5757e1a17a400f84bd6fedb0f8e2fea794ce1b5 (patch)
tree83bfa5209bf2e1710c591b9c31b284a29fc5350b /scripts/w3mhelp.cgi.in
parentUpdate manpage footers to w3m 0.5.3 (diff)
downloadw3m-f5757e1a17a400f84bd6fedb0f8e2fea794ce1b5.tar.gz
w3m-f5757e1a17a400f84bd6fedb0f8e2fea794ce1b5.zip
Support German translated help messages (translation is in progress)
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765682
Diffstat (limited to '')
-rw-r--r--scripts/w3mhelp.cgi.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/w3mhelp.cgi.in b/scripts/w3mhelp.cgi.in
index 157f23e..2c3f4d5 100644
--- a/scripts/w3mhelp.cgi.in
+++ b/scripts/w3mhelp.cgi.in
@@ -102,8 +102,7 @@ Content-Type: text/html; charset=$charset
*******
<A HREF="http://w3m.sourceforge.net/">w3m</A>
(WWW-wo-Miru) Version $version by
-<A HREF="mailto:aito\@fw.ipsj.or.jp">A.ITO</A> ********<BR>
- ***** Key assign table *****
+<A HREF="mailto:aito\@fw.ipsj.or.jp">A.ITO</A> ********
</CENTER>
HEADING
@@ -112,13 +111,13 @@ $q_version = $version;
$q_version =~ s/[^A-Za-z0-9_\$\.\-]/sprintf('%%%02X', ord($&))/ge;
$script = "<A HREF=\"$ENV{'SCRIPT_NAME'}?version=$q_version&amp;lang=";
-# doc:en_English doc-jp:ja_Japanese
+# doc:en_English doc-jp:ja_Japanese doc-de:de_German
for $otherlang (@docdirs) {
local(@d) = split(/[:_]/, $otherlang);
if ($d[1] ne $lang) {
$d[1] =~ s/[^A-Za-z0-9_\$\.\-]/sprintf('%%%02X', ord($&))/ge;
- print $script, $d[1], "\">$d[2] version</A>\n";
+ print $script, $d[1], "\">[$d[2]]</A>\n";
}
}