mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
393a88a372
Main goal was making the dlg display well in 640x480 resolution. Since the dialogs in that propsheet had very different sizes between the languages that was a lot of work. Now all of the propsheet-dlgs are harmonized in size to 252x220. Also I found a way to align some controls in a way that they are more immune to differing languages lengths for specific strings, so we can currently to 100% use the same controls dimensions and positions also, which is a very nice trait. I double-checked all dialogs visually in ResHacker for all languages (except no-NO.rc for technical reasons), and they do look all very well like that. The slider for the alarms dlg I enlarged in x, it has 100 distinct positions, so a larger slider helps the user not having to position the mouse extremely accurate. I also fixed various typos, and several places where text cutoff occurred for many languages, too many to name them all. Some dummy-strings "unknown" I changed to "?" instead. That still allows to see its position in a previewer, but does not lure all the translators into translating that nonsense, and therefore keeps the rcs better in sync. It also shrinks binary size.
179 lines
9.1 KiB
Text
179 lines
9.1 KiB
Text
/*
|
||
* PROJECT: ReactOS Power Configuration Applet
|
||
* 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 <eason066@gmail.com>
|
||
* REFERENCES: Chinese (Traditional) resource file
|
||
*/
|
||
|
||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_HONGKONG
|
||
|
||
IDD_POWERSCHEMESPAGE_ACDC DIALOGEX 0, 0, 252, 220
|
||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||
CAPTION "電源使用方案"
|
||
FONT 9, "新細明體"
|
||
BEGIN
|
||
ICON IDI_ACDC, IDI_ACDC, 7, 7, 0, 0
|
||
LTEXT "請選擇對於您使用電腦方式最適合的電源使用方案。請注意,更改下面的設置將修改選定的方案。", -1, 37, 6, 208, 36
|
||
GROUPBOX "電源使用方案(&O)", -1, 6, 43, 240, 50
|
||
COMBOBOX IDC_ENERGYLIST, 14, 54, 224, 92, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
|
||
PUSHBUTTON "另存新檔(&S)...", IDC_SAVEAS_BTN, 85, 72, 80, 14, WS_DISABLED
|
||
PUSHBUTTON "刪除(&D)", IDC_DELETE_BTN, 173, 72, 64, 14, WS_DISABLED
|
||
GROUPBOX "", IDC_GRPDETAIL, 6, 95, 240, 119
|
||
LTEXT "當電腦:", IDC_SAT, 12, 110, 60, 15
|
||
LTEXT "接通電源", IDC_SAC, 100, 110, 50, 15
|
||
ICON IDI_AC, IDC_IAC, 141, 122, 0, 0
|
||
LTEXT "使用電池", IDC_SDC, 173, 110, 50, 15
|
||
ICON IDI_DC, IDC_IDC, 218, 122, 0, 0
|
||
LTEXT "關閉顯示器(&M):", IDC_MONITOR, 13, 148, 85, 10
|
||
COMBOBOX IDC_MONITORACLIST, 100, 145, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
COMBOBOX IDC_MONITORDCLIST, 173, 145, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
LTEXT "關閉硬碟(&I):", IDC_DISK, 13, 163, 85, 10
|
||
COMBOBOX IDC_DISKACLIST, 100, 160, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
COMBOBOX IDC_DISKDCLIST, 173, 160, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
LTEXT "系統待機(&T):", IDC_STANDBY, 13, 178, 85, 10
|
||
COMBOBOX IDC_STANDBYACLIST, 100, 175, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
COMBOBOX IDC_STANDBYDCLIST, 173, 175, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
LTEXT "系統休眠(&H):", IDC_HIBERNATE, 13, 193, 85, 10
|
||
COMBOBOX IDC_HIBERNATEACLIST, 100, 190, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
COMBOBOX IDC_HIBERNATEDCLIST, 173, 190, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
END
|
||
|
||
IDD_POWERSCHEMESPAGE_AC DIALOGEX 0, 0, 252, 220
|
||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||
CAPTION "電源使用方案"
|
||
FONT 9, "新細明體"
|
||
BEGIN
|
||
ICON IDI_ACDC, IDI_ACDC, 7, 7, 0, 0
|
||
LTEXT "請選擇對於您使用電腦方式最適合的電源使用方案。請注意,更改下面的設置將修改選定的方案。", -1, 37, 6, 208, 36
|
||
GROUPBOX "電源使用方案(&O)", -1, 6, 43, 240, 50
|
||
COMBOBOX IDC_ENERGYLIST, 14, 54, 224, 92, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL
|
||
PUSHBUTTON "另存新檔(&S)...", IDC_SAVEAS_BTN, 85, 72, 80, 14, WS_DISABLED
|
||
PUSHBUTTON "刪除(&D)", IDC_DELETE_BTN, 173, 72, 64, 14, WS_DISABLED
|
||
GROUPBOX "", IDC_GRPDETAIL, 6, 95, 240, 119
|
||
LTEXT "關閉顯示器(&M):", IDC_MONITOR, 13, 148, 85, 10
|
||
COMBOBOX IDC_MONITORACLIST, 100, 145, 140, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
LTEXT "關閉硬碟(&I):", IDC_DISK, 13, 163, 85, 10
|
||
COMBOBOX IDC_DISKACLIST, 100, 160, 140, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
LTEXT "系統待機(&T):", IDC_STANDBY, 13, 178, 85, 10
|
||
COMBOBOX IDC_STANDBYACLIST, 100, 175, 140, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
LTEXT "系統休眠(&H):", IDC_HIBERNATE, 13, 193, 85, 10
|
||
COMBOBOX IDC_HIBERNATEACLIST, 100, 190, 140, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
END
|
||
|
||
IDD_PROPPAGEALARMS DIALOGEX 0, 0, 252, 220
|
||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "警報"
|
||
FONT 9, "新細明體"
|
||
BEGIN
|
||
GROUPBOX "電池不足警報", -1, 6, 7, 239, 99
|
||
AUTOCHECKBOX "當電量降低到以下水平時,發出電池不足警報(&L):", IDC_ALARM1, 15, 17, 225, 10, WS_TABSTOP
|
||
LTEXT "xxx%", IDC_ALARMVALUE1, 28, 32, 20, 10
|
||
CONTROL "", IDC_ALARMBAR1, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_TABSTOP, 47, 32, 194, 15
|
||
PUSHBUTTON "警報操作(&M)...", -1, 148, 50, 88, 14, WS_DISABLED //FIXME: accelerator collision &m
|
||
LTEXT "通知:", -1, 28, 67, 89, 10
|
||
LTEXT "?", IDC_ALARMMSG1, 118, 67, 125, 10
|
||
LTEXT "操作:", -1, 28, 79, 89, 10
|
||
LTEXT "?", IDC_ALARMAKTION1, 118, 79, 125, 10
|
||
LTEXT "執行程序:", -1, 28, 91, 89, 10
|
||
LTEXT "?", IDC_ALARMPROG1, 118, 91, 125, 10
|
||
GROUPBOX "電池嚴重短缺警報", -1, 6, 115, 239, 99
|
||
AUTOCHECKBOX "當電力降低到以下水平時,發出電池嚴重不足警報(&C):", IDC_ALARM2, 15, 125, 225, 10, WS_TABSTOP
|
||
LTEXT "xxx%", IDC_ALARMVALUE2, 28, 140, 20, 10
|
||
CONTROL "", IDC_ALARMBAR2, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_TABSTOP, 47, 140, 194, 15
|
||
PUSHBUTTON "警報操作(&M)...", -1, 148, 158, 88, 14, WS_DISABLED //FIXME: accelerator collision &m
|
||
LTEXT "通知:", -1, 28, 175, 89, 10
|
||
LTEXT "?", IDC_ALARMMSG2, 118, 175, 125, 10
|
||
LTEXT "操作:", -1, 28, 187, 89, 10
|
||
LTEXT "?", IDC_ALARMAKTION2, 118, 187, 125, 10
|
||
LTEXT "執行程序:", -1, 28, 199, 89, 10
|
||
LTEXT "?", IDC_ALARMPROG2, 118, 199, 125, 10
|
||
END
|
||
|
||
IDD_PROPPAGEADVANCED DIALOGEX 0, 0, 252, 220
|
||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "進階"
|
||
FONT 9, "新細明體"
|
||
BEGIN
|
||
ICON IDI_ACDC, IDI_ACDC, 7, 7, 0, 0
|
||
LTEXT "請選擇要使用的節能設置。", -1, 37, 6, 208, 20
|
||
GROUPBOX "選項", -1, 6, 30, 240, 65
|
||
AUTOCHECKBOX "總是在任務欄上顯示圖標(&S)", IDC_SYSTRAYBATTERYMETER, 17, 43, 220, 10, WS_TABSTOP
|
||
AUTOCHECKBOX "在電腦從待機狀態恢復時,提示輸入密碼(&P)", IDC_PASSWORDLOGON, 17, 60, 220, 10, WS_TABSTOP
|
||
AUTOCHECKBOX "在使用電池時將顯示器變暗(&D)", IDC_VIDEODIMDISPLAY, 17, 78, 220, 10, WS_TABSTOP
|
||
GROUPBOX "電源按鈕", -1, 6, 101, 240, 110
|
||
LTEXT "在合上便攜式電腦時(&W):", IDC_SLIDCLOSE, 15, 115, 222, 10
|
||
COMBOBOX IDC_LIDCLOSE, 15, 127, 220, 90, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
||
LTEXT "在按下電腦電源按鈕時(&E):", IDC_SPOWERBUTTON, 15, 145, 222, 10
|
||
COMBOBOX IDC_POWERBUTTON, 15, 157, 220, 90, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
||
LTEXT "在按下電腦睡眠按鈕時(&N):", IDC_SSLEEPBUTTON, 15, 175, 222, 10
|
||
COMBOBOX IDC_SLEEPBUTTON, 15, 187, 220, 90, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
||
END
|
||
|
||
IDD_PROPPAGEHIBERNATE DIALOGEX 0, 0, 252, 220
|
||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "休眠"
|
||
FONT 9, "新細明體"
|
||
BEGIN
|
||
ICON IDI_HIBERNATE, IDI_HIBERNATE, 7, 7, 0, 0
|
||
LTEXT "在電腦休眠時,會將記憶體中所有資料儲存到硬碟內,然後關閉電腦。在退出休眠狀態時,電腦會恢復到原來的狀態。", -1, 37, 6, 208, 35
|
||
GROUPBOX "休眠", -1, 6, 41, 240, 32
|
||
AUTOCHECKBOX "啟用休眠(&H)", IDC_HIBERNATEFILE, 17, 55, 210, 10, WS_TABSTOP
|
||
GROUPBOX "用於休眠的磁碟空間", -1, 6, 80, 240, 76
|
||
LTEXT "空閒的磁碟空間:", -1, 15, 95, 150, 10
|
||
LTEXT "?", IDC_FREESPACE, 170, 95, 70, 10
|
||
LTEXT "休眠所需的磁碟空間:", -1, 15, 115, 150, 10
|
||
LTEXT "?", IDC_SPACEFORHIBERNATEFILE, 170, 115, 70, 10
|
||
LTEXT "在電腦進入休眠之前,您必須釋放一些磁碟空間。", IDC_TOLESSFREESPACE, 15, 135, 224, 20
|
||
END
|
||
|
||
IDD_SAVEPOWERSCHEME DIALOGEX 0, 0, 190, 62
|
||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "儲存方案"
|
||
FONT 9, "新細明體"
|
||
BEGIN
|
||
LTEXT "儲存這個電源使用方案為:", -1, 7, 7, 180, 8
|
||
EDITTEXT IDC_SCHEMENAME, 7, 18, 176, 14, ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
|
||
DEFPUSHBUTTON "確定", IDOK, 79, 40, 50, 14
|
||
PUSHBUTTON "取消", IDCANCEL, 133, 40, 50, 14
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
IDS_CPLNAME_1 "電源選項"
|
||
IDS_CPLDESCRIPTION_1 "配置電腦的節能設定。"
|
||
IDS_PERCENT "%i%%"
|
||
IDS_SOUND "聲音"
|
||
IDS_TEXT "文字檔案"
|
||
IDS_CONFIG1 "為 %s 設定電源使用方案"
|
||
IDS_CONFIG2 "%s 的進階設定"
|
||
IDS_NOACTION "無操作"
|
||
IDS_PowerActionNone1 "無動作"
|
||
IDS_PowerActionUnknown "不明"
|
||
IDS_PowerActionSleep "待機"
|
||
IDS_PowerActionHibernate "休眠"
|
||
IDS_PowerActionShutdown "關機"
|
||
IDS_PowerActionRestart "重新啟動"
|
||
IDS_PowerActionShutdownOff "關機並切斷電源"
|
||
IDS_PowerActionWarmEject "問我要做甚麼"
|
||
IDS_PowerActionNone2 "無"
|
||
IDS_TIMEOUT1 "1 分鐘之後"
|
||
IDS_TIMEOUT2 "2 分鐘之後"
|
||
IDS_TIMEOUT3 "3 分鐘之後"
|
||
IDS_TIMEOUT4 "5 分鐘之後"
|
||
IDS_TIMEOUT5 "10 分鐘之後"
|
||
IDS_TIMEOUT6 "15 分鐘之後"
|
||
IDS_TIMEOUT7 "20 分鐘之後"
|
||
IDS_TIMEOUT8 "25 分鐘之後"
|
||
IDS_TIMEOUT9 "30 分鐘之後"
|
||
IDS_TIMEOUT10 "45 分鐘之後"
|
||
IDS_TIMEOUT11 "1 小時之後"
|
||
IDS_TIMEOUT12 "2 小時之後"
|
||
IDS_TIMEOUT13 "3 小時之後"
|
||
IDS_TIMEOUT14 "4 小時之後"
|
||
IDS_TIMEOUT15 "5 小時之後"
|
||
IDS_TIMEOUT16 "從不"
|
||
IDS_DEL_SCHEME "您確定要刪除電源使用方案「%s」嗎?"
|
||
IDS_DEL_SCHEME_TITLE "刪除方案"
|
||
IDS_DEL_SCHEME_ERROR "無法刪除電源使用方案"
|
||
END
|