mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
![Joachim Henze](/assets/img/avatar_default.png)
It is good practice to not make the expanded combobox larger than the dialog itself.
CBS_NOINTEGRALHEIGHT will allow to set a fixed amount of pixels for the v6 combobox,
and therefore allows us to hide the problem for this specific dialog.
The problem was unhidden by 0.4.12-dev-882-g e3e173ffaa
Even after this patch I think Wines comctl32 can be improved for comboboxes with very
many elements that do not use this small trick yet. I will create a follow-up-ticket.
68 lines
3.2 KiB
Plaintext
68 lines
3.2 KiB
Plaintext
/*
|
||
* PROJECT: ReactOS Timedate Control Panel
|
||
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
|
||
* PURPOSE: Chinese (Hong Kong) resource file
|
||
* TRANSLATORS: Copyright 2020-2022 Chan Chilung <eason066@gmail.com>
|
||
* REFERENCES: Chinese (Traditional) resource file
|
||
*/
|
||
|
||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_HONGKONG
|
||
|
||
IDD_DATETIMEPAGE DIALOGEX 0, 0, 252, 146
|
||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||
CAPTION "時間和日期"
|
||
FONT 9, "新細明體", 0, 0, 0x0
|
||
BEGIN
|
||
GROUPBOX "日期(&D)", -1, 4, 2, 122, 125
|
||
COMBOBOX IDC_MONTHCB, 11, 17, 50, 120, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||
EDITTEXT IDC_YEARTEXT, 65, 17, 55, 12, ES_LEFT | WS_GROUP | ES_READONLY
|
||
CONTROL "", IDC_YEAR, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_NOTHOUSANDS |
|
||
UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_BORDER | WS_GROUP, 120, 17, 50, 12
|
||
CONTROL "", IDC_MONTHCALENDAR, "MonthCalWnd", WS_CHILD | WS_VISIBLE | WS_TABSTOP, 11, 37, 108, 80, WS_EX_CLIENTEDGE
|
||
GROUPBOX "時間(&T)", -1, 132, 2, 113, 125
|
||
CONTROL "", IDC_TIMEPICKER, "SysDateTimePick32", DTS_TIMEFORMAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 144, 105, 90, 12
|
||
LTEXT "", IDC_TIMEZONE, 6, 132, 242, 11
|
||
CONTROL "", IDC_CLOCKWND, "ClockWndClass", WS_CHILD | WS_VISIBLE, 138, 12, 102, 89
|
||
END
|
||
|
||
IDD_TIMEZONEPAGE DIALOGEX 0, 0, 252, 146
|
||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||
CAPTION "時區"
|
||
FONT 9, "新細明體", 0, 0, 0x0
|
||
BEGIN
|
||
COMBOBOX IDC_TIMEZONELIST, 5, 4, 241, 136, CBS_DROPDOWNLIST | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
|
||
CONTROL "", IDC_WORLD_BACKGROUND, "Static", SS_OWNERDRAW, 5, 20, 240, 110, WS_EX_STATICEDGE
|
||
AUTOCHECKBOX "根據夏令時間自動調整時間(&U)",
|
||
IDC_AUTODAYLIGHT, 6, 132, 242, 11, WS_VISIBLE | WS_GROUP | WS_TABSTOP
|
||
END
|
||
|
||
IDD_INETTIMEPAGE DIALOGEX 0, 0, 252, 146
|
||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||
CAPTION "互聯網時間"
|
||
FONT 9, "新細明體", 0, 0, 0x0
|
||
BEGIN
|
||
COMBOBOX IDC_SERVERLIST, 65, 22, 117, 136, CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
|
||
AUTOCHECKBOX "自動與互聯網時間伺服器同步(&S)",
|
||
IDC_AUTOSYNC, 11, 7, 241, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
||
LTEXT "伺服器:", IDC_SERVERTEXT, 34, 22, 28, 13
|
||
PUSHBUTTON "立即更新(&U)", IDC_UPDATEBUTTON, 187, 22, 49, 14
|
||
LTEXT "", IDC_SUCSYNC, 12, 54, 214, 23
|
||
LTEXT "", IDC_NEXTSYNC, 12, 96, 137, 12
|
||
LTEXT "同步只有在您的電腦與互聯網連線時才能進行。", -1, 12, 114, 225, 25
|
||
END
|
||
|
||
STRINGTABLE
|
||
BEGIN
|
||
IDS_CPLNAME "日期和時間"
|
||
IDS_CPLDESCRIPTION "請為您的電腦設定日期、時間和時區資訊"
|
||
IDS_TIMEZONETEXT "目前時區:%s"
|
||
IDS_TIMEZONEINVALID "無效"
|
||
IDS_TIMEZONEUNKNOWN "不明"
|
||
IDS_INETTIMESUCSYNC "已經與 %s 在 %s %s 成功同步時間。"
|
||
IDS_INETTIMENEXTSYNC "下次同步:%s 在 %s"
|
||
IDS_INETTIMESYNCING "請稍候,ReactOS 正在同步 %s"
|
||
IDS_INETTIMEERROR "ReactOS 在與 %s 同步時發生錯誤。"
|
||
IDS_INETTIMESUCFILL "請輸入 NTP 伺服器名稱以便同步時間"
|
||
IDS_INETTIMEWELCOME "請從清單中選擇一個 NTP 伺服器,或輸入 NTP 伺服器名稱以同步電腦時間"
|
||
END
|