source: trunk/res/Halite.rc @ 403

Revision 403, 71.5 KB checked in by Eoin, 12 years ago (diff)

Added command to recheck torrents.

Line 
1
2#include "resource.h"
3#include "afxres.h"
4
5#if 0
6
7#define ID_ADD_TORRENT_BEGIN            11000
8#define ID_CONFIG_BEGIN                         12000
9#define ID_NEWTORRENT_BEGIN                     14000
10#define ID_PROGRESS_BEGIN                       15000
11#define ID_TRACKER_BEGIN                        16000
12#define ID_TLVM_BEGIN                           17000
13
14#define ID_HAL_MAIN_LISTVIEW_BEGIN      30000
15
16#define HAL_EVENT_BEGIN                         40000
17#define HAL_TORRENT_EXT_BEGIN           41000
18#define HAL_TORRENT_INT_BEGIN           42000
19
20#endif
21
22#include "../src/advtabs/Tracker.hpp"
23#include "../src/advtabs/TrackerListView.hpp"
24#include "../src/HaliteWindow.hpp"
25#include "../src/HaliteListView.hpp"
26#include "../src/HaliteDialog.hpp"
27#include "../src/AddTorrentDialog.hpp"
28#include "../src/NewTorrentDialog.hpp"
29#include "../src/ConfigOptions.hpp"
30#include "../src/ProgressDialog.hpp"
31#include "../src/halTorrentInternal.hpp"
32#include "../src/halEvent.hpp"
33
34STRINGTABLE
35BEGIN
36    HALITE_LANGUAGE "English"
37END
38
39IDR_ABOUT_TEXT HALITE_RTF_RES_TYPE "English.rtf"
40
41IDD_ADVOVERVIEW DIALOGEX 0, 0, 313, 121
42STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
43FONT 8, "MS Shell Dlg", 400, 0, 0x1
44BEGIN
45    GROUPBOX        "Torrent",IDC_GROUP_TORRENT,4,7,305,83
46    GROUPBOX        "Tracker",IDC_GROUP_TRACKER,4,92,305,25
47    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,10,77,291,8
48
49    EDITTEXT        IDC_EDITTLD,210,46,34,12,ES_AUTOHSCROLL
50    EDITTEXT        IDC_EDITTLU,267,46,34,12,ES_AUTOHSCROLL
51    EDITTEXT        IDC_EDITNCD,210,22,34,12,ES_AUTOHSCROLL
52    EDITTEXT        IDC_EDITNCU,267,22,34,12,ES_AUTOHSCROLL
53    LTEXT           "Torrent connection limits:",IDC_NC,185,13,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
54    LTEXT           "Torrent transfer rates (KB/s):",IDC_TL,185,37,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
55    RTEXT           "Total",IDC_NCD,182,25,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
56    RTEXT           "Up",IDC_NCU,245,25,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
57    RTEXT           "Up",IDC_TLU,245,49,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
58    RTEXT           "Down",IDC_TLD,182,49,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
59
60    LTEXT           "N/A",IDC_TRACKER,10,103,170,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
61
62    RTEXT           "Update in:",IDC_UPDATESTAT,185,103,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
63    LTEXT           "N/A",IDC_UPDATE,228,103,71,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
64    EDITTEXT        IDC_EDITRATIO,267,60,34,12,ES_AUTOHSCROLL
65    LTEXT           "Ratio (this session):",IDC_RATIOESTATIC,182,63,70,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
66
67    RTEXT           "Torrent:",IDC_NAME_STATUS_LABEL,9,17,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
68    LTEXT           "N/A",IDC_NAME_STATUS,53,17,127,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
69
70    RTEXT           "Peers:",IDC_PEERS_LABEL,9,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
71    RTEXT           "Transferred:",IDC_TRANSFERED_LABEL,9,40,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
72    RTEXT           "Remaining:",IDC_REMAINING_LABEL,9,52,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
73    RTEXT           "Rates:",IDC_RATE_LABEL,9,64,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
74
75    RTEXT           "Seeds:",IDC_SEEDS_LABEL,97,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
76    RTEXT           "Overhead:",IDC_OVERHEAD_LABEL,97,40,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
77    RTEXT           "ETA:",IDC_ETA_LABEL,97,52,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
78    RTEXT           "Ratio:",IDC_RATIO_LABEL,97,64,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
79
80    LTEXT           "N/A",IDC_PEERS,53,28,39,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
81    LTEXT           "N/A",IDC_TRANSFERED,53,40,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
82    LTEXT           "N/A",IDC_REMAINING,53,52,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
83    LTEXT           "N/A",IDC_RATE,53,64,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
84
85    LTEXT           "N/A",IDC_SEEDS,141,28,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
86    LTEXT           "N/A",IDC_OVERHEAD,141,40,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
87    LTEXT           "N/A",IDC_ETA,141,52,39,8,SS_WORDELLIPSIS| SS_CENTERIMAGE
88    LTEXT           "N/A",IDC_RATIO,141,64,39,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
89END
90
91IDD_CONFIGBIT DIALOGEX 0, 0, 325, 155
92STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
93CAPTION "BitTorrent"
94FONT 8, "MS Shell Dlg", 400, 0, 0x1
95BEGIN
96    RTEXT           "Open a (single) port between : ",IDC_BITT_OPENPORT,12,31,120,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
97    EDITTEXT        IDC_BC_PORTFROM,135,29,65,12,ES_AUTOHSCROLL
98    EDITTEXT        IDC_BC_PORTTO,250,29,65,12,ES_AUTOHSCROLL
99    CONTROL         "Enable DHT",IDC_BC_DHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,120,90,10
100    CONTROL         "to",IDC_BC_PORTCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,205,29,40,12
101    LTEXT           "Select the (TCP) port (or range) on which to listen for incomming connections.",IDC_BITT_SELECT_TEXT,12,17,300,11,SS_WORDELLIPSIS | SS_CENTERIMAGE
102    GROUPBOX        "Distributed Hash Tables",IDC_BITT_GDHT,5,108,260,39
103    EDITTEXT        IDC_BC_DHTPORT,180,119,80,12,ES_AUTOHSCROLL
104    RTEXT           "Port (UDP) : ",IDC_BC_DHTPORT_S,110,121,70,8
105    CTEXT           "(DHT will not apply to private torrents)",IDC_BITT_DHT_NOTE,11,134,250,8,SS_WORDELLIPSIS | SS_CENTERIMAGE
106    GROUPBOX        "General Settings",IDC_BITT_GSETTINGS,5,6,315,54
107    EDITTEXT        IDC_BC_HALFCONN_NUM,205,44,65,12,ES_AUTOHSCROLL
108    CONTROL         "Limit the no. of half-open connections",IDC_BC_HALFCONN_CHECK,
109                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,45,190,12
110    GROUPBOX        "Port Forwarding",IDC_BITT_GPORTFORWARDING,5,6,315,54
111    CONTROL         "None (Managed Externally)",IDC_BITT_GPORTFORWARD_NONE,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,10
112    CONTROL         "UnPlug and Play",IDC_BITT_GPORTFORWARD_UPNG,"Button",BS_AUTORADIOBUTTON,284,83,16,10
113    CONTROL         "NAT-PMG",IDC_BIT_GPORTFORWARD_NATPMP,"Button",BS_AUTORADIOBUTTON,284,93,16,10
114    PUSHBUTTON      "Test",IDC_BITT_GPORTFORWARD_TEST,207,46,51,12,NOT WS_VISIBLE
115
116    LISTBOX         IDC_BITT_GPORTFORWARD_LIST,165,24,149,7,LBS_SORT|LBS_NOINTEGRALHEIGHT|WS_VSCROLL|WS_TABSTOP|NOT WS_VISIBLE
117//    RTEXT           "Need Help?",IDC_BC_HELP_LINK,229,139,51,8
118//    RTEXT           "Why?",IDC_BC_CON_WHY,239,47,31,8
119END
120
121IDD_CONFIGPROXY DIALOGEX 0, 0, 285, 155
122STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
123CAPTION "Proxies"
124FONT 8, "MS Shell Dlg", 400, 0, 0x1
125BEGIN
126    EDITTEXT        IDC_BC_PROXYIP,124,46,77,12,ES_AUTOHSCROLL
127    RTEXT           "Proxy Host/IP : ",IDC_BC_PROXYIP_S,68,48,55,12
128    CONTROL         "Use a proxy.",IDC_BC_PROXYCHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,48,59,8
129    RTEXT           "Port : ",IDC_BC_PROXYPORT_S,204,48,24,12
130    EDITTEXT        IDC_BC_PROXYPORT,229,46,42,12,ES_AUTOHSCROLL | ES_NUMBER
131    EDITTEXT        IDC_BC_PROXYUSER,54,62,89,12,ES_AUTOHSCROLL
132    RTEXT           "Username : ",IDC_BC_PROXYUSER_S,8,64,44,12
133    RTEXT           "Password : ",IDC_BC_PROXYPASS_S,146,64,39,12
134    EDITTEXT        IDC_BC_PROXYPASS,188,62,83,12,ES_PASSWORD | ES_AUTOHSCROLL
135    CONTROL         "Peer",IDC_PEERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,16,19,57,15
136    CONTROL         "Web Seed",IDC_WEBPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,81,19,57,15
137    CONTROL         "Tracker",IDC_TRACKERPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,146,19,57,15
138    CONTROL         "DHT",IDC_DHTPROXY,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE | WS_DISABLED,211,19,57,15
139    GROUPBOX        "Proxy Settings",IDC_STATIC,6,7,271,108
140END
141
142IDD_CONFIGSECURITY DIALOGEX 0, 0, 325, 155
143STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
144CAPTION "Security"
145FONT 8, "MS Shell Dlg", 400, 0, 0x1
146BEGIN
147    GROUPBOX        "IP Filtering",IDC_SECURITY_IPF_GB,5,6,315,30
148    CONTROL         "Enable IP filtering.",IDC_BC_FILTERCHECK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,18,105,12
149    PUSHBUTTON      "Import ipfilter.dat",IDC_BC_FILTERLOAD,220,17,95,14,WS_DISABLED
150    PUSHBUTTON      "Clear IP database",IDC_BC_FILTERCLEAR,120,17,95,14,WS_DISABLED
151    GROUPBOX        "Protocol Encryption",IDC_SECURITY_PE_GB,5,39,315,75
152    CONTROL         "Enable Protocol Encryption.",IDC_SC_ENABLE_PE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,12,50,175,10
153    GROUPBOX        "Connection Policies",IDC_SECURITY_CP_GB,194,49,120,58
154    LTEXT           "Incoming",IDC_SECURITY_INCOMING,200,61,50,9
155    RTEXT           "Outgoing",IDC_SECURITY_OUTGOING,255,61,50,9
156    CONTROL         "",IDC_SC_PE_CP_IN_FORCED,"Button",BS_AUTORADIOBUTTON|WS_GROUP,205,73,16,10
157    CONTROL         "",IDC_SC_PE_CP_IN_ENABLED,"Button",BS_AUTORADIOBUTTON,205,83,16,10
158    CONTROL         "",IDC_SC_PE_CP_IN_DISABLED,"Button",BS_AUTORADIOBUTTON,205,93,16,10
159    CTEXT           "Forced",IDC_SECURITY_FORCED,225,73,55,8
160    CTEXT           "Enabled",IDC_SECURITY_ENABLED,225,83,55,8
161    CTEXT           "Disabled",IDC_SECURITY_DISABLED,225,93,55,8
162    CONTROL         "",IDC_SC_PE_CP_OUT_FORCED,"Button",BS_AUTORADIOBUTTON|WS_GROUP,284,73,16,10,WS_EX_RIGHT
163    CONTROL         "",IDC_SC_PE_CP_OUT_ENABLED,"Button",BS_AUTORADIOBUTTON,284,83,16,10,WS_EX_RIGHT
164    CONTROL         "",IDC_SC_PE_CP_OUT_DISABLED,"Button",BS_AUTORADIOBUTTON,284,93,16,10,WS_EX_RIGHT
165    GROUPBOX        "Encoding Level",IDC_SECURITY_EL_GB,12,63,175,44
166    CONTROL         "Plaintext",IDC_SC_PE_ENC_PLAIN,"Button",BS_AUTORADIOBUTTON|WS_GROUP,18,73,160,10
167    CONTROL         "RC4",IDC_SC_PE_ENC_RC4,"Button",BS_AUTORADIOBUTTON,18,84,160,10
168    CONTROL         "Both",IDC_SC_PE_ENC_BOTH,"Button",BS_AUTORADIOBUTTON,18,95,75,10
169    CONTROL         "Prefer RC4",IDC_SC_PE_ENC_RC4_PERFER,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,100,95,80,10
170//    LTEXT           "Need Help?",IDC_SC_HELP_LINK,7,138,255,8
171END
172
173IDD_CONFIGREMOTE DIALOGEX 0, 0, 283, 94
174STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
175CAPTION "Remote Control"
176FONT 8, "MS Shell Dlg", 400, 0, 0x1
177BEGIN
178    GROUPBOX        "Remote Control Options",IDC_STATIC,6,6,271,30
179    CONTROL         "Enable Remote Control",IDC_REMOTECTRL,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,12,18,96,12
180    RTEXT           "Port to listen on : ",IDC_STATIC,159,19,66,11,WS_DISABLED
181    EDITTEXT        IDC_REMOTEPORT,229,18,42,12,ES_AUTOHSCROLL | WS_DISABLED
182    CTEXT           "*** Disabled ***",IDC_STATIC,32,44,217,11
183END
184
185IDD_THEMETEST DIALOGEX 0,0,186,94
186STYLE DS_CONTROL | DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_CHILDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_SYSMENU
187EXSTYLE WS_EX_TRANSPARENT | WS_EX_CONTROLPARENT
188FONT 8,"MS Shell Dlg",400,0,1
189BEGIN
190    AUTOCHECKBOX    "Check1",IDC_CHECK1,7,7,44,10
191    PUSHBUTTON      "Button1",IDC_BUTTON1,69,7,51,14
192    EDITTEXT        IDC_EDIT1,134,7,45,15,ES_AUTOHSCROLL
193    AUTORADIOBUTTON "Radio1",IDC_RADIO1,129,38,50,11,NOT WS_TABSTOP
194    EDITTEXT        IDC_EDIT2,14,62,45,15,WS_DISABLED | ES_AUTOHSCROLL
195    LTEXT           "Static",IDC_STATIC,85,59,68,10
196    LTEXT           "Static",IDC_STATIC,25,35,19,8
197    GROUPBOX        "Static",IDC_STATIC,10,25,98,25
198    LTEXT           "Static",IDC_STATIC,65,35,19,8
199END
200
201IDD_DEBUGDIALOG DIALOGEX 0,0,252,105
202STYLE DS_SETFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SIZEBOX | WS_SYSMENU
203EXSTYLE WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST
204CAPTION "Halite Debug Dialog"
205FONT 8,"MS Sans Serif",0,0,0
206BEGIN
207    EDITTEXT        ED_CON,3,3,246,99,WS_VSCROLL | ES_AUTOHSCROLL | ES_MULTILINE | ES_READONLY
208END
209
210IDD_PROGRESS DIALOGEX 0,0,191,46
211STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
212EXSTYLE WS_EX_TOOLWINDOW | WS_EX_STATICEDGE
213CAPTION "Halite importing IP ranges..."
214FONT 8,"MS Shell Dlg",400,0,1
215BEGIN
216    CONTROL         "",IDC_PROG_PROGRESS,"msctls_progress32",WS_BORDER,6,6,180,12
217    PUSHBUTTON      "Cancel",IDC_PROG_CANCEL,60,24,66,15
218END
219
220IDD_CONFIGTORRENT DIALOGEX 0, 0, 325, 165
221STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
222CAPTION "Torrents"
223FONT 8, "MS Shell Dlg", 400, 0, 0x1
224BEGIN
225    GROUPBOX        "Global Limits",IDC_CONFIGT_GLOBALG,5,6,315,55
226    EDITTEXT        IDC_BC_MAXCONN,118,29,42,12,ES_AUTOHSCROLL
227    RTEXT           "Total max connections :",IDC_CONFIGT_TOTALMAX,12,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
228    RTEXT           "Total upload slots :",IDC_CONFIGT_TOTALUP,12,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
229    EDITTEXT        IDC_BC_MAXUP,118,42,42,12,ES_AUTOHSCROLL
230    EDITTEXT        IDC_BC_DOWNRATE,271,29,42,12,ES_AUTOHSCROLL
231    RTEXT           "Download Rate (KB/s) :",IDC_CONFIGT_DOWNRATE,165,31,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
232    RTEXT           "Upload Rate (KB/s) :",IDC_CONFIGT_UPRATE,165,44,100,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
233    EDITTEXT        IDC_BC_UPRATE,271,42,42,12,ES_AUTOHSCROLL
234    EDITTEXT        IDC_BC_TMAXCONN,118,88,42,12,ES_AUTOHSCROLL
235    RTEXT           "Total max connections :",IDC_CONFIGT_TORMAX,12,91,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
236    RTEXT           "Total upload slots :",IDC_CONFIGT_TORUP,12,104,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
237    EDITTEXT        IDC_BC_TMAXUP,118,101,42,12,ES_AUTOHSCROLL
238    EDITTEXT        IDC_BC_TDOWNRATE,271,88,42,12,ES_AUTOHSCROLL
239    RTEXT           "Download Rate (KB/s) :",IDC_CONFIGT_TDOWNRATE,165,91,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
240    RTEXT           "Upload Rate (KB/s) :",IDC_CONFIGT_TORUPRATE,165,104,100,12,SS_WORDELLIPSIS|SS_CENTERIMAGE
241    EDITTEXT        IDC_BC_TUPRATE,271,101,42,12,ES_AUTOHSCROLL
242    GROUPBOX        "Torrent Defaults",IDC_CONFIGT_TORRENTG,5,66,315,82
243    LTEXT           "These options set global maximums which will always be honoured.",IDC_CONFIGT_GLOBAL_TEXT,12,16,300,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
244    LTEXT           "These options specify the default limits applied to new torrents.",IDC_CONFIGT_TOR_TEXT,12,76,301,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
245    RTEXT           "Default save folder :",IDC_CONFIGT_DEF_FOLDER,12,120,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
246    EDITTEXT        IDC_BC_SAVEFOLDER,118,119,170,12,ES_AUTOHSCROLL
247    PUSHBUTTON      "...",IDC_BC_SAVEBROWSE,293,118,18,13
248    AUTOCHECKBOX    "",IDC_BC_MOVETO_CHECK,118,133,10,11
249    RTEXT           "Move finished torrents to :",IDC_BC_MOVETO_TEXT,12,120,100,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
250    EDITTEXT        IDC_BC_MOVETO_FOLDER,118,119,170,12,ES_AUTOHSCROLL
251    PUSHBUTTON      "...",IDC_BC_MOVETO_BROWSE,293,118,18,13
252    AUTOCHECKBOX    "Review settings when adding torrent.",IDC_BC_PROMPTSAVE,118,133,195,11
253END
254
255IDD_NEWTORRENT DIALOGEX 0,0,229,132
256STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
257CAPTION "Files"
258FONT 8,"MS Shell Dlg",400,0,1
259BEGIN
260//    PUSHBUTTON      "Save",IDOK,130,114,45,14,BS_DEFPUSHBUTTON
261//    PUSHBUTTON      "Cancel",IDCANCEL,180,114,45,14
262    LTEXT           "Select a file or directory from which to construct the torrent.",IDC_NEWTORRENT_SELECT_TEXT,4,4,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
263    EDITTEXT        IDC_NEWT_FILE,4,15,203,12,ES_AUTOHSCROLL
264    PUSHBUTTON      "File",IDC_NEWT_FILE_BROWSE,212,14,25,13
265    PUSHBUTTON      "Dir.",IDC_NEWT_DIR_BROWSE,212,14,25,13
266    LISTBOX         IDC_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP|WS_VSCROLL|LBS_NOINTEGRALHEIGHT|LBS_SORT|NOT WS_VISIBLE
267    CONTROL         "",IDC_NEWT_LISTFILES,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
268    LTEXT           "Enter the tracker URLs for the torrent.",IDC_NEWTORRENT_TRACKERS_TEXT,4,32,221,11,NOT WS_VISIBLE
269    EDITTEXT        IDC_NEWT_TRACKER,4,42,193,12,ES_AUTOHSCROLL|NOT WS_VISIBLE
270//    AUTOCHECKBOX    "Have Halite acts a DHT node.",IDC_NEWT_DHTNODE,4,116,118,8,WS_DISABLED
271    AUTOCHECKBOX    "Private",IDC_NEWTORRENT_PRIVATE,4,116,118,8
272    PUSHBUTTON      "Add",IDC_NEWT_ADDTRACKER,202,41,23,13,NOT WS_VISIBLE
273    LTEXT           "Comment",IDC_NEWTORRENT_COMMENT_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
274    EDITTEXT        IDC_NEWTORRENT_COMMENT,4,15,203,12,ES_AUTOHSCROLL
275    LTEXT           "Creator",IDC_NEWTORRENT_CREATOR_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
276    EDITTEXT        IDC_NEWTORRENT_CREATOR,4,15,203,12,ES_AUTOHSCROLL
277END
278
279IDD_NEWT_TRACKERS DIALOGEX 0,0,229,132
280STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
281CAPTION "Trackers"
282FONT 8,"MS Shell Dlg",400,0,1
283BEGIN
284    CONTROL         "",IDC_NEWT_LISTTRACKERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,7,296,59
285//    LISTBOX         IDC_NEWT_LISTTRACKERS,4,57,221,52,WS_TABSTOP|WS_VSCROLL|LBS_NOINTEGRALHEIGHT|LBS_SORT
286    LTEXT           "Enter the tracker URLs for the torrent.",IDC_NEWTORRENT_TRACKERS_TEXT,4,32,221,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
287    EDITTEXT        IDC_NEWT_TRACKER,4,42,193,12,ES_AUTOHSCROLL
288    PUSHBUTTON      "Add",IDC_NEWT_ADDTRACKER,202,41,23,13
289END
290
291IDD_NEWT_DETAILS DIALOGEX 0,0,229,132
292STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
293CAPTION "Details"
294FONT 8,"MS Shell Dlg",400,0,1
295BEGIN
296    AUTOCHECKBOX    "Private",IDC_NEWTORRENT_PRIVATE,4,116,118,8
297    LTEXT           "Comment",IDC_NEWTORRENT_COMMENT_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
298    EDITTEXT        IDC_NEWTORRENT_COMMENT,4,15,203,12,ES_AUTOHSCROLL
299    LTEXT           "Creator",IDC_NEWTORRENT_CREATOR_TEXT,4,4,50,11,SS_WORDELLIPSIS|SS_CENTERIMAGE
300    EDITTEXT        IDC_NEWTORRENT_CREATOR,4,15,203,12,ES_AUTOHSCROLL
301END
302
303IDD_CLOSESPLASH DIALOGEX 0,0,191,54
304STYLE DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
305EXSTYLE WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST | WS_EX_STATICEDGE
306CAPTION "Halite shutting down..."
307FONT 8,"MS Shell Dlg",400,0,1
308BEGIN
309    ICON            IDR_APP_ICON,IDC_STATIC,7,10,21,20,SS_ICON
310    LTEXT           "It will take the BitTorrent session a moment to shutdown cleanly after which this message will disappear and the program will close.",IDC_STATIC,35,7,149,27
311    AUTOCHECKBOX    "Show this message in future",IDC_SPLASH_MSG,83,35,101,12
312END
313
314IDD_HALITEDLG DIALOGEX 0,0,370,73
315STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW | WS_CLIPCHILDREN
316FONT 8,"MS Shell Dlg",400,0,1
317BEGIN
318    PUSHBUTTON      "Pause",BTNPAUSE,314,3,52,14,BS_DEFPUSHBUTTON
319    PUSHBUTTON      "Reannounce",BTNREANNOUNCE,314,19,52,14
320    PUSHBUTTON      "Remove",BTNREMOVE,314,35,52,14
321    CONTROL         "",LISTPEERS,"SysListView32",WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,64,362,6
322    EDITTEXT        IDC_EDITTLU,277,36,34,12,ES_AUTOHSCROLL
323    EDITTEXT        IDC_EDITTLD,220,36,34,12,ES_AUTOHSCROLL
324    EDITTEXT        IDC_EDITNCD,220,12,34,12,ES_AUTOHSCROLL
325    EDITTEXT        IDC_EDITNCU,277,12,34,12,ES_AUTOHSCROLL
326    CONTROL         "",TORRENTPROG,"msctls_progress32",WS_BORDER,4,52,362,8
327    RTEXT           "Name:",IDC_NAME_STATIC,4,3,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
328    RTEXT           "Tracker:",IDC_TRACKER_STATIC,4,15,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
329    RTEXT           "Status:",IDC_STATUS_STATIC,4,27,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
330    RTEXT           "Time left:",IDC_TIME_STATIC,4,39,40,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
331    LTEXT           "N/A",IDC_NAME,45,3,145,10,SS_WORDELLIPSIS|SS_CENTERIMAGE
332    LTEXT           "N/A",IDC_TRACKER,45,15,145,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
333    LTEXT           "N/A",IDC_STATUS,45,27,145,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
334    LTEXT           "N/A",IDC_AVAIL,45,39,36,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
335    LTEXT           "Torrent connection limits:",IDC_NC,195,3,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
336    LTEXT           "Torrent transfer rates (KB/s):",IDC_TL,195,27,115,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
337    RTEXT           "Total",IDC_NCD,192,15,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
338    RTEXT           "Up",IDC_NCU,255,15,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
339    RTEXT           "Up",IDC_TLU,255,39,20,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
340    RTEXT           "Down",IDC_TLD,192,39,25,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
341    RTEXT           "Completed:",IDC_COMPLETED_STATIC,85,39,44,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
342    LTEXT           "N/A",IDC_COMPLETE,132,39,58,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
343    GROUPBOX        "",IDC_DETAILS_GROUP,1,-4,368,77,0,WS_EX_TRANSPARENT
344END
345
346IDD_ABOUT DIALOGEX 0, 0, 325, 155
347STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
348CAPTION "About"
349FONT 8, "MS Shell Dlg", 400, 0, 0x1
350BEGIN
351//    GROUPBOX        "Program Information",IDC_ABOUT_GROUP,5,6,315,136,WS_EX_TRANSPARENT
352    RTEXT           HALITE_VERSION_STRING,IDC_ABOUT_VERSION,190,145,130,9,WS_TABSTOP
353    LTEXT           "",IDC_EDITABOUT,8,15,265,125,WS_TABSTOP
354    CONTROL         "",IDC_RICHEDITABOUT,"RichEdit20A",WS_CHILD|WS_BORDER|ES_MULTILINE|ES_READONLY|WS_VSCROLL|WS_TABSTOP,5,6,315,136
355END
356
357IDD_ADVHALITEDLG DIALOGEX 0,0,317,72
358STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
359FONT 8,"MS Shell Dlg",400,0,1
360BEGIN
361    CONTROL         "",IDC_TAB,"SysTabControl32",0,1,0,315,71
362    RTEXT           "Static",IDC_ADVDLG_VERSION,235,2,78,8,SS_CENTERIMAGE
363END
364
365IDD_ADD_TORRENT DIALOGEX 0, 0, 230, 124
366STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_THICKFRAME
367EXSTYLE WS_EX_STATICEDGE
368CAPTION "Add Torrent"
369FONT 8, "MS Shell Dlg", 400, 0, 0x1
370BEGIN
371    PUSHBUTTON      "Ok",IDOK,85,65,62,13
372    PUSHBUTTON      "Cancel",IDCANCEL,155,65,62,13
373
374        LTEXT           "Torrent save folder:",IDC_ADDT_DEFFLD_TEXT,6,51,215,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
375    EDITTEXT        IDC_BC_SAVEFOLDER,5,5,195,13,ES_AUTOHSCROLL
376    PUSHBUTTON      "...",IDC_BC_SAVEBROWSE,205,5,18,13
377        CONTROL         "Move the completed torrent to:",IDC_ADDT_MOVETO_CHECK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,5,38,220,8
378        EDITTEXT        IDC_ADDT_MOVETO_FOLDER,5,5,195,13,ES_AUTOHSCROLL
379    PUSHBUTTON      "...",IDC_ADDT_MOVETO_BROWSE,205,5,18,13
380
381    CONTROL         "Use Compact Allocation.",IDC_CHECK_COMPACT,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,5,38,220,8
382    CONTROL         "Stopped initially (Allows changing advanced setting)",IDC_CHECK_PAUSED,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,5,25,220,8
383    LTEXT           "Note. Compact Allocation is incompatible with File Selection",IDC_ADDT_NOTE_TEXT,6,51,215,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
384END
385
386IDD_CONFIGGENERAL DIALOGEX 0, 0, 325, 90
387STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
388CAPTION "General"
389FONT 8, "MS Shell Dlg", 400, 0, 0x1
390BEGIN
391    CONTROL         "Allow only one instance to run",IDC_GENERAL_ONEINST,
392                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,16,150,11
393    GROUPBOX        "General Settings",IDC_GENERAL_GROUP,5,6,315,77
394    CONTROL         "Advanced GUI",IDC_GENERAL_ADVGUI,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,11
395    CONTROL         "Minimize to tray.",IDC_GENERAL_TRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,11
396    CONTROL         "Close to tray",IDC_GENERAL_CLOSETRAY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,42,150,11
397    CONTROL         "Confirm on close",IDC_GENERAL_CONFIRMCLOSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,29,150,11
398    LISTBOX         IDC_LANGLIST,165,24,149,70,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
399    CTEXT           "Language (requires restart)",IDC_GENERAL_LANG,165,13,150,8
400END
401
402IDD_ADVTRACKER DIALOGEX 0,0,305,69
403STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
404FONT 8,"MS Shell Dlg",400,0,1
405BEGIN
406    LTEXT           "List of Trackers.",IDC_TRACKER_LABEL,7,6,95,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
407    PUSHBUTTON      "Apply",IDC_TRACKER_APPLY,126,3,32,14,WS_DISABLED
408    PUSHBUTTON      "Reset",IDC_TRACKER_RESET,92,3,32,14
409    AUTOCHECKBOX    "Send login info to trackers.",IDC_TRACKER_LOGINCHECK,166,4,101,12
410    EDITTEXT        IDC_TRACKER_USER,208,18,92,12,ES_AUTOHSCROLL
411    EDITTEXT        IDC_TRACKER_PASS,208,32,92,12,ES_AUTOHSCROLL | ES_PASSWORD
412    RTEXT           "Username : ",IDC_TRACKER_USER_S,164,20,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
413    RTEXT           "Password : ",IDC_TRACKER_PASS_S,164,34,42,8,SS_WORDELLIPSIS|SS_CENTERIMAGE
414    CONTROL         "",IDC_TRACKERLIST,"SysListView32",WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT,4,19,154,47
415    PUSHBUTTON      "Apply",IDC_LOGIN_APPLY,207,46,51,14,BS_DEFPUSHBUTTON
416    PUSHBUTTON      "Reannounce",IDC_REANNOUNCE,207,46,51,14
417END
418
419IDD_ADVDEBUGLOG DIALOGEX 0,0,305,81
420STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILDWINDOW
421FONT 8,"MS Shell Dlg",400,0,1
422BEGIN
423    CONTROL         "",IDC_DEBUGLISTVIEW,"SysListView32",WS_TABSTOP|WS_BORDER|LVS_ALIGNLEFT|LVS_REPORT,4,7,296,59
424    AUTOCHECKBOX    "Log to file.",IDC_DEBUGFILECHECK,4,69,44,9
425    AUTOCHECKBOX    "Log debug events.",IDC_DEBUGDEBUGCHECK,48,69,198,9
426END
427
428IDD_TRACKEDIT DIALOGEX 0,0,186,50
429STYLE DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SETFONT | DS_FIXEDSYS | WS_VISIBLE | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP | WS_SYSMENU
430EXSTYLE WS_EX_TOOLWINDOW
431CAPTION "Add New Tracker"
432FONT 8,"MS Shell Dlg 2",400,0,1
433BEGIN
434    PUSHBUTTON      "OK",IDOK,41,31,50,14,BS_DEFPUSHBUTTON
435    PUSHBUTTON      "Cancel",IDCANCEL,95,31,50,14
436    LTEXT           "Tracker URL",IDC_STATIC,5,5,47,10
437    EDITTEXT        IDC_TRACKER_EDIT_URL,4,15,145,12,ES_AUTOHSCROLL
438    EDITTEXT        IDC_TRACKER_EDIT_TIER,153,15,30,12,ES_AUTOHSCROLL
439    LTEXT           "Tier",IDC_STATIC,155,5,15,10
440END
441
442IDD_ADVPEER DIALOGEX 0, 0, 305, 69
443STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
444FONT 8, "MS Shell Dlg", 400, 0, 0x1
445BEGIN
446    CONTROL         "",IDC_PEERLIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,4,7,297,59
447END
448
449IDD_ADVFILES DIALOGEX 0, 0, 305, 81
450STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
451FONT 8, "MS Shell Dlg", 400, 0, 0x1
452BEGIN
453    LTEXT           "",IDC_CONTAINER,4,7,297,70,0
454END
455
456IDR_TRAY_MENU MENU
457BEGIN
458    POPUP "_POPUP_"
459    BEGIN
460        MENUITEM "Open &Halite",ID_TRAY_OPENHALITE
461        MENUITEM SEPARATOR
462        MENUITEM "&Pause All",ID_TRAY_PAUSEALL
463        MENUITEM "&Resume All",ID_TRAY_RESUMEALL
464        MENUITEM SEPARATOR
465        MENUITEM "E&xit",ID_TRAY_EXIT
466    END
467END
468
469IDR_LISTVIEW_MENU MENU
470BEGIN
471    POPUP "_POPUP_"
472    BEGIN
473        MENUITEM "Resume",ID_LVM_RESUME
474        MENUITEM "Pause",ID__LVM_PAUSE
475        MENUITEM "Stop",ID_LVM_STOP
476        MENUITEM "Recheck Files",ID_LVM_RECHECK
477        MENUITEM SEPARATOR
478    //    MENUITEM "Reannounce",ID_TLVM_PRIMARY
479        POPUP "Remove"
480        BEGIN
481            MENUITEM "Torrent File",ID_LVM_REMOVE_T
482            MENUITEM "Torrent and Data",ID_LVM_REMOVE_TD
483        END
484        MENUITEM SEPARATOR
485        MENUITEM "Open Download Folder",ID_LVM_DOWNLOAD_FOLDER
486    END
487END
488
489IDR_TRACKERLV_MENU MENU
490BEGIN
491    POPUP "_POPUP_"
492    BEGIN
493        MENUITEM "New",ID_TLVM_NEW
494        MENUITEM "Edit",ID_TLVM_EDIT
495        MENUITEM "Set as Primary",ID_TLVM_PRIMARY
496        MENUITEM SEPARATOR
497        MENUITEM "Delete",ID_TLVM_DELETE
498    END
499END
500
5011 VERSIONINFO
502    FILEVERSION     HALITE_VERSION
503    PRODUCTVERSION  HALITE_VERSION
504    FILEOS          VOS_UNKNOWN
505    FILETYPE        VFT_UNKNOWN
506BEGIN
507    BLOCK "StringFileInfo"
508    BEGIN
509        BLOCK "180904b0"
510        BEGIN
511            VALUE "Comments", "libTorrrent based client."
512            VALUE "CompanyName", "BinaryNotions.com"
513            VALUE "FileDescription", "Halite BitTorrent Client"
514            VALUE "FileVersion", HALITE_VERSION_STRING
515            VALUE "InternalName", "Halite"
516            VALUE "LegalCopyright", "(C) Eoin O'Callaghan 2008"
517            VALUE "OriginalFilename", "Halite.exe"
518            VALUE "ProductName", "Halite"
519            VALUE "ProductVersion", HALITE_VERSION_STRING
520        END
521    END
522    BLOCK "VarFileInfo"
523    BEGIN
524        VALUE "Translation", 6153, 1200
525    END
526END
527
528STRINGTABLE
529BEGIN
530        HAL_NEW_PANE_DLG                          "Construct a New Torrent"
531    IDPANE_STATUS                 "(D-U) 0000.000KB/s - 0000.000KB/s"
532    IDPANE_CAPS_INDICATOR         "CAPS"
533    IDPANE_DHT                    "0000 DHT node(s)"
534    IDPANE_FILTER                 "Filtering 0000000 ranges."
535    IDS_TRYANOTHERPORT            "The BitTorrent session could not start. Try selecting another port in the settings."
536    IDS_DHTTRYANOTHERPORT         "DHT session could not start. Try selecting another port in the settings."
537    IDS_SAVEPROMPT                "Select a directory to save the files to or cancel to not download torrent at all."
538    IDS_NA                        "N/A"
539    HAL_HALITE                    "Halite"
540    HAL_INF                       "∞"
541    HAL_COMPLETED_SUMMARY         "%1$.2fMB of %2$.2fMB"
542    HAL_DOWNLOAD_SUMMARY          "This Session Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
543    HAL_DOWNLOADT_SUMMARY         "Downloaded %1$.2fMB, Uploaded %2$.2fMB, Ratio %3$.2f."
544    HAL_PAYLOAD_SUMMARY           "Total transfer including protocol overhead; %1$.2fMB down and %2$.2fMB up."
545        HAL_NAME_STATUS                           "%1%, %2%."
546    HAL_TRANSFERED                                "%1$.2fMB down - %2$.2fMB up"
547    HAL_REMAINING                                 "%1$.2fMB of %2$.2fMB"
548    HAL_RATE                                      "%1$.2fKB/s down - %2$.2fKB/s up"
549    HAL_DHT_ON                    "%1% DHT node(s)"
550    HAL_DHT_OFF                   "DHT disabled"
551    HAL_IPFILTER_ON               "Filtering %1% range(s)"
552    HAL_IPFILTER_OFF              "IP filter disabled"
553    HAL_EVENT_STDEXP              "Standard exception (%1%) thrown from %2%."
554    HAL_DOWN_RATES                "(D-U) %1$.2fKB/s - %2$.2fKB/s"
555    HAL_NOT_LISTENING             "Halite not listening!"
556    HAL_PORT_OPEN                 "Port %1% open"
557    HAL_VERSION_STRING            HALITE_VERSION_STRING
558        HAL_FOLDER_SELECT                         "Select a directory to save the downloads to. Select cancel to accept default 'incoming' location."
559        HAL_TORRENT_TAB                           "Torrent"
560        HAL_PEERS_TAB                             "Peers"
561        HAL_FILES_TAB                             "Files"
562        HAL_TRACKER_TAB                           "Tracker"
563        HAL_DEBUG_TAB                             "Logging"
564        HAL_INCORRECT_ENCODING_LEVEL  "An invalid encoding level, %1%, was passed as an encryption setting."
565        HAL_INCORRECT_CONNECT_POLICY  "An invalid connection policy, %1%, was passed as an encryption setting."
566        HAL_AUTOSORT                              "Auto Sort"
567        HAL_TORRENT_ROOT                          "Torrent Root"
568        HAL_WINDOW_CLOSECONFRIM           "Are you sure you wish to close Halite? Doing so will stop any active torrents"
569        HAL_WINDOW_SOCKETS_FAILED     "The socket infrastructure failed to start so Halite is forced to close. Please ensure no program is blocking Halites network access."
570END
571
572STRINGTABLE
573BEGIN
574    HAL_PEER_INTERESTING                "Interesting"
575    HAL_PEER_CHOKED                     "Choked"
576    HAL_PEER_REMOTE_INTERESTING         "Interested in us"
577    HAL_PEER_REMOTE_CHOKED              "Has choked us"
578    HAL_PEER_SUPPORT_EXTENSIONS         "Supports extensions"
579    HAL_PEER_LOCAL_CONNECTION           "Local connection"
580    HAL_PEER_HANDSHAKE                  "Handshake"
581    HAL_PEER_CONNECTING                 "Connecting"
582    HAL_PEER_QUEUED                             "Queued"
583    HAL_PEER_RC4_ENCRYPTED              "RC4 Encrypted"
584    HAL_PEER_PLAINTEXT_ENCRYPTED    "Plaintext Encrypted"
585END
586
587STRINGTABLE
588BEGIN
589    HAL_TORRENT_QUEUED_CHECKING "Queued for Checking"
590    HAL_TORRENT_CHECKING_FILES "Checking Files"
591    HAL_TORRENT_CONNECTING  "Connecting to Tracker"
592    HAL_TORRENT_DOWNLOADING "Downloading"
593    HAL_TORRENT_FINISHED    "Finished"
594    HAL_TORRENT_SEEDING     "Seeding"
595    HAL_TORRENT_ALLOCATING  "Allocating"
596    HAL_TORRENT_QUEUED      "Queued"
597        HAL_TORRENT_STOPPED             "Stopped"
598        HAL_TORRENT_PAUSED              "Paused"
599        HAL_TORRENT_STOPPING    "Stopping"
600        HAL_TORRENT_PAUSING             "Pausing"
601        HAL_TORRENT_METADATA    "Downloading Metadata"
602END
603
604STRINGTABLE
605BEGIN
606        HAL_LISTVIEW_COLUMNS              "Name;Status;Progress;Download;Upload;Peers;Seeds;ETA;Copies;Tracker;Reannounce;Ratio;Total;Completed;Remaining;Downloaded;Uploaded;Active;Seeding;Start Time;Finish Time"
607        HAL_DEBUG_LISTVIEW_COLUMNS        "Time;Message;Severity"
608        HAL_TRACKER_LISTVIEW_COLUMNS  "Tracker;Tier"
609        HAL_DIALOGPEER_LISTVIEW_COS       "Peer;Country;Download;Upload;Type;Client"
610        HAL_DIALOGPEER_LISTVIEW_ADV       "Peer;Country;Download;Upload;Type;Client;Status"
611        HAL_DIALOGFILE_LISTVIEW_ADV       "Filename;Path;Size;Progress;Priority"
612        HAL_FILES_LISTVIEW_ADV    "Filename;Path;Size"
613
614        HAL_FILE_PRIORITY_0     "Don't download"
615        HAL_FILE_PRIORITY_1     "Normal"
616        HAL_FILE_PRIORITY_2     "2"
617        HAL_FILE_PRIORITY_3     "3"
618        HAL_FILE_PRIORITY_4     "4"
619        HAL_FILE_PRIORITY_5     "Above Normal"
620        HAL_FILE_PRIORITY_6     "6"
621        HAL_FILE_PRIORITY_7     "Maximum"
622END
623
624IDR_FILESLISTVIEW_MENU MENU
625BEGIN
626    POPUP "_POPUP_"
627    BEGIN
628        POPUP "Set Priority"
629        BEGIN
630            MENUITEM "Don't download",ID_HAL_FILE_PRIORITY_0
631            MENUITEM "Normal",ID_HAL_FILE_PRIORITY_1
632//            MENUITEM "2",ID_HAL_FILE_PRIORITY_2
633//            MENUITEM "3",ID_HAL_FILE_PRIORITY_3
634//            MENUITEM "4",ID_HAL_FILE_PRIORITY_4
635            MENUITEM "Above Normal",ID_HAL_FILE_PRIORITY_5
636//            MENUITEM "6",ID_HAL_FILE_PRIORITY_6
637            MENUITEM "Maximum",ID_HAL_FILE_PRIORITY_7
638        END
639    END
640END
641
642IDR_MAINFRAME TOOLBAR 22,22
643BEGIN
644    BUTTON      ID_FILE_NEW
645    BUTTON      ID_FILE_OPEN
646    SEPARATOR
647    BUTTON      ID_SETTINGS
648    BUTTON      ID_ADVANCED
649    SEPARATOR
650    BUTTON      ID_RESUME
651    BUTTON      ID_PAUSE
652    SEPARATOR
653    BUTTON      ID_HELP
654END
655
656IDR_APP_ICON        ICON          "Halite.ico"
657IDR_MAINFRAME       BITMAP        "toolbar.bmp"
658
659STRINGTABLE
660BEGIN
661    HAL_EVENTNONE                 "None"
662    HAL_EVENTDEBUG                "Debug"
663    HAL_EVENTINFO                 "Info"
664    HAL_EVENTWARNING              "Warning"
665    HAL_EVENTCRITICAL             "Critical"
666
667    HAL_PEER_ALERT                "Peer %2%: %1%."
668    HAL_PEER_BAN_ALERT            "Peer banned %2%. (%1%)"
669        HAL_HASH_FAIL_ALERT                       "Hash failed for piece %2% of %1%."
670        HAL_URL_SEED_ALERT                        "URL Seed %2%, %3%. (%1%)"
671        HAL_TRACKER_WARNING_ALERT         "Tracker warning: %2%! (%1%)"
672        HAL_TRACKER_ANNOUNCE_ALERT        "Tracker Announce. (%1%)"
673        HAL_TRACKER_ALERT                         "Alert %2%, Status code: %4%, Times %3%. (%1%)"
674        HAL_TRACKER_REPLY_ALERT           "%2%. %3% Peers. (%1%)"
675        HAL_FAST_RESUME_ALERT                   "Fast rusume failed: %2%. (%1%)"
676        HAL_PIECE_FINISHED_ALERT                "Piece %2% finished. (%1%)"
677        HAL_BLOCK_FINISHED_ALERT                "Block %2% of piece %3% finished. (%1%)"
678        HAL_BLOCK_DOWNLOADING_ALERT             "Block %2% of piece %3% downloading. (%1%)"
679        HAL_LISTEN_SUCCEEDED_ALERT              "Successfully %1%."
680        HAL_LISTEN_FAILED_ALERT                 "Failed, %1%"
681        HAL_LISTEN_V6_FAILED_ALERT              "IP version 6 listen atempt failed. Not serious."
682        HAL_IPFILTER_ALERT                              "IP Filter blocked %1%, %2%."
683
684        LBT_EVENT_TORRENT_FINISHED    "Torrent %1% finished."
685        LBT_EVENT_TORRENT_PAUSED      "Torrent %1% paused."
686    HAL_EVENT_TORRENTEXP          "Torrent (%1%) exception caught; %2% from %3%."
687    HAL_EVENT_INVTORRENT          "Invalid torrent (%1%) from %2%."
688
689        HAL_EVENT_EXP                 "Exception caught; %1%, from %2%."
690    HAL_EVENT_XML_EXP              "Xml Exception (%1%) with %2%."
691        HAL_EVENT_UNICODE_EXP         "Unicode exception: %1%."
692        HAL_EVENT_UNCLASSIFIED            "Bittorrent Event: %1%."
693        HAL_EVENT_PEER                            "Peer Event: %1%."
694        HAL_EVENT_TRACKER                         "Tracker Event: %1%."
695        HAL_EVENT_DEBUG                           "Debug Event: %1%."
696        HAL_EVENT_DEV                             "Dev Msg: %1%."
697END
698
699#if 0
700
701IDD_DIALOG1 DIALOGEX 0, 0, 186, 95
702STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
703CAPTION "Dialog"
704FONT 8, "MS Shell Dlg", 400, 0, 0x1
705BEGIN
706    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
707    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
708END
709
710IDD_DIALOG2 DIALOGEX 0, 0, 186, 94
711STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
712CAPTION "Dialog"
713FONT 8, "MS Shell Dlg", 400, 0, 0x1
714BEGIN
715    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
716    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
717END
718
719IDD_DIALOG3 DIALOGEX 0, 0, 186, 95
720STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
721EXSTYLE WS_EX_TOOLWINDOW
722CAPTION "Dialog"
723FONT 8, "MS Shell Dlg", 400, 0, 0x1
724BEGIN
725    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
726    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
727END
728
729IDD_DIALOG4 DIALOGEX 0, 0, 186, 94
730STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU
731FONT 8, "MS Shell Dlg", 400, 0, 0x1
732BEGIN
733    DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
734    PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
735END
736
737#endif
Note: See TracBrowser for help on using the repository browser.