/* Simplified Chinese translation by Henry Tang Ih 2015 (henrytang2@hotmail.com) */
/* Improved by Luke Luo 2018 (njlyf2011@hotmail.com) */

LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED

/* Menu */
IDC_FDEBUG MENU
BEGIN
    POPUP "文件(&F)"
    BEGIN
        MENUITEM "连接(&C)", IDM_FILE_CONNECT
        MENUITEM "断开连接(&D)", IDM_FILE_DISCONNECT, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "清除显示(&C)", IDM_FILE_CLEARDISPLAY
        MENUITEM SEPARATOR
        MENUITEM "开始捕获(&S)", IDM_FILE_STARTCAPTURE
        MENUITEM "停止捕获(&T)", IDM_FILE_STOPCAPTURE, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "本地回显(&L)", IDM_FILE_LOCALECHO
        MENUITEM SEPARATOR
        MENUITEM "关闭(&X)", IDM_EXIT
    END
    POPUP "帮助(&H)"
    BEGIN
        MENUITEM "关于 ...(&A)", IDM_ABOUT
    END
END

/* Accelerators */
IDC_FDEBUG ACCELERATORS
BEGIN
    VK_OEM_2, IDM_ABOUT, VIRTKEY, ALT //FIXME: ?/ US keyboard only
    VK_DIVIDE, IDM_ABOUT, VIRTKEY, ALT
END

/* Dialogs */

IDD_ABOUTBOX DIALOGEX 22, 17, 259, 210
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "关于 FreeLoader 调试器"
FONT 9, "宋体"
BEGIN
    CONTROL "FreeLoader 调试器 v1.0\nCopyright (C) 2003\nby Brian Palmer (brianp@reactos.org)", IDC_STATIC, "Static", SS_LEFTNOWORDWRAP | WS_GROUP, 53, 28, 122, 26
    DEFPUSHBUTTON "确定", IDOK, 183, 189, 44, 14, WS_GROUP
    ICON IDI_FDEBUG, IDC_STATIC, 19, 30, 20, 20
    EDITTEXT IDC_LICENSE_EDIT, 53, 63, 174, 107, ES_MULTILINE | ES_READONLY | WS_VSCROLL
END

IDD_CONNECTION DIALOGEX 0, 0, 196, 100
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "连接选项"
FONT 9, "宋体"
BEGIN
    LTEXT "输入的 COM 端口（例如 COM1）：", IDC_STATIC, 7, 7, 108, 8
    EDITTEXT IDC_COMPORT, 7, 17, 182, 14, ES_AUTOHSCROLL
    LTEXT "输入波特率（例如 115200）：", IDC_STATIC, 7, 38, 114, 8
    EDITTEXT IDC_BAUTRATE, 7, 48, 182, 14, ES_AUTOHSCROLL
    DEFPUSHBUTTON "确定", IDOK, 45, 79, 50, 14
    PUSHBUTTON "取消", IDCANCEL, 100, 79, 50, 14
END

IDD_CAPTURE DIALOGEX 0, 0, 251, 95
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "捕获文件"
FONT 9, "宋体"
BEGIN
    LTEXT "捕获文件的名称：", IDC_STATIC, 7, 17, 62, 8
    EDITTEXT IDC_CAPTUREFILENAME, 7, 26, 181, 14, ES_AUTOHSCROLL
    PUSHBUTTON "浏览器(&B)", IDC_BROWSE, 194, 26, 50, 14
    DEFPUSHBUTTON "确定", IDOK, 139, 74, 50, 14
    PUSHBUTTON "取消", IDCANCEL, 194, 74, 50, 14
END

/* String Tables */

STRINGTABLE
BEGIN
    IDS_APP_TITLE "FreeLoader 调试器"
    IDS_HELLO "世界您好！"
    IDC_FDEBUG "FDEBUG"
END

STRINGTABLE
BEGIN
    IDS_LICENSE "本程序为自由软件；您可以根据自由软件基金会发布的 GNU 通用公共许可证的第 2 版，或（根据您的选择）任何更高版本的条款进行重新分发和修改它。\r\n\r\n本程序的发布是希望它有用，但没有任何担保；甚至没有适销性或特定用途适用性的暗示保证。 有关详细信息，请参阅 GNU 通用公共许可证。\r\n\r\n您应该已收到 GNU 通用公共许可证的副本以及本程序；如果没有，请写信给 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA。"
END
