aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/bin
diff options
context:
space:
mode:
authorAnthony Fok <foka>2002-10-21 19:57:39 +0000
committerAnthony Fok <foka>2002-10-21 19:57:39 +0000
commitc841d3aa352961874c228348b82e6ff17fddd8d8 (patch)
treee916544730b4bd0e2ff7e06376b67194b41a04ce /chinese/bin
parent480fbf05e0fe68c74c03ea4b59d6d0fd8e4459ee (diff)
Revised tocn.pl and totw.pl
CVS version numbers chinese/bin/tocn.pl: 1.25 -> 1.26 chinese/bin/totw.pl: 1.28 -> 1.29
Diffstat (limited to 'chinese/bin')
-rwxr-xr-xchinese/bin/tocn.pl3
-rwxr-xr-xchinese/bin/totw.pl5
2 files changed, 5 insertions, 3 deletions
diff --git a/chinese/bin/tocn.pl b/chinese/bin/tocn.pl
index 36017d5144b..1e97a04166f 100755
--- a/chinese/bin/tocn.pl
+++ b/chinese/bin/tocn.pl
@@ -49,6 +49,7 @@ s/映射站(台)?/镜像/g;
1 while (s/^((?:[\x00-\x7F]|[\x80-\xFF].)*)以太(?=网)/$1乙太/);
1 while (s/^((?:[\x00-\x7F]|[\x80-\xFF].)*)闸道/$1网关/);
1 while (s/^((?:[\x00-\x7F]|[\x80-\xFF].)*)站台/$1站点/);
+1 while (s/^((?:[\x00-\x7F]|[\x80-\xFF].)*)甚么/$1什么/);
1 while (s/^((?:[\x00-\x7F]|[\x80-\xFF].)*)资讯/$1信息/);
# 1 while (s/^((?:[\x00-\x7F]|[\x80-\xFF].)*)资讯/$1信息/);
@@ -68,7 +69,7 @@ s/映射站(台)?/镜像/g;
1 while (s/^((?:[\x00-\x7F]|[\x80-\xFF].)*)程式设计员/$1程序师/);
1 while (s/^((?:[\x00-\x7F]|[\x80-\xFF].)*)(?<!方)程式/$1程序/);
-s/通信论坛/邮件列表/g;
+s/(通信|邮递)论坛/邮件列表/g;
s/发行情报/发行信息/g;
s/作业系统/操作系统/g;
s/视窗系统/窗口系统/g;
diff --git a/chinese/bin/totw.pl b/chinese/bin/totw.pl
index 6702d4bde53..96d848d3b64 100755
--- a/chinese/bin/totw.pl
+++ b/chinese/bin/totw.pl
@@ -49,7 +49,7 @@ s/干ゅン/干郎/g;
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)公夹/$1菲公/);
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)翴/$1/);
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)/$1ざ/);
-1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)竲セ/$1絑セ/);
+1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)竲セ/$1㏑絑/);
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)辊/$1棵辊/);
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)ゅ郎(?!)/$1ゅン/);
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)硄筁/$1硓筁/);
@@ -90,7 +90,7 @@ if ($sublang eq 'hk') {
if ($sublang eq 'tw') {
s/巨╰参/穨╰参/g;
s/窾蝴呼/瞴戈癟呼/g;
- s/が羛呼/呼悔呼隔/g;
+ s/(疭呼|が羛呼)/呼悔呼隔/g;
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)呼蹈/$1呼隔/);
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)ノめ/$1ㄏノ/);
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)羛(?=么|蹈)/$1硈/);
@@ -108,3 +108,4 @@ s/计沮畐/戈畐/g;
# ネ┤Τ筿福弄ぃ
1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)/$1柑/);
+

© 2014-2024 Faster IT GmbH | imprint | privacy policy