1// *************************************************************
2//
3//  Licensed to the Apache Software Foundation (ASF) under one
4//  or more contributor license agreements.  See the NOTICE file
5//  distributed with this work for additional information
6//  regarding copyright ownership.  The ASF licenses this file
7//  to you under the Apache License, Version 2.0 (the
8//  "License"); you may not use this file except in compliance
9//  with the License.  You may obtain a copy of the License at
10//
11//    http://www.apache.org/licenses/LICENSE-2.0
12//
13//  Unless required by applicable law or agreed to in writing,
14//  software distributed under the License is distributed on an
15//  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16//  KIND, either express or implied.  See the License for the
17//  specific language governing permissions and limitations
18//  under the License.
19//
20// *************************************************************
21
22#ifdef FONTSIZE
23#undef FONTSIZE
24#endif
25
26//#if ( %PLACEHOLDER% == LANG_KOREAN ) || ( %PLACEHOLDER% == LANG_CHINESE ) || ( %PLACEHOLDER% == LANG_JAPANESE )
27//#define FONTSIZE 9
28//#define LANG_CJK
29//#else
30//#define FONTSIZE 8
31//#endif
32
33#define FONTSIZE 9
34
35/////////////////////////////////////////////////////////////////////////////
36//
37// Dialog
38//
39
40IDD_WELCOME_PAGE DIALOGEX 0, 41, 327, 195
41STYLE DS_SETFONT | DS_CONTROL | WS_CHILD
42EXSTYLE WS_EX_CONTROLPARENT
43#ifndef LANG_CJK
44FONT FONTSIZE, "MS Shell Dlg", 0, 0, 0x0
45#endif
46BEGIN
47    CONTROL         "",IDC_RICHEDIT21,"RICHEDIT20W",TCS_RAGGEDRIGHT | ES_READONLY |
48                    TCS_MULTISELECT | WS_VSCROLL,7,7,313,151
49END
50
51IDD_REPORT_PAGE DIALOGEX 0, 41, 327, 195
52STYLE DS_SETFONT | DS_CONTROL | WS_CHILD
53EXSTYLE WS_EX_CONTROLPARENT
54#ifndef LANG_CJK
55FONT FONTSIZE, "MS Shell Dlg", 0, 0, 0x0
56#endif
57BEGIN
58    LTEXT           "1",IDC_REPORT_INTRO,7,7,313,48
59    LTEXT           "2",IDC_ENTER_TITLE,7,58,320,8
60    EDITTEXT        IDC_EDIT_TITLE,7,68,235,14,ES_AUTOHSCROLL
61    LTEXT           "3",IDC_ENTER_DESCRIPTION,7,86,320,8
62    EDITTEXT        IDC_EDIT_DESCRIPTION,7,97,235,49,ES_MULTILINE |
63                    ES_WANTRETURN | WS_VSCROLL
64    CONTROL         "4",IDC_ALLOW_CONTACT,"Button",BS_AUTOCHECKBOX |
65                    WS_TABSTOP,7,148,303,10
66    LTEXT           "4a",IDC_LABEL_EMAIL,18,162,226,
67                    8
68    EDITTEXT        IDC_EDIT_EMAIL,17,173,224,14,ES_AUTOHSCROLL
69    PUSHBUTTON      "5",IDC_SHOW_REPORT,249,97,74,14
70    PUSHBUTTON      "6",IDC_OPTIONS,249,115,74,14
71    PUSHBUTTON      "7",IDC_SAVE_REPORT,249,134,74,14
72END
73
74IDD_DIALOG_FRAME DIALOGEX 0, 0, 331, 265
75STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND |
76    DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
77CAPTION "1"
78#ifndef LANG_CJK
79FONT FONTSIZE, "MS Shell Dlg", 400, 0, 0x1
80#endif
81BEGIN
82    LTEXT           "",IDC_STATIC,0,0,331,40
83    CONTROL         "",IDC_HEADER,"RICHEDIT20W",TCS_VERTICAL | TCS_MULTISELECT | ES_READONLY,
84                    7,7,316,33
85    PUSHBUTTON      "1",IDBACK,125,244,60,14
86    PUSHBUTTON      "2",IDNEXT,194,244,60,14
87    PUSHBUTTON      "3",IDFINISH,194,244,60,14
88    PUSHBUTTON      "4",IDCANCEL,263,244,60,14
89    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,0,40,331,1
90    CONTROL         "",IDC_STATIC,"Static",SS_ETCHEDHORZ,0,237,331,1
91END
92
93IDD_PREVIEW_FRAME DIALOGEX 0, 0, 251, 185
94STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND |
95    DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU |
96    WS_SIZEBOX
97CAPTION "1"
98#ifndef LANG_CJK
99FONT FONTSIZE, "MS Shell Dlg", 400, 0, 0x1
100#endif
101BEGIN
102    CONTROL         "",IDC_EDIT_PREVIEW,"RICHEDIT20W",ES_MULTILINE |
103                    ES_AUTOVSCROLL | WS_VSCROLL | ES_AUTOHSCROLL | WS_HSCROLL |
104                    TCS_MULTISELECT | ES_READONLY | TCS_RAGGEDRIGHT |
105                    WS_BORDER
106                    ,
107                    7,7,237,150
108    DEFPUSHBUTTON      "4",IDOK,193,164,50,14
109END
110
111
112IDD_OPTIONS_FRAME DIALOGEX 0, 0, 295, 182
113STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION |
114    WS_SYSMENU
115CAPTION "1"
116#ifndef LANG_CJK
117FONT FONTSIZE, "MS Shell Dlg", 400, 0, 0x1
118#endif
119BEGIN
120    GROUPBOX        "1",IDC_PROXY_SETTINGS,7,7,222,92
121    CONTROL         "2",IDC_RADIO_SYSTEM,"Button",BS_AUTORADIOBUTTON,15,27,
122                    208,10
123    CONTROL         "3",IDC_RADIO_DIRECT,"Button",BS_AUTORADIOBUTTON,15,39,
124                    208,10
125    CONTROL         "4",IDC_RADIO_MANUAL,"Button",BS_AUTORADIOBUTTON,15,51,
126                    208,10
127    LTEXT           "5",IDC_LABEL_PROXYSERVER,27,64,148,8
128    EDITTEXT        IDC_EDIT_PROXYSERVER,27,76,148,14,ES_AUTOHSCROLL
129    LTEXT           ":",IDC_STATIC,178,78,8,8
130    LTEXT           "6",IDC_LABEL_PROXYPORT,184,64,40,8
131    EDITTEXT        IDC_EDIT_PROXYPORT,184,76,40,14,ES_AUTOHSCROLL |
132                    ES_NUMBER
133    DEFPUSHBUTTON   "7",IDOK,238,7,50,14
134    PUSHBUTTON      "8",IDCANCEL,238,26,50,14
135    CONTROL         "",IDC_PROXY_DESCRIPTION,"RichEdit20W",ES_MULTILINE |
136                    ES_READONLY | WS_VSCROLL,7,106,281,69
137END
138
139IDD_SENDING_STATUS DIALOGEX 0, 0, 216, 73
140STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION |
141    WS_SYSMENU
142CAPTION "1"
143#ifndef LANG_CJK
144FONT FONTSIZE, "MS Shell Dlg", 400, 0, 0x1
145#endif
146BEGIN
147    PUSHBUTTON      "2",IDCANCEL,159,52,50,14
148    LTEXT           "3",IDC_SENDING_REPORT_STATUS,7,7,202,34
149END
150
151/////////////////////////////////////////////////////////////////////////////
152//
153// String Table
154//
155
156STRINGTABLE
157BEGIN
158    IDS_WELCOME_CAPTION     %WELCOME_CAPTION%
159    IDS_WELCOME_HEADER      %WELCOME_HEADER%
160    IDS_WELCOME_BODY1       %WELCOME_BODY1%
161    IDS_WELCOME_BODY2       %WELCOME_BODY2%
162    IDS_WELCOME_BODY3       %WELCOME_BODY3%
163    IDS_PRIVACY_URL         %PRIVACY_URL%
164    IDS_NEXT_BUTTON         %NEXT_BUTTON%
165    IDS_CANCEL_BUTTON       %CANCEL_BUTTON%
166    IDS_OK_BUTTON			%OK_BUTTON%
167END
168
169STRINGTABLE
170BEGIN
171    IDS_REPORT_CAPTION      %REPORT_CAPTION%
172    IDS_REPORT_HEADER       %REPORT_HEADER%
173    IDS_REPORT_INTRO        %REPORT_BODY%
174    IDS_ENTER_TITLE         %ENTER_TITLE%
175    IDS_ALLOW_CONTACT       %ALLOW_CONTACT%
176    IDS_ENTER_DESCRIPTION   %ENTER_DESCRIPTION%
177    IDS_BACK_BUTTON         %BACK_BUTTON%
178    IDS_SEND_BUTTON         %SEND_BUTTON%
179    IDS_DONOT_SEND_BUTTON   %DONOT_SEND_BUTTON%
180    IDS_SHOW_REPORT_BUTTON  %SHOW_REPORT_BUTTON%
181    IDS_SAVE_REPORT_BUTTON  %SAVE_REPORT_BUTTON%
182    IDS_OPTIONS_BUTTON		%OPTIONS_BUTTON%
183    IDS_LABEL_EMAIL			%ENTER_EMAIL%
184END
185
186STRINGTABLE
187BEGIN
188	IDS_ERROR_MSG_SIMPLE_MAPI			%ERROR_MSG_SIMPLE_MAPI%
189	IDS_ERROR_MSG_DISK_FULL				%ERROR_MSG_DISK_FULL%
190	IDS_ERROR_MSG_PROXY					%ERROR_MSG_PROXY%
191	IDS_ERROR_MSG_NOCONNECT				%ERROR_MSG_NOCONNECT%
192	IDS_ERROR_MSG_NOEMAILADDRESS		%ERROR_MSG_NOEMAILADDRESS%
193	IDS_SENDING_REPORT_HEADER			%SENDING_REPORT_HEADER%
194	IDS_SENDING_REPORT_STATUS			%SENDING_REPORT_STATUS%
195	IDS_SENDING_REPORT_STATUS_FINISHED	%SENDING_REPORT_STATUS_FINISHED%
196	IDS_MSG_CMDLINE_USAGE				%MSG_CMDLINE_USAGE%
197	IDS_MSG_PARAM_PROCESSID				%MSG_PARAM_PROCESSID%
198	IDS_MSG_PARAM_PROCESSID_DESCRIPTION	%MSG_PARAM_PROCESSID_DESCRIPTION%
199	IDS_MSG_PARAM_HELP_DESCRIPTION		%MSG_PARAM_HELP_DESCRIPTION%
200END
201
202STRINGTABLE
203BEGIN
204	IDS_OPTIONS_CAPTION			%OPTIONS_TITLE%
205	IDS_PROXY_SETTINGS_HEADER	%PROXY_SETTINGS_HEADER%
206	IDS_PROXY_SYSTEM			%PROXY_SETTINGS_SYSTEM%
207	IDS_PROXY_DIRECT			%PROXY_SETTINGS_DIRECT%
208	IDS_PROXY_MANUAL			%PROXY_SETTINGS_MANUAL%
209	IDS_LABEL_PROXYSERVER		%PROXY_SETTINGS_ADDRESS%
210	IDS_LABEL_PROXYPORT			%PROXY_SETTINGS_PORT%
211	IDS_PROXY_DESCRIPTION		%PROXY_SETTINGS_DESCRIPTION%
212END
213