I merged the traditional Chinese translation into the simplified Chinese

translation file (only those not translated in simplified Chinese).

This is because
1) most simplified Chinese readers can read traditional
Chinese. If some phrase doesn't have simplified Chinese translation,
egroupware better fall back to traditional Chinese then English.
2) Translation can be easier (just pick up the unfamiliar traditional
translation and change to simplified form)

The change is made by using
> find . -type d -name "setup" -exec /tmp/merge_tradition.sh {} \;

where merge_tradition.sh is:

#!/bin/sh
cd $1
if [ -f phpgw_zh.lang ] && [ -f phpgw_zt.lang ]; then
mv phpgw_zh.lang phpgw_zh.lang.old
join -a 1 -t "	" phpgw_zt.lang phpgw_zh.lang.old | \
        awk -F "	" \
       '{ OFS = FS; if (NF == 7) print $1, $5, $6, $7; else print $0 ;}' \
                > phpgw_zh.lang
fi

Kiang if you like the idea you can merge my translation to your lang
file too. And it's even better if the language engine can be changed in
the way that, as a phrase has no translation for current language,
choose the nearest language before falling back to English. Say, when no
translation in zh, use zt before trying English.

Could it be better that this apply to pt too? (pt-br and pt)
This commit is contained in:
zhangweiwu
2004-06-09 17:01:42 +00:00
parent 471b312a67
commit cf19aae187
7 changed files with 110 additions and 65 deletions

View File

@@ -11,10 +11,12 @@ copied %1 to %2 filemanager zh %1已复制到%2
copy to filemanager zh 复制到
copy to: filemanager zh 复制到
could not copy %1 to %2 filemanager zh 无法将%1复制到%2
could not copy file because no destination directory is given filemanager zt 無法複製檔案,因為沒有目標資料夾
could not create %1 filemanager zh 无法创建%1
could not create directory %1 filemanager zh 无法创建目录%1
could not delete %1 filemanager zh 无法删除%1
could not move %1 to %2 filemanager zh 无法将%1移动到%2
could not move file because no destination directory is given filemanager zt 無法移動檔案,因為沒有目標資料夾
could not rename %1 to %2 filemanager zh 无法将%1重命名为%2
could not save %1 filemanager zh 无法保存%1
create file filemanager zh 创建文件
@@ -48,7 +50,7 @@ file names cannot contain \ or / filemanager zh 文件名不能包含\或/
filemanager common zh 网上文件柜
filemanager preferences filemanager zh 首选项
files filemanager zh 文件
files is this directory filemanager zh 文件总数
files in this directory filemanager zt 資料夾中的檔案
folder filemanager zh 文件夹
folder up filemanager zh 向上
go home filemanager zh 返回首页
@@ -69,11 +71,12 @@ moved %1 to %2 filemanager zh %1已移动到%2
no files in this directory. filemanager zh 该目录为空.
no version history for this file/directory filemanager zh 该文件/文件夹无版本历史
operation filemanager zh 操作
other settings filemanager zt 其他設定
owner filemanager zh 所有者
please select a file to delete. filemanager zh 请选择待删除文件.
preferences old preferences zh 首选项
preview %1 filemanager zh 预览%1
preview of %1 filemanager zh %1的预览
quick jump to filemanager zt 快速切換
reload filemanager zh 重新载入
rename filemanager zh 重命名
renamed %1 to %2 filemanager zh %1已重命名为%2
@@ -108,3 +111,4 @@ view documents in new window filemanager zh 打开新窗口以查看文档
view documents on server (if available) filemanager zh 可能的话, 在服务器上查看文档
who filemanager zh 谁
you do not have access to %1 filemanager zh 无权访问%1
your home dir did not exist, egroupware created a new one. filemanager zt 您的家目錄不存在eGroupWare建立一個新的