Add Japanese description of each ports category.

Submitted by:	kuriyama@opt.phys.waseda.ac.jp (Jun Kuriyama),
		Motoyuki Konno <motoyuki@snipe.rim.or.jp>
This commit is contained in:
Masafumi Max NAKANE 1997-12-07 15:44:08 +00:00
parent 6ee2aa008c
commit e7eeb9a03d
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2240
6 changed files with 118 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1.1.1 1997-11-23 22:23:06 max Exp $
# $Id: Makefile,v 1.2 1997-12-07 15:44:05 max Exp $
# The FreeBSD Japanese Documentation Project
# Original revision: 1.4
@ -17,7 +17,7 @@ Makefile.gen: index.sgml .NOTMAIN
echo DOCS= *.sgml > Makefile.gen
${MAKE} ${MAKEFLAGS} ${.IMPSRC}
index.sgml: ${INDEX} portindex ports.inc .NOTMAIN
index.sgml: ${INDEX} portindex ports.inc categories.ja_JP.EUC .NOTMAIN
rm -f *.sgml
${PORTINDEX} ${INDEX}

View file

@ -0,0 +1,42 @@
archivers|アーカイビングのツール
astro|天文学関連の ports コレクション
audio|サウンドサポート
benchmarks|ベンチマークプログラム
cad|CAD ツール
chinese|中国語サポート
comms|通信ソフトウェア
converters|各種変換ツールやフィルタ
databases|データベース
devel|開発ユーティリティ
editors|エディタ
emulators|他の OS のエミュレータ
games|ゲーム
german|ドイツ語サポート
graphics|いろいろなグラフィックユーティリティ
japanese|日本語サポート
kde|KDE 本体および周辺パッケージ
korean|韓国語サポート
lang|プログラミング言語
mail|メールソフトウェア
math|数値計算ソフトウェア
mbone|MBone アプリケーション
misc|いろいろなユーティリティ
net|ネットワーキングソフトウェア
news|USENET ニュースのソフトウェア
perl5|Perl5 本体とモジュール
plan9|Plan9 からのいろいろなプログラム
print|印刷ソフトウェア
russian|ロシア語サポート
security|セキュリティ関連のユーティリティ
shells|いろいろな UNIX シェル
sysutils|システムユーティリティ
tcl75|tcl7.5 本体
tcl76|tcl7.6 本体
tcl80|tcl8.0 本体とスクリプト
textproc|テキスト処理ツール
tk41|tk4.1 本体とスクリプト
tk42|tk4.2 本体とスクリプト
tk80|tk8.0 本体とスクリプト
vietnamese|ベトナム語サポート
www|WWW 関連のソフトウェア
x11|X11 のソフトウェア

View file

@ -4,7 +4,7 @@
#
# by John Fieber <jfieber@freebsd.org>
# Mon May 13 10:31:58 EST 1996
# $Id: portindex,v 1.1.1.1 1997-11-23 22:23:06 max Exp $
# $Id: portindex,v 1.2 1997-12-07 15:44:08 max Exp $
# The FreeBSD Japanese Documentation Project
# Original revision: 1.11
@ -52,6 +52,15 @@ sub main {
$sep = "<B>:</B>";
# 'category' translation database
if (open(CATF, "categories.ja_JP.EUC")) {
while (<CATF>) {
($a, $b) = split('\|');
chop($b);
$catsLANG{$a} = $b;
}
}
while (<>) {
chop;
s/&/&amp;/g;
@ -136,9 +145,13 @@ sub main {
@foos = sort(keys %stats);
foreach $key (@foos) {
# For translation
$subkey = "";
$subkey = " ($catsLANG{$key})"
if ($catsLANG{$key} ne '');
# For the master file...
print MOUTF
"<LI><A HREF=\"$key.html\">\u$key</A> <em>($stats{$key})</em></LI>";
"<LI><A HREF=\"$key.html\">\u$key$subkey</A> <em>($stats{$key})</em></LI>";
# Create the category file
open(OUTF, ">$key.sgml");

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.1.1.1 1997-11-23 22:23:06 max Exp $
# $Id: Makefile,v 1.2 1997-12-07 15:44:05 max Exp $
# The FreeBSD Japanese Documentation Project
# Original revision: 1.4
@ -17,7 +17,7 @@ Makefile.gen: index.sgml .NOTMAIN
echo DOCS= *.sgml > Makefile.gen
${MAKE} ${MAKEFLAGS} ${.IMPSRC}
index.sgml: ${INDEX} portindex ports.inc .NOTMAIN
index.sgml: ${INDEX} portindex ports.inc categories.ja_JP.EUC .NOTMAIN
rm -f *.sgml
${PORTINDEX} ${INDEX}

View file

@ -0,0 +1,42 @@
archivers|アーカイビングのツール
astro|天文学関連の ports コレクション
audio|サウンドサポート
benchmarks|ベンチマークプログラム
cad|CAD ツール
chinese|中国語サポート
comms|通信ソフトウェア
converters|各種変換ツールやフィルタ
databases|データベース
devel|開発ユーティリティ
editors|エディタ
emulators|他の OS のエミュレータ
games|ゲーム
german|ドイツ語サポート
graphics|いろいろなグラフィックユーティリティ
japanese|日本語サポート
kde|KDE 本体および周辺パッケージ
korean|韓国語サポート
lang|プログラミング言語
mail|メールソフトウェア
math|数値計算ソフトウェア
mbone|MBone アプリケーション
misc|いろいろなユーティリティ
net|ネットワーキングソフトウェア
news|USENET ニュースのソフトウェア
perl5|Perl5 本体とモジュール
plan9|Plan9 からのいろいろなプログラム
print|印刷ソフトウェア
russian|ロシア語サポート
security|セキュリティ関連のユーティリティ
shells|いろいろな UNIX シェル
sysutils|システムユーティリティ
tcl75|tcl7.5 本体
tcl76|tcl7.6 本体
tcl80|tcl8.0 本体とスクリプト
textproc|テキスト処理ツール
tk41|tk4.1 本体とスクリプト
tk42|tk4.2 本体とスクリプト
tk80|tk8.0 本体とスクリプト
vietnamese|ベトナム語サポート
www|WWW 関連のソフトウェア
x11|X11 のソフトウェア

View file

@ -4,7 +4,7 @@
#
# by John Fieber <jfieber@freebsd.org>
# Mon May 13 10:31:58 EST 1996
# $Id: portindex,v 1.1.1.1 1997-11-23 22:23:06 max Exp $
# $Id: portindex,v 1.2 1997-12-07 15:44:08 max Exp $
# The FreeBSD Japanese Documentation Project
# Original revision: 1.11
@ -52,6 +52,15 @@ sub main {
$sep = "<B>:</B>";
# 'category' translation database
if (open(CATF, "categories.ja_JP.EUC")) {
while (<CATF>) {
($a, $b) = split('\|');
chop($b);
$catsLANG{$a} = $b;
}
}
while (<>) {
chop;
s/&/&amp;/g;
@ -136,9 +145,13 @@ sub main {
@foos = sort(keys %stats);
foreach $key (@foos) {
# For translation
$subkey = "";
$subkey = " ($catsLANG{$key})"
if ($catsLANG{$key} ne '');
# For the master file...
print MOUTF
"<LI><A HREF=\"$key.html\">\u$key</A> <em>($stats{$key})</em></LI>";
"<LI><A HREF=\"$key.html\">\u$key$subkey</A> <em>($stats{$key})</em></LI>";
# Create the category file
open(OUTF, ">$key.sgml");