summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/res/new_gpg.rc
blob: 286665f36353cadd2ed43dec0ceb8046acfac1ac (plain)
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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
// Microsoft Visual C++ generated resource script.
//
#include "..\src\resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Russian (Russia) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#pragma code_page(1251)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_LOAD_PUBLIC_KEY DIALOGEX 0, 0, 338, 190
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Load Public GPG key"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "ÎÊ",ID_OK,7,169,50,14
    PUSHBUTTON      "Load from file",ID_LOAD_FROM_FILE,273,169,58,14
    EDITTEXT        IDC_PUBLIC_KEY_EDIT,7,7,324,134,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | WS_VSCROLL,WS_EX_STATICEDGE
    PUSHBUTTON      "Select existing",IDC_SELECT_EXISTING,113,169,97,14
    CONTROL         "Turn on encryption",IDC_ENABLE_ENCRYPTION,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,143,196,10
    PUSHBUTTON      "Import key from keyserver",IDC_IMPORT,140,152,188,14,WS_DISABLED
END

IDD_FIRST_RUN DIALOGEX 0, 0, 291, 230
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Set own key"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "ÎÊ",ID_OK,12,209,50,14,WS_DISABLED
    CONTROL         "",IDC_KEY_LIST,"SysListView32",LVS_REPORT | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,7,44,277,105
    PUSHBUTTON      "Generate key",IDC_GENERATE_KEY,8,152,74,14
    LTEXT           "Select key for use",IDC_STATIC,16,33,186,8
    EDITTEXT        IDC_KEY_PASSWORD,94,168,77,14,ES_PASSWORD | ES_AUTOHSCROLL
    RTEXT           "Key password:",IDC_STATIC,12,170,76,8
    PUSHBUTTON      "Load other",IDC_OTHER,83,152,64,14
    PUSHBUTTON      "Delete key",IDC_DELETE_KEY,149,152,70,14
    PUSHBUTTON      "Generate and use random key",IDC_GENERATE_RANDOM,99,184,118,14
    LTEXT           "",IDC_GENERATING_KEY,82,207,174,8
    LTEXT           "Account:",IDC_STATIC,15,12,42,8
    LTEXT           "key id: ",IDC_KEY_ID,178,12,99,8
    COMBOBOX        IDC_ACCOUNT,66,9,104,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
END

IDD_BIN_PATH DIALOGEX 0, 0, 354, 108
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Set GPG bin path and keyring home dir."
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "Continue",ID_OK,7,87,50,14
    LTEXT           "Home directory:",IDC_STATIC,9,34,325,8
    LTEXT           "GnuPG binary:",IDC_STATIC,10,7,147,8
    PUSHBUTTON      "Browse",IDC_SET_BIN_PATH,293,18,54,14
    PUSHBUTTON      "Browse",IDC_SET_HOME_DIR,293,44,54,14
    EDITTEXT        IDC_HOME_DIR,7,44,277,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_BIN_PATH,7,17,277,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Generate and use random key",IDC_GENERATE_RANDOM,166,87,118,14
    CONTROL         "Turn on key autoexchange",IDC_AUTO_EXCHANGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,64,277,10
END

IDD_NEW_KEY DIALOGEX 0, 0, 427, 68
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "The new public key was recieved"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "Import key",ID_IMPORT,9,47,46,14
    PUSHBUTTON      "Accept and enable encryption",IDC_IMPORT_AND_USE,156,47,119,14
    PUSHBUTTON      "Ignore",IDC_IGNORE_KEY,368,47,52,14
    CTEXT           "Ñòàòè÷åñêèé",IDC_MESSAGE,18,25,392,8
    CTEXT           "Ñòàòè÷åñêèé",IDC_KEY_FROM,16,12,395,8
END

IDD_KEY_GEN DIALOGEX 0, 0, 284, 169
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Key Generation dialog"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,7,148,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,227,148,50,14
    COMBOBOX        IDC_KEY_TYPE,120,14,48,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
    EDITTEXT        IDC_KEY_LENGTH,120,30,40,14,ES_AUTOHSCROLL | ES_NUMBER | WS_GROUP
    EDITTEXT        IDC_KEY_PASSWD,120,46,55,14,ES_AUTOHSCROLL | WS_GROUP
    EDITTEXT        IDC_KEY_REAL_NAME,120,61,55,14,ES_AUTOHSCROLL | WS_GROUP
    EDITTEXT        IDC_KEY_EMAIL,120,76,55,14,ES_AUTOHSCROLL | WS_GROUP
    EDITTEXT        IDC_KEY_COMMENT,120,91,55,14,ES_AUTOHSCROLL | WS_GROUP
    EDITTEXT        IDC_KEY_EXPIRE_DATE,120,106,55,14,ES_AUTOHSCROLL | WS_GROUP
    LTEXT           "Key type:",IDC_STATIC,8,16,96,8
    LTEXT           "Key length:",IDC_STATIC,7,32,106,8
    LTEXT           "Key password:",IDC_STATIC,7,49,105,8
    LTEXT           "Real name:",IDC_STATIC,7,63,105,8
    LTEXT           "Email:",IDC_STATIC,7,79,108,8
    LTEXT           "Comment:",IDC_STATIC,7,92,107,8
    LTEXT           "Expire date:",IDC_STATIC,7,109,111,8
    LTEXT           "ex.: 2010-08-15",IDC_STATIC,182,108,75,8
    LTEXT           "From 1024 to 4096",IDC_STATIC,168,33,89,8
    LTEXT           "It can take a long time, be patient",IDC_GENERATING_TEXT,15,132,246,8
    LTEXT           "0 - does not expire",IDC_STATIC,122,122,141,8
END

IDD_LOAD_EXISTING_KEY DIALOGEX 0, 0, 370, 257
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Select existing public key from list"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "ÎÊ",IDOK,7,236,50,14,WS_DISABLED
    PUSHBUTTON      "Cancel",IDCANCEL,313,236,50,14
    CONTROL         "",IDC_EXISTING_KEY_LIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,7,14,356,217
END

IDD_KEY_PASSWD DIALOGEX 0, 0, 207, 108
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Enter password for your secret key"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "ÎÊ",IDOK,7,87,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,150,87,50,14
    EDITTEXT        IDC_PASSWORD,13,38,179,14,ES_PASSWORD | ES_AUTOHSCROLL
    LTEXT           "Password:",IDC_STATIC,14,28,34,8
    CONTROL         "Save password to database",IDC_SAVE_PASSWORD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,56,124,10
    LTEXT           "",IDC_KEYID,14,14,179,8
    CONTROL         "Default password",IDC_DEFAULT_PASSWORD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,67,151,10
END

IDD_IMPORT_KEY DIALOGEX 0, 0, 161, 81
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Set GPG bin path and keyring home dir."
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
    PUSHBUTTON      "Import",IDC_IMPORT,15,56,50,14
    LTEXT           "Select keyserver for key search:",IDC_STATIC,16,20,122,8
    COMBOBOX        IDC_KEYSERVER,15,34,125,30,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
    IDD_LOAD_PUBLIC_KEY, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 331
        TOPMARGIN, 7
        BOTTOMMARGIN, 183
    END

    IDD_FIRST_RUN, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 284
        VERTGUIDE, 15
        TOPMARGIN, 7
        BOTTOMMARGIN, 223
        HORZGUIDE, 20
    END

    IDD_BIN_PATH, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 347
        VERTGUIDE, 284
        TOPMARGIN, 7
        BOTTOMMARGIN, 101
    END

    IDD_NEW_KEY, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 420
        TOPMARGIN, 6
        BOTTOMMARGIN, 61
    END

    IDD_KEY_GEN, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 277
        TOPMARGIN, 7
        BOTTOMMARGIN, 162
    END

    IDD_LOAD_EXISTING_KEY, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 363
        TOPMARGIN, 7
        BOTTOMMARGIN, 250
    END

    IDD_KEY_PASSWD, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 200
        TOPMARGIN, 7
        BOTTOMMARGIN, 101
    END

    IDD_IMPORT_KEY, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 154
        TOPMARGIN, 7
        BOTTOMMARGIN, 74
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_SECURED             ICON                    "icons\\secured.ico"
IDI_UNSECURED           ICON                    "icons\\unsecured.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 0,0,0,11
 PRODUCTVERSION 0,9,0,0
 FILEFLAGSMASK 0x17L
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x0L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "041904b0"
        BEGIN
            VALUE "FileDescription", "new_gpg"
            VALUE "FileVersion", "0.0.0.11"
            VALUE "InternalName", "new_gpg"
            VALUE "LegalCopyright", "Copyright (C) 2010-2011 sss"
            VALUE "OriginalFilename", "new_gpg"
            VALUE "ProductName", "new_gpg"
            VALUE "ProductVersion", "0.9.0.0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x419, 1200
    END
END

#endif    // Russian (Russia) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (United States) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_OPT_GPG DIALOGEX 0, 0, 286, 214
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    CONTROL         "",IDC_USERLIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,7,17,272,112
    CTEXT           "Userlist:",IDC_STATIC,25,7,201,8
    PUSHBUTTON      "Export PubKey",IDC_SAVE_KEY_BUTTON,8,135,75,14
    PUSHBUTTON      "Delete key",IDC_DELETE_KEY_BUTTON,90,135,70,14
    PUSHBUTTON      "Select own key",IDC_SELECT_KEY,205,193,74,14
    CONTROL         "Turn on debug log",IDC_DEBUG_LOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,181,159,89,10
    EDITTEXT        IDC_LOG_FILE_EDIT,11,157,98,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Browse",IDC_LOG_FILE_SET,119,156,50,14
    CONTROL         "Use jabber api on Miranda IM >= 0.9 (recomended)",IDC_JABBER_API,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,175,251,10
    LTEXT           "Default key",IDC_CURRENT_KEY,12,196,110,8
    CONTROL         "Encrypt file transfers",IDC_FILE_TRANSFERS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,185,137,10
    CONTROL         "Automatic key exchange",IDC_AUTO_EXCHANGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,137,111,10
    PUSHBUTTON      "Copy own key",IDC_COPY_KEY,127,193,74,14
END

IDD_OPT_GPG_BIN DIALOGEX 0, 0, 282, 71
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    PUSHBUTTON      "Browse",IDC_SET_BIN_PATH,216,17,60,14
    PUSHBUTTON      "Browse",IDC_SET_HOME_DIR,217,44,57,14
    EDITTEXT        IDC_BIN_PATH,7,17,195,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_HOME_DIR,7,44,195,14,ES_AUTOHSCROLL
    LTEXT           "GnuPG binary:",IDC_STATIC,10,7,147,8
    LTEXT           "Home directory:",IDC_STATIC,9,34,144,8
END

IDD_OPT_GPG_MESSAGES DIALOGEX 0, 0, 302, 100
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    CONTROL         "Add tags to encoded and decoded messages",IDC_APPEND_TAGS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,3,65,243,10
    EDITTEXT        IDC_IN_OPEN_TAG,39,20,88,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_IN_CLOSE_TAG,151,20,90,14,ES_AUTOHSCROLL
    LTEXT           "Incomming message tags:",IDC_STATIC,15,10,84,8
    LTEXT           "Outgoing message tags:",IDC_STATIC,13,36,79,8
    RTEXT           "Open:",IDC_STATIC,13,23,26,8
    RTEXT           "Close:",IDC_STATIC,127,23,23,8
    EDITTEXT        IDC_OUT_OPEN_TAG,39,46,88,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_OUT_CLOSE_TAG,151,46,90,14,ES_AUTOHSCROLL
    RTEXT           "Open:",IDC_STATIC,13,49,26,8
    RTEXT           "Close:",IDC_STATIC,127,49,23,8
    CONTROL         "Strip all tags in outgoing messages",IDC_STRIP_TAGS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,3,76,233,10
END

IDD_OPT_GPG_ADVANCED DIALOGEX 0, 0, 286, 32
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
    CONTROL         "Turn on presence signing (Jabber) (required by xep 0-27)",IDC_PRESCENSE_SUBSCRIPTION,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,9,268,10
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
    IDD_OPT_GPG, DIALOG
    BEGIN
    END

    IDD_OPT_GPG_BIN, DIALOG
    BEGIN
    END

    IDD_OPT_GPG_MESSAGES, DIALOG
    BEGIN
    END

    IDD_OPT_GPG_ADVANCED, DIALOG
    BEGIN
        VERTGUIDE, 12
    END
END
#endif    // APSTUDIO_INVOKED

#endif    // English (United States) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED