Display the Japanese category summary on each category submenu.

Submitted by:	kuriyama@opt.phys.waseda.ac.jp (Jun Kuriyama)
This commit is contained in:
Masafumi Max NAKANE 1997-12-26 17:05:23 +00:00
parent 122955f855
commit bfb93c07a2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2300
2 changed files with 10 additions and 4 deletions

View file

@ -4,7 +4,7 @@
#
# by John Fieber <jfieber@freebsd.org>
# Mon May 13 10:31:58 EST 1996
# $Id: portindex,v 1.2 1997-12-07 15:44:08 max Exp $
# $Id: portindex,v 1.3 1997-12-26 17:05:23 max Exp $
# The FreeBSD Japanese Documentation Project
# Original revision: 1.11
@ -155,7 +155,10 @@ sub main {
# Create the category file
open(OUTF, ">$key.sgml");
&header(OUTF, "FreeBSD Ports: \u$key");
$subkey = "";
$subkey = " / $catsLANG{$key}"
if ($catsLANG{$key} ne '');
&header(OUTF, "FreeBSD Ports: \u$key$subkey");
print OUTF "<DL>\n";
$d = join("\n", sort(split(/\n/, $data{$key})));
$d =~ s/##([^#]*)##/$catkey{$1}/g;