2008-09-03 14:20:41 +02:00
|
|
|
/*
|
|
|
|
* localui (Simplified and Traditional Chinese Resources)
|
|
|
|
*
|
|
|
|
* Copyright 2008 Hongbo Ni <hongbo.at.njstar.com>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library 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
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2009-07-02 00:33:47 +02:00
|
|
|
#include "localui.h"
|
|
|
|
|
2008-09-03 14:20:41 +02:00
|
|
|
/* Chinese text is encoded in UTF-8 */
|
|
|
|
#pragma code_page(65001)
|
|
|
|
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|
|
|
|
2010-07-21 23:53:05 +02:00
|
|
|
ADDPORT_DIALOG DIALOG 6, 18, 245, 47
|
2008-09-03 14:20:41 +02:00
|
|
|
STYLE DS_CONTEXTHELP | DS_MODALFRAME | DS_SETFONT | DS_SETFOREGROUND | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION
|
|
|
|
CAPTION "添加本地端口"
|
2008-12-10 19:29:14 +01:00
|
|
|
FONT 9, "MS Shell Dlg"
|
2008-09-03 14:20:41 +02:00
|
|
|
BEGIN
|
|
|
|
LTEXT "添加本地端口名称(&E):", -1, 7, 13, 194, 13, WS_VISIBLE
|
|
|
|
EDITTEXT ADDPORT_EDIT, 6, 28, 174, 12, WS_VISIBLE | ES_AUTOHSCROLL
|
|
|
|
DEFPUSHBUTTON "确定", IDOK, 199, 10, 40, 14, WS_VISIBLE
|
|
|
|
PUSHBUTTON "取消", IDCANCEL, 199, 27, 40, 14, WS_VISIBLE
|
|
|
|
END
|
|
|
|
|
|
|
|
|
2010-07-21 23:53:05 +02:00
|
|
|
LPTCONFIG_DIALOG DIALOG 6, 18, 220, 47
|
2008-09-03 14:20:41 +02:00
|
|
|
STYLE DS_CONTEXTHELP | DS_MODALFRAME | DS_SETFONT | DS_SETFOREGROUND | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION
|
|
|
|
CAPTION "设置打印端口"
|
2008-12-10 19:29:14 +01:00
|
|
|
FONT 9, "MS Shell Dlg"
|
2008-09-03 14:20:41 +02:00
|
|
|
BEGIN
|
|
|
|
GROUPBOX "超时(秒)", LPTCONFIG_GROUP, 6, 6, 150, 35, BS_GROUPBOX
|
|
|
|
LTEXT "重试通讯(&T):", -1, 14, 22, 90, 13, WS_VISIBLE
|
|
|
|
EDITTEXT LPTCONFIG_EDIT, 112, 20, 32, 13, WS_VISIBLE | ES_NUMBER
|
|
|
|
DEFPUSHBUTTON "确定", IDOK, 164, 10, 50, 14, WS_VISIBLE
|
|
|
|
PUSHBUTTON "取消", IDCANCEL, 164, 27, 50, 14, WS_VISIBLE
|
|
|
|
END
|
|
|
|
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
|
|
|
|
2010-07-21 23:53:05 +02:00
|
|
|
ADDPORT_DIALOG DIALOG 6, 18, 245, 47
|
2008-09-03 14:20:41 +02:00
|
|
|
STYLE DS_CONTEXTHELP | DS_MODALFRAME | DS_SETFONT | DS_SETFOREGROUND | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION
|
|
|
|
CAPTION "添加本地端口"
|
2008-12-10 19:29:14 +01:00
|
|
|
FONT 9, "MS Shell Dlg"
|
2008-09-03 14:20:41 +02:00
|
|
|
BEGIN
|
|
|
|
LTEXT "添加本地端口名稱(&E):", -1, 7, 13, 194, 13, WS_VISIBLE
|
|
|
|
EDITTEXT ADDPORT_EDIT, 6, 28, 174, 12, WS_VISIBLE | ES_AUTOHSCROLL
|
|
|
|
DEFPUSHBUTTON "確定", IDOK, 199, 10, 40, 14, WS_VISIBLE
|
|
|
|
PUSHBUTTON "取消", IDCANCEL, 199, 27, 40, 14, WS_VISIBLE
|
|
|
|
END
|
|
|
|
|
|
|
|
|
2010-07-21 23:53:05 +02:00
|
|
|
LPTCONFIG_DIALOG DIALOG 6, 18, 220, 47
|
2008-09-03 14:20:41 +02:00
|
|
|
STYLE DS_CONTEXTHELP | DS_MODALFRAME | DS_SETFONT | DS_SETFOREGROUND | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION
|
|
|
|
CAPTION "設定列印端口"
|
2008-12-10 19:29:14 +01:00
|
|
|
FONT 9, "MS Shell Dlg"
|
2008-09-03 14:20:41 +02:00
|
|
|
BEGIN
|
|
|
|
GROUPBOX "超時(秒)", LPTCONFIG_GROUP, 6, 6, 150, 35, BS_GROUPBOX
|
|
|
|
LTEXT "重試通訊(&T):", -1, 14, 22, 90, 13, WS_VISIBLE
|
|
|
|
EDITTEXT LPTCONFIG_EDIT, 112, 20, 32, 13, WS_VISIBLE | ES_NUMBER
|
|
|
|
DEFPUSHBUTTON "確定", IDOK, 164, 10, 50, 14, WS_VISIBLE
|
|
|
|
PUSHBUTTON "取消", IDCANCEL, 164, 27, 50, 14, WS_VISIBLE
|
|
|
|
END
|