Skip to content

Commit

Permalink
[TRANSLATION] Add Hong Kong Chinese (zh-HK) translation - Part 1 (rea…
Browse files Browse the repository at this point in the history
…ctos#3941)

Converted from Cantonese to HK-Style Written Chinese.

Also assign zh-HK translations to the ReactOS Chinese
translation team in the CODEOWNERS file.

Reviewed-by: He Yang <[email protected]>
Reviewed-by: Stanislav Motylkov <[email protected]>
Reviewed-by: Hermès Bélusca-Maïto <[email protected]>
  • Loading branch information
eason329 authored Dec 29, 2021
1 parent 00ace73 commit 81db5e1
Show file tree
Hide file tree
Showing 149 changed files with 9,891 additions and 2 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -349,4 +349,5 @@ ru-RU.* @reactos/lang-russian
tr-TR.* @reactos/lang-turkish
uk-UA.* @reactos/lang-ukrainian
zh-CN.* @reactos/lang-chinese
zh-HK.* @reactos/lang-chinese
zh-TW.* @reactos/lang-chinese
3 changes: 3 additions & 0 deletions base/applications/cacls/cacls.rc
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif
#ifdef LANGUAGE_ZH_HK
#include "lang/zh-HK.rc"
#endif
#ifdef LANGUAGE_ZH_TW
#include "lang/zh-TW.rc"
#endif
80 changes: 80 additions & 0 deletions base/applications/cacls/lang/zh-HK.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/*
* PROJECT: ReactOS CACLS
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
* PURPOSE: Chinese (Hong Kong) resource file
* TRANSLATORS: Copyright 2021 Chan Chilung <[email protected]>
* REFERENCES: Chinese (Traditional) resource file
*/

LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_HONGKONG

STRINGTABLE
BEGIN
IDS_HELP "顯示或修改文件的存取控制串列\n\n\
CACLS filename [/T] [/E] [/C] [/G user:perm [...]] [/R user [...]]\n\
[/P user:perm [...]] [/D user [...]]\n\
filename 顯示 ACLs。\n\
/T 更改目前目錄及其所有子目錄\n\
指定文件的 ACL。\n\
/E 編輯 ACL 而不替換。\n\
/C 在出現拒絕存取錯誤時繼續。\n\
/G user:perm 賦予指定使用者存取權限。\n\
perm 可以是: R 讀取\n\
W 寫入\n\
C 更改 (寫入)\n\
F 完全控制\n\
/R user 撤銷指定使用者的存取權限 (與 /E 一齊使用時才會有效)。\n\
/P user:perm 更改指定使用者的存取權限。\n\
perm 可以是: N 無\n\
R 讀取\n\
W 寫入\n\
C 更改 (寫入)\n\
F 完全控制\n\
/D user 拒絕指定使用者的存取。\n\
在命令中可以使用通配符指定多個檔案。\n\
您亦可以在命令中指定多個使用者。\n\n\
縮寫:\n\
CI - 容器繼承。\n\
ACE會由目錄繼承。\n\
OI - 對象繼承。\n\
ACE 會由文件繼承。\n\
IO - 只繼承。\n\
ACE 不適用於目前檔案/目錄。\n"
IDS_ABBR_CI "(CI)"
IDS_ABBR_OI "(OI)"
IDS_ABBR_IO "(IO)"
IDS_ABBR_FULL "F"
IDS_ABBR_READ "R"
IDS_ABBR_WRITE "W"
IDS_ABBR_CHANGE "C"
IDS_ABBR_NONE "N"
IDS_ALLOW ""
IDS_DENY "(DENY)"
IDS_SPECIAL_ACCESS "(特殊存取:)"
IDS_GENERIC_READ "GENERIC_READ"
IDS_GENERIC_WRITE "GENERIC_WRITE"
IDS_GENERIC_EXECUTE "GENERIC_EXECUTE"
IDS_GENERIC_ALL "GENERIC_ALL"
IDS_FILE_GENERIC_EXECUTE "FILE_GENERIC_EXECUTE"
IDS_FILE_GENERIC_READ "FILE_GENERIC_READ"
IDS_FILE_GENERIC_WRITE "FILE_GENERIC_WRITE"
IDS_FILE_READ_DATA "FILE_READ_DATA"
IDS_FILE_WRITE_DATA "FILE_WRITE_DATA"
IDS_FILE_APPEND_DATA "FILE_APPEND_DATA"
IDS_FILE_READ_EA "FILE_READ_EA"
IDS_FILE_WRITE_EA "FILE_WRITE_EA"
IDS_FILE_EXECUTE "FILE_EXECUTE"
IDS_FILE_DELETE_CHILD "FILE_DELETE_CHILD"
IDS_FILE_READ_ATTRIBUTES "FILE_READ_ATTRIBUTES"
IDS_FILE_WRITE_ATTRIBUTES "FILE_WRITE_ATTRIBUTES"
IDS_MAXIMUM_ALLOWED "MAXIMUM_ALLOWED"
IDS_ACCESS_SYSTEM_SECURITY "ACCESS_SYSTEM_SECURITY"
IDS_SPECIFIC_RIGHTS_ALL "SPECIFIC_RIGHTS_ALL"
IDS_STANDARD_RIGHTS_REQUIRED "STANDARD_RIGHTS_REQUIRED"
IDS_SYNCHRONIZE "SYNCHRONIZE"
IDS_WRITE_OWNER "WRITE_OWNER"
IDS_WRITE_DAC "WRITE_DAC"
IDS_READ_CONTROL "READ_CONTROL"
IDS_DELETE "DELETE"
IDS_STANDARD_RIGHTS_ALL "STANDARD_RIGHTS_ALL"
END
717 changes: 717 additions & 0 deletions base/applications/calc/lang/zh-HK.rc

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions base/applications/calc/resource.rc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ IDI_CALC ICON DISCARDABLE "res/calc.ico"
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif
#ifdef LANGUAGE_ZH_HK
#include "lang/zh-HK.rc"
#endif
#ifdef LANGUAGE_ZH_TW
#include "lang/zh-TW.rc"
#endif
3 changes: 3 additions & 0 deletions base/applications/charmap/charmap.rc
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ IDI_ICON ICON "res/charmap.ico"
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif
#ifdef LANGUAGE_ZH_HK
#include "lang/zh-HK.rc"
#endif
#ifdef LANGUAGE_ZH_TW
#include "lang/zh-TW.rc"
#endif
64 changes: 64 additions & 0 deletions base/applications/charmap/lang/zh-HK.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Chinese (Hong Kong) resource file
* TRANSLATORS: Copyright 2021 Chan Chilung <[email protected]>
* REFERENCES: Chinese (Traditional) resource file
*/

LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_HONGKONG

IDD_CHARMAP DIALOGEX 6, 6, 292, 224
FONT 9, "新細明體", 0, 0
STYLE DS_SHELLFONT | WS_CHILD | WS_VISIBLE
BEGIN
LTEXT "字型:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 36, 5, 210, 210, WS_CHILD | WS_VISIBLE |
WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
PUSHBUTTON "説明", IDC_CMHELP, 249, 5, 35, 13
CONTROL "", IDC_FONTMAP, "FontMapWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP |
WS_VSCROLL, 20, 22, 266, 156
LTEXT "待複製字元:", IDC_STATIC, 6, 188, 66, 9
CONTROL "", IDC_TEXTBOX, RICHEDIT_CLASS, ES_AUTOHSCROLL | WS_BORDER |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 74, 186, 114, 13
DEFPUSHBUTTON "選擇", IDC_SELECT, 194, 186, 44, 13
PUSHBUTTON "複製", IDC_COPY, 242, 186, 44, 13, WS_DISABLED
CONTROL "進階檢視", IDC_CHECK_ADVANCED, "Button", BS_AUTOCHECKBOX |
WS_TABSTOP, 8, 208, 95, 10
END

IDD_ADVANCED DIALOGEX 0, 0, 292, 64
STYLE DS_SHELLFONT | WS_CHILD
FONT 9, "新細明體"
BEGIN
LTEXT "字元集:", IDC_STATIC, 8, 8, 48, 8
COMBOBOX IDC_COMBO_CHARSET, 72, 4, 116, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "分組:", IDC_STATIC, 8, 28, 50, 8
COMBOBOX IDC_COMBO_GROUPBY, 72, 24, 116, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "搜尋", IDC_BUTTON_SEARCH, 200, 44, 50, 14
EDITTEXT IDC_EDIT_SEARCH, 72, 44, 116, 14, ES_AUTOHSCROLL
LTEXT "搜尋目標:", IDC_STATIC, 8, 48, 42, 8
LTEXT "到 Unicode:", IDC_STATIC, 200, 8, 30, 8
EDITTEXT IDC_EDIT_UNICODE, 236, 4, 28, 12, ES_AUTOHSCROLL
END

IDD_ABOUTBOX DIALOGEX 22, 16, 210, 182
CAPTION "關於字元對應表"
FONT 9, "新細明體", 0, 0
STYLE DS_SHELLFONT | WS_BORDER | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
LTEXT "字元對應表 v0.1\nCopyright (C) 2007 Ged Murphy ([email protected])", IDC_STATIC, 48, 7, 150, 36
PUSHBUTTON "關閉", IDOK, 75, 162, 44, 15
ICON IDI_ICON, IDC_STATIC, 10, 10, 7, 30
EDITTEXT IDC_LICENSE_EDIT, 8, 44, 194, 107, WS_VISIBLE | WS_VSCROLL |
WS_TABSTOP | ES_READONLY | ES_MULTILINE
END

STRINGTABLE
BEGIN
IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
IDS_ABOUT "關於(&A)..."
IDS_TITLE "字元對應表"
IDS_UNICODE "Unicode"
IDS_ALL "All"
END
3 changes: 3 additions & 0 deletions base/applications/charmap_new/charmap.rc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ IDI_ICON ICON "res/charmap.ico"
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif
#ifdef LANGUAGE_ZH_HK
#include "lang/zh-HK.rc"
#endif
#ifdef LANGUAGE_ZH_TW
#include "lang/zh-TW.rc"
#endif
30 changes: 30 additions & 0 deletions base/applications/charmap_new/lang/zh-HK.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* PROJECT: ReactOS Character Map
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Chinese (Hong Kong) resource file
* TRANSLATORS: Copyright 2021 Chan Chilung <[email protected]>
* REFERENCES: Chinese (Traditional) resource file
*/

LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_HONGKONG

IDD_CHARMAP DIALOGEX 6, 6, 290, 224
FONT 9, "新細明體", 0, 0
STYLE WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_SIZEBOX
CAPTION "ReactOS 字元對應表"
BEGIN
LTEXT "字體:", IDC_STATIC, 6, 7, 24, 9
COMBOBOX IDC_FONTCOMBO, 28, 5, 150, 210, WS_CHILD | WS_VISIBLE |
WS_VSCROLL | CBS_DROPDOWNLIST | CBS_SORT | CBS_HASSTRINGS
LTEXT "待複製字元:", IDC_STATIC, 6, 188, 66, 9
CONTROL "", IDC_TEXTBOX, RICHEDIT_CLASS, ES_AUTOHSCROLL | WS_BORDER |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 74, 186, 114, 13
DEFPUSHBUTTON "選擇", IDC_SELECT, 194, 186, 44, 13
PUSHBUTTON "複製", IDC_COPY, 242, 186, 44, 13, WS_DISABLED
END

STRINGTABLE
BEGIN
IDS_ABOUT "關於(&B)..."
IDS_TITLE "字元對應表"
END
3 changes: 3 additions & 0 deletions base/applications/clipbrd/clipbrd.rc
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ CLPFILE_ICON ICON "res/clpfile.ico"
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif
#ifdef LANGUAGE_ZH_HK
#include "lang/zh-HK.rc"
#endif
#ifdef LANGUAGE_ZH_TW
#include "lang/zh-TW.rc"
#endif
73 changes: 73 additions & 0 deletions base/applications/clipbrd/lang/zh-HK.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/*
* PROJECT: ReactOS Clipboard Viewer
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
* PURPOSE: Chinese (Hong Kong) resource file
* TRANSLATORS: Copyright 2021 Chan Chilung <[email protected]>
* REFERENCES: Chinese (Traditional) resource file
*/

LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_HONGKONG

ID_ACCEL ACCELERATORS
BEGIN
VK_DELETE, CMD_DELETE, VIRTKEY
END

MAIN_MENU MENU
BEGIN
POPUP "檔案(&F)"
BEGIN
MENUITEM "開啟(&O)...", CMD_OPEN
MENUITEM "另存新檔(&A)...", CMD_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "退出(&X)", CMD_EXIT
END
POPUP "編輯(&E)"
BEGIN
MENUITEM "刪除(&D)\tDel", CMD_DELETE
END
POPUP "顯示(&D)"
BEGIN
MENUITEM "自動(&A)", CMD_AUTOMATIC
END
POPUP "説明(&H)"
BEGIN
MENUITEM "説明主題(&H)", CMD_HELP
MENUITEM SEPARATOR
MENUITEM "關於(&A)", CMD_ABOUT
END
END

STRINGTABLE
BEGIN
STRING_CLIPBOARD "剪貼簿檢視器"
STRING_CLIPFILE "剪貼簿項目"
STRING_DELETE_MSG "要清除剪貼簿的內容嗎?"
STRING_DELETE_TITLE "清除剪貼簿"
STRING_FORMAT_NT "ReactOS 剪貼簿檔案 (*.clp)"
STRING_FORMAT_GEN "剪貼簿檔案 (*.clp)"
END

STRINGTABLE
BEGIN
STRING_CF_UNKNOWN "不明格式"
STRING_CF_TEXT "文字"
STRING_CF_BITMAP "點陣圖"
STRING_CF_OEMTEXT "OEM 文字"
STRING_CF_UNICODETEXT "Unicode 文字"
STRING_CF_DIB "DIB 點陣圖"
STRING_CF_LOCALE "本地日期"
STRING_CF_ENHMETAFILE "增強型圖元檔案"
STRING_CF_METAFILEPICT "圖元檔案"
STRING_CF_PALETTE "調色盤"
STRING_CF_DIBV5 "DIB 點陣圖 (第 5 版)"
STRING_CF_SYLK "符號連結格式"
STRING_CF_DIF "資料交換格式"
STRING_CF_HDROP "刪除資料"
END

STRINGTABLE
BEGIN
ERROR_UNSUPPORTED_FORMAT "剪貼簿內的資料含有不能顯示的格式。"
ERROR_INVALID_FILE_FORMAT "所選的檔案不是一個有效的剪貼簿檔案。"
END
3 changes: 3 additions & 0 deletions base/applications/drwtsn32/drwtsn32.rc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif
#ifdef LANGUAGE_ZH_HK
#include "lang/zh-HK.rc"
#endif
#ifdef LANGUAGE_ZH_TW
#include "lang/zh-TW.rc"
#endif
15 changes: 15 additions & 0 deletions base/applications/drwtsn32/lang/zh-HK.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* PROJECT: Dr. Watson crash reporter
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
* PURPOSE: Chinese (Hong Kong) resource file
* TRANSLATORS: Copyright 2020-2021 Chan Chilung <[email protected]>
* REFERENCES: Chinese (Traditional) resource file
*/

LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_HONGKONG

STRINGTABLE
BEGIN
IDS_APP_TITLE "ReactOS 死機報告"
IDS_USER_ALERT_MESSAGE "應用程式 %ls 發生錯誤並已強制結束。有關這次錯誤的資訊將儲存於︰\n\n%ls"
END
3 changes: 3 additions & 0 deletions base/applications/dxdiag/dxdiag.rc
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ IDI_APPICON ICON "res/dxdiag.ico"
#ifdef LANGUAGE_ZH_CN
#include "lang/zh-CN.rc"
#endif
#ifdef LANGUAGE_ZH_HK
#include "lang/zh-HK.rc"
#endif
#ifdef LANGUAGE_ZH_TW
#include "lang/zh-TW.rc"
#endif
Loading

0 comments on commit 81db5e1

Please sign in to comment.