aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/bin
diff options
context:
space:
mode:
authorAnthony Fok <foka>2002-11-24 17:40:20 +0000
committerAnthony Fok <foka>2002-11-24 17:40:20 +0000
commit37fd9fca2d60316c944c73f2808f451b68781b84 (patch)
tree2682e2dc6bd84a34558c30318232a422f39cebe8 /chinese/bin
parentd22cbeb969c782d571c7490b0f670cdddc42e102 (diff)
distrib/netinst.wml: New translation by Franklin. Many thanks!
Updated tocn.pl and totw.pl to cover more terms. (foka) CVS version numbers chinese/bin/tocn.pl: 1.34 -> 1.35 chinese/bin/totw.pl: 1.34 -> 1.35 chinese/distrib/netinst.wml: INITIAL -> 1.1
Diffstat (limited to 'chinese/bin')
-rwxr-xr-xchinese/bin/tocn.pl5
-rwxr-xr-xchinese/bin/totw.pl7
2 files changed, 10 insertions, 2 deletions
diff --git a/chinese/bin/tocn.pl b/chinese/bin/tocn.pl
index 64bb8554c52..a4284f889d8 100755
--- a/chinese/bin/tocn.pl
+++ b/chinese/bin/tocn.pl
@@ -24,6 +24,8 @@ s|^<A href=".*">(&#20013;&#25991;&nbsp;.+CN.+)</A>(?=&nbsp;)|<B>$1</B>|;
s/软(?:体|件)套件/软件包/g;
s/原始码套件/源码包/g;
s/(装置|设备|视窗|窗口)管理员/$1管理器/g;
+s/笔记型(?=电脑|计算机)/笔记本/g;
+s/拨接连线/拨号连接/g;
1 while (s/^((?:[\x00-\x7F]|[\x80-\xFF].)*)光碟机/$1光驱/);
s/命令稿/脚本/g;
s/(?:启|起)动磁(?:碟|片)/启动盘/g;
@@ -55,8 +57,9 @@ 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].)*(软|硬|光|磁|Zip ))碟/$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带宽/);
diff --git a/chinese/bin/totw.pl b/chinese/bin/totw.pl
index 410cab01cdd..4013f3ea0aa 100755
--- a/chinese/bin/totw.pl
+++ b/chinese/bin/totw.pl
@@ -13,6 +13,9 @@ if ($sublang eq 'hk') {
s/(\.zh)(?=\.(?:gif|jpg|png))/$1-$sublang/g;
s|^<A href=".*">(&#20013;&#25991;&nbsp;.+$SUBLANG.+)</A>(?=&nbsp;)|<B>$1</B>|;
+s/挤腹硈钡/挤钡硈絬/g;
+s/掸癘セ(璸衡诀|筿福)/掸癘筿福/g;
+
s/怠╰参/跌怠╰参/g;
s/狝叭竟/狝竟/g;
s/硁ン(?!杆|珹)/甅ン/g;
@@ -42,7 +45,9 @@ 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び/);
+if ($sublang eq 'tw') {
+ 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匡虫/);

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