-
Notifications
You must be signed in to change notification settings - Fork 1
/
openvpn-gui-res.h
256 lines (231 loc) · 9.65 KB
/
openvpn-gui-res.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
/*
* OpenVPN-GUI -- A Windows GUI for OpenVPN.
*
* Copyright (C) 2004 Mathias Sundman <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program (see the file COPYING included with this
* distribution); if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef OPENVPN_GUI_RES_H
#define OPENVPN_GUI_RES_H
/* Icons */
#define ID_ICO_APP 90
#define ID_ICO_LOGO 91
#define ID_ICO_CONNECTED 92
#define ID_ICO_CONNECTING 93
#define ID_ICO_DISCONNECTED 94
/* About Dialog */
#define ID_DLG_ABOUT 100
#define ID_ICO_ABOUT_APP 101
#define ID_ICO_ABOUT_LOGO 102
#define ID_TXT_OPENVPN_GUI 103
#define ID_TXT_OPENVPN 104
/* Ask for Passphrase Dialog */
#define ID_DLG_PASSPHRASE 150
#define ID_EDT_PASSPHRASE 151
/* Status Dialog */
#define ID_DLG_STATUS 160
#define ID_TXT_STATUS 161
#define ID_EDT_LOG 162
#define ID_DISCONNECT 163
#define ID_RESTART 164
#define ID_HIDE 165
/* Change Passphrase Dialog */
#define ID_DLG_CHGPASS 170
#define ID_EDT_PASS_CUR 174
#define ID_EDT_PASS_NEW 175
#define ID_EDT_PASS_NEW2 176
#define ID_TXT_KEYFILE 177
#define ID_TXT_KEYFORMAT 178
/* Auth Username/Password Dialog */
#define ID_DLG_AUTH 180
#define ID_EDT_AUTH_USER 181
#define ID_EDT_AUTH_PASS 182
/* Proxy Settings Dialog */
#define ID_DLG_PROXY 200
#define ID_RB_PROXY_OPENVPN 201
#define ID_RB_PROXY_MSIE 202
#define ID_RB_PROXY_MANUAL 203
#define ID_RB_PROXY_HTTP 204
#define ID_RB_PROXY_SOCKS 205
#define ID_EDT_PROXY_HTTP_ADDRESS 206
#define ID_EDT_PROXY_HTTP_PORT 207
#define ID_EDT_PROXY_SOCKS_ADDRESS 208
#define ID_EDT_PROXY_SOCKS_PORT 209
#define ID_TXT_PROXY_HTTP_ADDRESS 210
#define ID_TXT_PROXY_HTTP_PORT 211
#define ID_TXT_PROXY_SOCKS_ADDRESS 212
#define ID_TXT_PROXY_SOCKS_PORT 213
#define ID_EDT_PROXY_ADDRESS 214 // delete
#define ID_EDT_PROXY_PORT 215 // delete
#define ID_TXT_PROXY_ADDRESS 216 // delete
#define ID_TXT_PROXY_PORT 217 // delete
/* General Settings Dialog */
#define ID_DLG_GENERAL 230
#define ID_CMB_LANGUAGE 231
#define ID_TXT_LANGUAGE 232
/* Proxy Auth Dialog */
#define ID_DLG_PROXY_AUTH 250
#define ID_EDT_PROXY_USER 251
#define ID_EDT_PROXY_PASS 252
/*
* String Table Resources
*/
/* Tray Tooltips */
#define IDS_TIP_DEFAULT 1000
#define IDS_TIP_CONNECTED 1001
#define IDS_TIP_CONNECTING 1003
#define IDS_TIP_CONNECTED_SINCE 1004
#define IDS_TIP_ASSIGNED_IP 1005
/* Tray Icon Context Menu */
#define IDS_MENU_SERVICE 1006
#define IDS_MENU_SETTINGS 1007
#define IDS_MENU_ABOUT 1008
#define IDS_MENU_CLOSE 1009
#define IDS_MENU_CONNECT 1010
#define IDS_MENU_DISCONNECT 1011
#define IDS_MENU_STATUS 1012
#define IDS_MENU_VIEWLOG 1013
#define IDS_MENU_EDITCONFIG 1014
#define IDS_MENU_PASSPHRASE 1015
#define IDS_MENU_SERVICE_START 1016
#define IDS_MENU_SERVICE_STOP 1017
#define IDS_MENU_SERVICE_RESTART 1018
#define IDS_MENU_SERVICEONLY_START 1019
#define IDS_MENU_SERVICEONLY_STOP 1020
#define IDS_MENU_SERVICEONLY_RESTART 1021
#define IDS_MENU_ASK_STOP_SERVICE 1022
/* LogViewer Dialog */
#define IDS_ERR_START_LOG_VIEWER 1101
#define IDS_ERR_START_CONF_EDITOR 1102
/* OpenVpn Related */
#define IDS_ERR_MANY_CONFIGS 1201
#define IDS_ERR_ONE_CONN_OLD_VER 1203
#define IDS_ERR_STOP_SERV_OLD_VER 1204
#define IDS_ERR_CREATE_EVENT 1205
#define IDS_ERR_UNKNOWN_PRIORITY 1206
#define IDS_ERR_LOG_APPEND_BOOL 1207
#define IDS_ERR_GET_MSIE_PROXY 1208
#define IDS_ERR_INIT_SEC_DESC 1209
#define IDS_ERR_SET_SEC_DESC_ACL 1210
#define IDS_ERR_CREATE_PIPE_OUTPUT 1211
#define IDS_ERR_CREATE_PIPE_INPUT 1213
#define IDS_ERR_DUP_HANDLE_OUT_READ 1214
#define IDS_ERR_DUP_HANDLE_IN_WRITE 1215
#define IDS_ERR_CREATE_PROCESS 1217
#define IDS_ERR_CREATE_THREAD_STATUS 1219
#define IDS_NFO_STATE_WAIT_TERM 1220
#define IDS_NFO_STATE_CONNECTED 1222
#define IDS_NFO_NOW_CONNECTED 1223
#define IDS_NFO_ASSIGN_IP 1224
#define IDS_ERR_CERT_EXPIRED 1225
#define IDS_ERR_CERT_NOT_YET_VALID 1226
#define IDS_NFO_STATE_RECONNECTING 1227
#define IDS_NFO_STATE_DISCONNECTED 1228
#define IDS_NFO_CONN_TERMINATED 1229
#define IDS_NFO_STATE_FAILED 1230
#define IDS_NFO_CONN_FAILED 1231
#define IDS_NFO_STATE_FAILED_RECONN 1232
#define IDS_NFO_RECONN_FAILED 1233
#define IDS_NFO_STATE_SUSPENDED 1234
#define IDS_ERR_READ_STDOUT_PIPE 1235
#define IDS_ERR_CREATE_EDIT_LOGWINDOW 1236
#define IDS_ERR_SET_SIZE 1237
#define IDS_ERR_AUTOSTART_CONF 1238
#define IDS_ERR_CREATE_PIPE_IN_READ 1240
#define IDS_NFO_STATE_CONNECTING 1241
#define IDS_NFO_CONNECTION_XXX 1242
#define IDS_NFO_STATE_CONN_SCRIPT 1244
#define IDS_NFO_STATE_DISCONN_SCRIPT 1245
#define IDS_ERR_RUN_CONN_SCRIPT 1246
#define IDS_ERR_GET_EXIT_CODE 1247
#define IDS_ERR_CONN_SCRIPT_FAILED 1248
#define IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT 1249
#define IDS_ERR_CONFIG_EXIST 1251
/* Program Startup Related */
#define IDS_ERR_OPEN_DEBUG_FILE 1301
#define IDS_ERR_LOAD_RICHED20 1302
#define IDS_ERR_SHELL_DLL_VERSION 1303
#define IDS_ERR_GUI_ALREADY_RUNNING 1304
#define IDS_NFO_SERVICE_STARTED 1305
#define IDS_NFO_SERVICE_STOPPED 1306
#define IDS_NFO_ACTIVE_CONN_EXIT 1307
#define IDS_NFO_SERVICE_ACTIVE_EXIT 1308
/* Program Options Related */
#define IDS_NFO_USAGE 1401
#define IDS_NFO_USAGECAPTION 1402
#define IDS_ERR_BAD_PARAMETER 1403
#define IDS_ERR_BAD_OPTION 1404
/* Change Passphrase Dialog */
#define IDS_ERR_CREATE_PASS_THREAD 1501
#define IDS_NFO_CHANGE_PWD 1502
#define IDS_ERR_PWD_DONT_MATCH 1503
#define IDS_ERR_PWD_TO_SHORT 1504
#define IDS_NFO_EMPTY_PWD 1505
#define IDS_ERR_UNKNOWN_KEYFILE_FORMAT 1506
#define IDS_ERR_OPEN_PRIVATE_KEY_FILE 1507
#define IDS_ERR_OLD_PWD_INCORRECT 1508
#define IDS_ERR_OPEN_WRITE_KEY 1509
#define IDS_ERR_WRITE_NEW_KEY 1510
#define IDS_NFO_PWD_CHANGED 1511
#define IDS_ERR_READ_PKCS12 1512
#define IDS_ERR_CREATE_PKCS12 1513
#define IDS_ERR_OPEN_CONFIG 1514
#define IDS_ERR_ONLY_ONE_KEY_OPTION 1515
#define IDS_ERR_ONLY_KEY_OR_PKCS12 1516
#define IDS_ERR_ONLY_ONE_PKCS12_OPTION 1517
#define IDS_ERR_HAVE_KEY_OR_PKCS12 1518
#define IDS_ERR_KEY_FILENAME_TO_LONG 1519
#define IDS_ERR_PASSPHRASE2STDIN 1520
#define IDS_ERR_CR2STDIN 1521
#define IDS_ERR_AUTH_USERNAME2STDIN 1522
#define IDS_ERR_AUTH_PASSWORD2STDIN 1523
#define IDS_ERR_INVALID_CHARS_IN_PSW 1524
/* Settings Dialog*/
#define IDS_SETTINGS_CAPTION 1550
/* Proxy Settings Dialog */
#define IDS_ERR_HTTP_PROXY_ADDRESS 1601
#define IDS_ERR_HTTP_PROXY_PORT 1602
#define IDS_ERR_HTTP_PROXY_PORT_RANGE 1603
#define IDS_ERR_SOCKS_PROXY_ADDRESS 1604
#define IDS_ERR_SOCKS_PROXY_PORT 1605
#define IDS_ERR_SOCKS_PROXY_PORT_RANGE 1606
#define IDS_ERR_CREATE_REG_HKCU_KEY 1607
#define IDS_ERR_GET_TEMP_PATH 1608
/* General Settings Dialog */
#define IDS_LANGUAGE_NAME 1650
/* Win32 Service Related */
#define IDS_ERR_OPEN_SCMGR_ADMIN 1701
#define IDS_ERR_OPEN_VPN_SERVICE 1702
#define IDS_ERR_START_SERVICE 1703
#define IDS_ERR_QUERY_SERVICE 1704
#define IDS_ERR_SERVICE_START_FAILED 1705
#define IDS_ERR_OPEN_SCMGR 1706
#define IDS_ERR_STOP_SERVICE 1707
#define IDS_NFO_RESTARTED 1708
/* Registry Related */
#define IDS_ERR_GET_WINDOWS_DIR 1801
#define IDS_ERR_GET_PROGRAM_DIR 1802
#define IDS_ERR_OPEN_REGISTRY 1803
#define IDS_ERR_READING_REGISTRY 1804
#define IDS_ERR_PASSPHRASE_ATTEMPTS 1805
#define IDS_ERR_CONN_SCRIPT_TIMEOUT 1806
#define IDS_ERR_DISCONN_SCRIPT_TIMEOUT 1807
#define IDS_ERR_PRECONN_SCRIPT_TIMEOUT 1808
#define IDS_ERR_CREATE_REG_KEY 1809
#define IDS_ERR_OPEN_WRITE_REG 1810
#define IDS_ERR_READ_SET_KEY 1811
#define IDS_ERR_WRITE_REGVALUE 1812
#endif