1// Microsoft Visual C++ generated resource script.
2//
3#include "resource.h"
4
5#define APSTUDIO_READONLY_SYMBOLS
6/////////////////////////////////////////////////////////////////////////////
7//
8// Generated from the TEXTINCLUDE 2 resource.
9//
10#include "winres.h"
11
12/////////////////////////////////////////////////////////////////////////////
13#undef APSTUDIO_READONLY_SYMBOLS
14
15/////////////////////////////////////////////////////////////////////////////
16// English (United Kingdom) resources
17
18#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
19LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
20#pragma code_page(1252)
21
22#ifdef APSTUDIO_INVOKED
23/////////////////////////////////////////////////////////////////////////////
24//
25// TEXTINCLUDE
26//
27
281 TEXTINCLUDE
29BEGIN
30    "resource.h\0"
31END
32
332 TEXTINCLUDE
34BEGIN
35    "#include ""winres.h""\r\n"
36    "\0"
37END
38
393 TEXTINCLUDE
40BEGIN
41    "\r\n"
42    "\0"
43END
44
45#endif    // APSTUDIO_INVOKED
46
47
48/////////////////////////////////////////////////////////////////////////////
49//
50// Icon
51//
52
53// Icon with lowest ID value placed first to ensure application icon
54// remains consistent on all systems.
55IDI_ICON1               ICON                    "subvol.ico"
56
57
58/////////////////////////////////////////////////////////////////////////////
59//
60// Version
61//
62
63VS_VERSION_INFO VERSIONINFO
64 FILEVERSION 1,0,2,0
65 PRODUCTVERSION 1,0,2,0
66 FILEFLAGSMASK 0x17L
67#ifdef _DEBUG
68 FILEFLAGS 0x1L
69#else
70 FILEFLAGS 0x0L
71#endif
72 FILEOS 0x4L
73 FILETYPE 0x1L
74 FILESUBTYPE 0x0L
75BEGIN
76    BLOCK "StringFileInfo"
77    BEGIN
78        BLOCK "080904b0"
79        BEGIN
80            VALUE "FileDescription", "WinBtrfs shell extension"
81            VALUE "FileVersion", "1.0.2"
82            VALUE "InternalName", "btrfs"
83            VALUE "LegalCopyright", "Copyright (c) Mark Harmstone 2016-18"
84            VALUE "OriginalFilename", "shellbtrfs.dll"
85            VALUE "ProductName", "WinBtrfs"
86            VALUE "ProductVersion", "1.0.2"
87        END
88    END
89    BLOCK "VarFileInfo"
90    BEGIN
91        VALUE "Translation", 0x809, 1200
92    END
93END
94
95
96/////////////////////////////////////////////////////////////////////////////
97//
98// Dialog
99//
100
101IDD_PROP_SHEET DIALOGEX 0, 0, 235, 245
102STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
103CAPTION "Inode property sheet"
104FONT 8, "MS Shell Dlg", 400, 0, 0x0
105BEGIN
106    LTEXT           "Subvolume:",IDC_STATIC,14,21,38,8
107    LTEXT           "Inode:",IDC_STATIC,14,35,21,8
108    GROUPBOX        "Information",IDC_GROUP_INFORMATION,7,7,221,71
109    LTEXT           "Type:",IDC_STATIC,14,49,18,8
110    GROUPBOX        "POSIX permissions",IDC_STATIC,7,82,221,102
111    LTEXT           "User:",IDC_STATIC,14,97,17,8
112    LTEXT           "Group:",IDC_STATIC,14,113,22,8
113    EDITTEXT        IDC_UID,94,95,40,14,ES_AUTOHSCROLL | ES_NUMBER
114    EDITTEXT        IDC_GID,94,111,40,14,ES_AUTOHSCROLL | ES_NUMBER
115    LTEXT           "User",IDC_STATIC,14,144,15,8
116    LTEXT           "Group",IDC_STATIC,14,156,20,8
117    LTEXT           "Others",IDC_STATIC,14,168,22,8
118    LTEXT           "Read",IDC_STATIC,50,134,17,8
119    LTEXT           "Write",IDC_STATIC,89,134,18,8
120    LTEXT           "Execute",IDC_STATIC,129,134,30,8
121    CONTROL         "",IDC_USERR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,147,16,10
122    CONTROL         "",IDC_GROUPR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,158,16,10
123    CONTROL         "",IDC_OTHERR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,168,16,10
124    CONTROL         "",IDC_USERW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,93,147,16,10
125    CONTROL         "",IDC_GROUPW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,93,158,16,10
126    CONTROL         "",IDC_OTHERW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,93,168,16,10
127    CONTROL         "",IDC_USERX,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,135,147,16,10
128    CONTROL         "",IDC_GROUPX,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,135,158,16,10
129    CONTROL         "",IDC_OTHERX,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,135,168,16,10
130    GROUPBOX        "Flags",IDC_STATIC,7,190,221,48
131    CONTROL         "Disable Copy-on-Write",IDC_NODATACOW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,204,86,10
132    LTEXT           "(blank)",IDC_INODE,78,35,70,8
133    LTEXT           "(blank)",IDC_TYPE,78,49,116,8
134    CONTROL         "Compress",IDC_COMPRESS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,218,46,10
135    LTEXT           "Size on disk:",IDC_STATIC,14,63,61,8
136    CONTROL         "%s (<a>Details</a>)",IDC_SIZE_ON_DISK,"SysLink",WS_TABSTOP,78,63,142,8
137    COMBOBOX        IDC_COMPRESS_TYPE,63,217,48,13,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
138    CONTROL         "Readonly subvolume",IDC_SUBVOL_RO,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,124,204,80,10
139    LTEXT           "(blank)",IDC_SUBVOL,78,21,70,8
140    PUSHBUTTON      "&Open as Admin",IDC_OPEN_ADMIN,151,21,70,14
141    CONTROL         "Set UID",IDC_SETUID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,177,147,40,10
142    CONTROL         "Set GID",IDC_SETGID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,177,158,40,10
143    CONTROL         "Sticky",IDC_STICKY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,177,168,34,10
144END
145
146IDD_SIZE_DETAILS DIALOGEX 0, 0, 212, 85
147STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
148CAPTION "Size details"
149FONT 8, "MS Shell Dlg", 400, 0, 0x1
150BEGIN
151    DEFPUSHBUTTON   "OK",IDOK,81,64,50,14
152    LTEXT           "Inline:",IDC_STATIC,7,7,21,8
153    LTEXT           "Uncompressed:",IDC_STATIC,7,20,49,8
154    LTEXT           "ZLIB:",IDC_STATIC,7,33,18,8
155    LTEXT           "LZO:",IDC_STATIC,7,46,16,8
156    LTEXT           "(blank)",IDC_SIZE_INLINE,63,7,142,8
157    LTEXT           "(blank)",IDC_SIZE_UNCOMPRESSED,63,20,142,8
158    LTEXT           "(blank)",IDC_SIZE_ZLIB,63,33,142,8
159    LTEXT           "(blank)",IDC_SIZE_LZO,63,46,142,8
160END
161
162IDD_VOL_PROP_SHEET DIALOGEX 0, 0, 235, 251
163STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
164CAPTION "s"
165FONT 8, "MS Shell Dlg", 400, 0, 0x0
166BEGIN
167    PUSHBUTTON      "Show &usage...",IDC_VOL_SHOW_USAGE,154,47,67,19
168    PUSHBUTTON      "&Balance...",IDC_VOL_BALANCE,154,105,67,19
169    PUSHBUTTON      "&Devices...",IDC_VOL_DEVICES,154,162,67,19
170    LTEXT           "UUID:",IDC_STATIC,7,15,20,8
171    LTEXT           "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",IDC_UUID,32,15,294,8
172    GROUPBOX        "Usage",IDC_STATIC,7,31,221,53
173    LTEXT           "Show detailed information about internal filesystem usage. This is the equivalent to the command ""btrfs fi usage"" on Linux.",IDC_STATIC,14,44,131,33
174    GROUPBOX        "Balance",IDC_STATIC,7,87,221,53
175    LTEXT           "Balancing reads and rewrites data and metadata. It can be used to consolidate free space, as well as to convert between different RAID types.",IDC_STATIC,15,98,131,39
176    GROUPBOX        "Devices",IDC_STATIC,7,146,221,45
177    LTEXT           "Allows you to add disks or partitions to this filesystem, or remove those already present.",IDC_STATIC,14,159,131,30
178    GROUPBOX        "Scrub",IDC_STATIC,7,199,221,45
179    LTEXT           "Scrubbing verifies the data and metadata of a filesystem, and where possible will correct any errors.",IDC_STATIC,15,212,131,27
180    PUSHBUTTON      "&Scrub...",IDC_VOL_SCRUB,154,215,67,19
181END
182
183IDD_VOL_USAGE DIALOGEX 0, 0, 235, 242
184STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
185CAPTION "Volume usage"
186FONT 8, "MS Shell Dlg", 400, 0, 0x1
187BEGIN
188    DEFPUSHBUTTON   "OK",IDOK,62,221,50,14
189    PUSHBUTTON      "&Refresh",IDC_USAGE_REFRESH,124,221,50,14
190    EDITTEXT        IDC_USAGE_BOX,7,7,221,208,ES_MULTILINE | ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL
191END
192
193IDD_BALANCE_OPTIONS DIALOGEX 0, 0, 303, 138
194STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
195CAPTION "Balance options"
196FONT 8, "MS Shell Dlg", 400, 0, 0x1
197BEGIN
198    DEFPUSHBUTTON   "OK",IDOK,91,117,50,14
199    PUSHBUTTON      "Cancel",IDCANCEL,161,117,50,14
200    CONTROL         "&Profiles:",IDC_PROFILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,6,41,10
201    CONTROL         "Single",IDC_PROFILES_SINGLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,19,35,10
202    CONTROL         "DUP",IDC_PROFILES_DUP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,30,29,10
203    CONTROL         "RAID0",IDC_PROFILES_RAID0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,41,36,10
204    CONTROL         "RAID1",IDC_PROFILES_RAID1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,52,36,10
205    CONTROL         "RAID10",IDC_PROFILES_RAID10,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,52,19,39,10
206    CONTROL         "RAID5",IDC_PROFILES_RAID5,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,52,30,36,10
207    CONTROL         "RAID6",IDC_PROFILES_RAID6,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,52,41,36,10
208    CONTROL         "&Usage:",IDC_USAGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,80,37,10
209    EDITTEXT        IDC_USAGE_START,7,94,19,14,ES_AUTOHSCROLL | ES_NUMBER
210    CONTROL         "",IDC_USAGE_START_SPINNER,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,25,94,11,14
211    EDITTEXT        IDC_USAGE_END,58,94,19,14,ES_AUTOHSCROLL | ES_NUMBER
212    CONTROL         "",IDC_USAGE_END_SPINNER,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,77,94,11,14
213    LTEXT           "% to",IDC_STATIC,39,97,16,8
214    CONTROL         "&Device:",IDC_DEVID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,104,6,34,10
215    COMBOBOX        IDC_DEVID_COMBO,141,6,155,30,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
216    LTEXT           "%",IDC_STATIC,91,97,8,8
217    CONTROL         "Device &range:",IDC_DRANGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,104,19,59,10
218    EDITTEXT        IDC_DRANGE_END,159,32,40,14,ES_AUTOHSCROLL | ES_NUMBER
219    LTEXT           "to",IDC_STATIC,148,34,8,8
220    EDITTEXT        IDC_DRANGE_START,104,32,40,14,ES_AUTOHSCROLL | ES_NUMBER
221    CONTROL         "&Virtual range:",IDC_VRANGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,104,49,59,10
222    EDITTEXT        IDC_VRANGE_END,160,62,40,14,ES_AUTOHSCROLL | ES_NUMBER
223    LTEXT           "to",IDC_STATIC,148,64,8,8
224    EDITTEXT        IDC_VRANGE_START,104,62,40,14,ES_AUTOHSCROLL | ES_NUMBER
225    CONTROL         "&Limit:",IDC_LIMIT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,104,80,33,10
226    EDITTEXT        IDC_LIMIT_START,104,94,19,14,ES_AUTOHSCROLL | ES_NUMBER
227    CONTROL         "",IDC_LIMIT_START_SPINNER,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,123,94,11,14
228    EDITTEXT        IDC_LIMIT_END,150,94,19,14,ES_AUTOHSCROLL | ES_NUMBER
229    CONTROL         "",IDC_LIMIT_END_SPINNER,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,169,94,11,14
230    LTEXT           "to",IDC_STATIC,139,97,8,8
231    CONTROL         "&Stripes:",IDC_STRIPES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,210,19,40,10
232    EDITTEXT        IDC_STRIPES_START,210,32,19,14,ES_AUTOHSCROLL | ES_NUMBER
233    CONTROL         "",IDC_STRIPES_START_SPINNER,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,228,32,11,14
234    EDITTEXT        IDC_STRIPES_END,253,32,19,14,ES_AUTOHSCROLL | ES_NUMBER
235    CONTROL         "",IDC_STRIPES_END_SPINNER,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,272,32,11,14
236    LTEXT           "to",IDC_STATIC,242,35,8,8
237    CONTROL         "&Convert:",IDC_CONVERT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,210,49,36,10
238    COMBOBOX        IDC_CONVERT_COMBO,248,49,48,30,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
239    CONTROL         "So&ft",IDC_SOFT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,210,64,28,10
240END
241
242IDD_BALANCE DIALOGEX 0, 0, 254, 167
243STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
244CAPTION "Balance"
245FONT 8, "MS Shell Dlg", 400, 0, 0x1
246BEGIN
247    DEFPUSHBUTTON   "OK",IDOK,102,146,50,14
248    CONTROL         "",IDC_BALANCE_PROGRESS,"msctls_progress32",WS_BORDER,7,95,240,14
249    CONTROL         "&Data",IDC_DATA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,7,30,10
250    CONTROL         "&Metadata",IDC_METADATA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,28,45,10
251    CONTROL         "&System",IDC_SYSTEM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,51,38,10
252    PUSHBUTTON      "Options...",IDC_DATA_OPTIONS,70,6,50,14
253    PUSHBUTTON      "Options...",IDC_METADATA_OPTIONS,70,26,50,14
254    PUSHBUTTON      "Options...",IDC_SYSTEM_OPTIONS,70,47,50,14
255    LTEXT           "Status",IDC_BALANCE_STATUS,8,80,239,8
256    PUSHBUTTON      "&Start balance",IDC_START_BALANCE,13,117,69,14
257    PUSHBUTTON      "&Pause / resume",IDC_PAUSE_BALANCE,93,117,69,14
258    PUSHBUTTON      "&Cancel balance",IDC_CANCEL_BALANCE,173,117,69,14
259END
260
261IDD_DEVICES DIALOGEX 0, 0, 318, 203
262STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
263CAPTION "Devices"
264FONT 8, "MS Shell Dlg", 400, 0, 0x1
265BEGIN
266    DEFPUSHBUTTON   "OK",IDOK,207,182,50,14
267    PUSHBUTTON      "Cancel",IDCANCEL,261,182,50,14
268    CONTROL         "",IDC_DEVLIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,7,7,304,144
269    PUSHBUTTON      "&Add device...",IDC_DEVICE_ADD,7,182,76,14
270    PUSHBUTTON      "&Refresh",IDC_DEVICE_REFRESH,7,159,76,14
271    PUSHBUTTON      "Remove &device",IDC_DEVICE_REMOVE,93,182,76,14
272    PUSHBUTTON      "Show &stats...",IDC_DEVICE_SHOW_STATS,235,159,76,14,WS_DISABLED
273    PUSHBUTTON      "Re&size...",IDC_DEVICE_RESIZE,149,159,76,14,WS_DISABLED
274END
275
276IDD_DEVICE_ADD DIALOGEX 0, 0, 261, 185
277STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
278CAPTION "Add device"
279FONT 8, "MS Shell Dlg", 400, 0, 0x1
280BEGIN
281    DEFPUSHBUTTON   "OK",IDOK,66,164,50,14
282    PUSHBUTTON      "Cancel",IDCANCEL,145,164,50,14
283    CONTROL         "",IDC_DEVICE_TREE,"SysTreeView32",TVS_HASBUTTONS | TVS_HASLINES | TVS_SHOWSELALWAYS | WS_BORDER | WS_HSCROLL | WS_TABSTOP,7,7,247,148
284END
285
286IDD_SCRUB DIALOGEX 0, 0, 254, 162
287STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
288CAPTION "Scrub"
289FONT 8, "MS Shell Dlg", 400, 0, 0x1
290BEGIN
291    DEFPUSHBUTTON   "OK",IDOK,102,141,50,14
292    CONTROL         "",IDC_SCRUB_PROGRESS,"msctls_progress32",WS_BORDER,7,95,240,14
293    LTEXT           "Status",IDC_SCRUB_STATUS,8,81,239,8
294    PUSHBUTTON      "&Start scrub",IDC_START_SCRUB,13,117,69,14
295    PUSHBUTTON      "&Pause / resume",IDC_PAUSE_SCRUB,93,117,69,14
296    PUSHBUTTON      "&Cancel scrub",IDC_CANCEL_SCRUB,173,117,69,14
297    EDITTEXT        IDC_SCRUB_INFO,7,7,240,69,ES_MULTILINE | ES_READONLY | WS_VSCROLL
298END
299
300IDD_DEVICE_STATS DIALOGEX 0, 0, 159, 113
301STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
302CAPTION "Device stats"
303FONT 8, "MS Shell Dlg", 400, 0, 0x1
304BEGIN
305    DEFPUSHBUTTON   "OK",IDOK,24,91,50,14
306    LTEXT           "Device %llx:",IDC_DEVICE_ID,7,7,40,8
307    LTEXT           "Write errors:",IDC_STATIC,7,21,79,8
308    LTEXT           "Read errors:",IDC_STATIC,7,34,79,8
309    LTEXT           "Flush errors:",IDC_STATIC,7,47,79,8
310    LTEXT           "Corruption errors:",IDC_STATIC,7,60,79,8
311    LTEXT           "Generation errors:",IDC_STATIC,7,73,79,8
312    RTEXT           "%llu",IDC_WRITE_ERRS,87,21,65,8
313    RTEXT           "%llu",IDC_READ_ERRS,87,34,65,8
314    RTEXT           "%llu",IDC_FLUSH_ERRS,87,47,65,8
315    RTEXT           "%llu",IDC_CORRUPTION_ERRS,87,60,65,8
316    RTEXT           "%llu",IDC_GENERATION_ERRS,87,73,65,8
317    PUSHBUTTON      "&Reset",IDC_RESET_STATS,85,91,50,14
318END
319
320IDD_RECV_PROGRESS DIALOGEX 0, 0, 311, 83
321STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
322CAPTION "Receiving subvolume"
323FONT 8, "MS Shell Dlg", 400, 0, 0x1
324BEGIN
325    PUSHBUTTON      "Cancel",IDCANCEL,130,62,50,14
326    CONTROL         "",IDC_RECV_PROGRESS,"msctls_progress32",WS_BORDER,7,33,297,24
327    LTEXT           "Receiving subvolume...",IDC_RECV_MSG,7,7,297,18
328END
329
330IDD_SEND_SUBVOL DIALOGEX 0, 0, 288, 149
331STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
332CAPTION "Send subvolume"
333FONT 8, "MS Shell Dlg", 400, 0, 0x1
334BEGIN
335    DEFPUSHBUTTON   "&Write",IDOK,83,128,50,14
336    PUSHBUTTON      "&Close",IDCANCEL,156,128,50,14
337    EDITTEXT        IDC_STREAM_DEST,57,7,166,14,ES_AUTOHSCROLL
338    LTEXT           "Stream:",IDC_STATIC,7,11,26,8
339    PUSHBUTTON      "&Browse...",IDC_BROWSE,231,7,50,14
340    LTEXT           "Select a destination for the subvolume stream.",IDC_SEND_STATUS,7,93,274,22
341    CONTROL         "Incremental",IDC_INCREMENTAL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,32,54,10
342    EDITTEXT        IDC_PARENT_SUBVOL,69,29,154,14,ES_AUTOHSCROLL | WS_DISABLED
343    PUSHBUTTON      "&Browse...",IDC_PARENT_BROWSE,231,29,50,14,WS_DISABLED
344    LTEXT           "Clone sources:",IDC_STATIC,7,52,46,8
345    LISTBOX         IDC_CLONE_LIST,69,50,154,36,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
346    PUSHBUTTON      "&Add...",IDC_CLONE_ADD,231,50,50,14
347    PUSHBUTTON      "&Remove",IDC_CLONE_REMOVE,231,69,50,14,WS_DISABLED
348END
349
350IDD_RESIZE DIALOGEX 0, 0, 279, 133
351STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
352CAPTION "Resize device"
353FONT 8, "MS Shell Dlg", 400, 0, 0x1
354BEGIN
355    DEFPUSHBUTTON   "OK",IDOK,81,112,50,14
356    PUSHBUTTON      "Cancel",IDCANCEL,148,112,50,14
357    LTEXT           "Device %llx:",IDC_RESIZE_DEVICE_ID,18,21,238,8
358    LTEXT           "Current size: %s",IDC_RESIZE_CURSIZE,18,37,238,8
359    CONTROL         "",IDC_RESIZE_SLIDER,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,7,74,265,24
360    LTEXT           "New size: %s",IDC_RESIZE_NEWSIZE,18,53,238,8
361END
362
363
364/////////////////////////////////////////////////////////////////////////////
365//
366// DESIGNINFO
367//
368
369#ifdef APSTUDIO_INVOKED
370GUIDELINES DESIGNINFO
371BEGIN
372    IDD_PROP_SHEET, DIALOG
373    BEGIN
374        LEFTMARGIN, 7
375        RIGHTMARGIN, 228
376        TOPMARGIN, 7
377        BOTTOMMARGIN, 238
378    END
379
380    IDD_SIZE_DETAILS, DIALOG
381    BEGIN
382        LEFTMARGIN, 7
383        RIGHTMARGIN, 205
384        TOPMARGIN, 7
385        BOTTOMMARGIN, 78
386    END
387
388    IDD_VOL_PROP_SHEET, DIALOG
389    BEGIN
390        LEFTMARGIN, 7
391        RIGHTMARGIN, 228
392        TOPMARGIN, 7
393        BOTTOMMARGIN, 244
394    END
395
396    IDD_VOL_USAGE, DIALOG
397    BEGIN
398        LEFTMARGIN, 7
399        RIGHTMARGIN, 228
400        TOPMARGIN, 7
401        BOTTOMMARGIN, 235
402    END
403
404    IDD_BALANCE_OPTIONS, DIALOG
405    BEGIN
406        LEFTMARGIN, 7
407        RIGHTMARGIN, 296
408        TOPMARGIN, 7
409        BOTTOMMARGIN, 131
410    END
411
412    IDD_BALANCE, DIALOG
413    BEGIN
414        LEFTMARGIN, 7
415        RIGHTMARGIN, 247
416        TOPMARGIN, 7
417        BOTTOMMARGIN, 160
418    END
419
420    IDD_DEVICES, DIALOG
421    BEGIN
422        LEFTMARGIN, 7
423        RIGHTMARGIN, 311
424        TOPMARGIN, 7
425        BOTTOMMARGIN, 196
426    END
427
428    IDD_DEVICE_ADD, DIALOG
429    BEGIN
430        LEFTMARGIN, 7
431        RIGHTMARGIN, 254
432        TOPMARGIN, 7
433        BOTTOMMARGIN, 178
434    END
435
436    IDD_SCRUB, DIALOG
437    BEGIN
438        LEFTMARGIN, 7
439        RIGHTMARGIN, 247
440        TOPMARGIN, 7
441        BOTTOMMARGIN, 155
442    END
443
444    IDD_DEVICE_STATS, DIALOG
445    BEGIN
446        LEFTMARGIN, 7
447        RIGHTMARGIN, 152
448        TOPMARGIN, 7
449        BOTTOMMARGIN, 105
450    END
451
452    IDD_RECV_PROGRESS, DIALOG
453    BEGIN
454        LEFTMARGIN, 7
455        RIGHTMARGIN, 304
456        TOPMARGIN, 7
457        BOTTOMMARGIN, 76
458    END
459
460    IDD_SEND_SUBVOL, DIALOG
461    BEGIN
462        LEFTMARGIN, 7
463        RIGHTMARGIN, 281
464        TOPMARGIN, 7
465        BOTTOMMARGIN, 142
466    END
467
468    IDD_RESIZE, DIALOG
469    BEGIN
470        LEFTMARGIN, 7
471        RIGHTMARGIN, 272
472        TOPMARGIN, 7
473        BOTTOMMARGIN, 126
474    END
475END
476#endif    // APSTUDIO_INVOKED
477
478
479/////////////////////////////////////////////////////////////////////////////
480//
481// RT_MANIFEST
482//
483
4842                       RT_MANIFEST             "shellbtrfs.manifest"
485
486
487/////////////////////////////////////////////////////////////////////////////
488//
489// String Table
490//
491
492STRINGTABLE
493BEGIN
494    IDS_NEW_SUBVOL_HELP_TEXT "Creates a new Btrfs subvolume."
495    IDS_NEW_SUBVOL          "&New subvolume"
496    IDS_NEW_SUBVOL_FILENAME "New subvolume"
497    IDS_CREATE_SNAPSHOT     "Create snapshot"
498    IDS_CREATE_SNAPSHOT_HELP_TEXT "Creates a snapshot of a Btrfs subvolume."
499    IDS_SNAPSHOT_FILENAME   "Snapshot of %s (%04u-%02u-%02u)"
500    IDS_PROP_SHEET_TITLE    "Btrfs properties"
501    IDS_INODE_FILE          "File"
502    IDS_INODE_DIR           "Directory"
503    IDS_INODE_CHAR          "Character device (major %llu, minor %llu)"
504END
505
506STRINGTABLE
507BEGIN
508    IDS_INODE_BLOCK         "Block device (major %llu, minor %llu)"
509    IDS_INODE_FIFO          "FIFO"
510    IDS_INODE_SOCKET        "Socket"
511    IDS_INODE_SYMLINK       "Symbolic link"
512    IDS_INODE_UNKNOWN       "Unknown inode type %x"
513    IDS_CANNOT_FIND_DEVICE  "Cannot find device."
514    IDS_SIZE_BYTE           "%s byte"
515    IDS_SIZE_BYTES          "%s bytes"
516    IDS_SIZE_KB             "%1.1f KB"
517    IDS_SIZE_MB             "%1.1f MB"
518    IDS_SIZE_GB             "%1.1f GB"
519    IDS_SIZE_TB             "%1.1f TB"
520    IDS_SIZE_PB             "%1.1f PB"
521    IDS_SIZE_EB             "%1.1f EB"
522    IDS_VARIOUS             "(various)"
523    IDS_INODE_CHAR_SIMPLE   "Character device"
524END
525
526STRINGTABLE
527BEGIN
528    IDS_INODE_BLOCK_SIMPLE  "Block device"
529    IDS_VOL_PROP_SHEET_TITLE "Btrfs"
530    IDS_SIZE_LARGE          "%s (%s)"
531    IDS_SINGLE              "single"
532    IDS_DUP                 "DUP"
533    IDS_RAID0               "RAID0"
534    IDS_RAID1               "RAID1"
535    IDS_RAID10              "RAID10"
536    IDS_RAID5               "RAID5"
537    IDS_RAID6               "RAID6"
538    IDS_USAGE_DATA          "Data, %s: size: %s, used: %s"
539    IDS_USAGE_MIXED         "Data / metadata, %s: size: %s, used: %s"
540    IDS_USAGE_METADATA      "Metadata, %s: size: %s, used: %s"
541    IDS_USAGE_SYSTEM        "System, %s: size: %s, used: %s"
542    IDS_USAGE_UNALLOC       "Unallocated:"
543    IDS_UNKNOWN_DEVICE      "(unknown device %llu)"
544END
545
546STRINGTABLE
547BEGIN
548    IDS_USAGE_DEV_SIZE      "Device size:\t\t%s"
549    IDS_USAGE_DEV_ALLOC     "Device allocated:\t\t%s"
550    IDS_USAGE_DEV_UNALLOC   "Device unallocated:\t\t%s"
551    IDS_USAGE_DATA_RATIO    "Data ratio:\t\t%1.2f"
552    IDS_USAGE_METADATA_RATIO "Metadata ratio:\t\t%1.2f"
553    IDS_NO_BALANCE          "No balance is currently running."
554    IDS_SINGLE2             "Single"
555    IDS_DEVID_LIST          "%llu: %s"
556    IDS_BALANCE_RUNNING     "Balance is currently running (%llu out of %llu chunks processed, %1.1f%%)"
557    IDS_DRANGE_END_BEFORE_START "Device range end is before start."
558    IDS_VRANGE_END_BEFORE_START "Virtual range end is before start."
559    IDS_LIMIT_END_BEFORE_START "Limit end is before start."
560    IDS_STRIPES_END_BEFORE_START "Stripes end is before start."
561    IDS_USAGE_END_BEFORE_START "Usage end is before start."
562    IDS_ERROR               "Error"
563    IDS_BALANCE_COMPLETE    "Balance completed successfully."
564END
565
566STRINGTABLE
567BEGIN
568    IDS_BALANCE_PAUSED      "Balance is currently paused (%llu out of %llu chunks processed, %1.1f%%)"
569    IDS_BALANCE_CANCELLED   "Balance cancelled."
570    IDS_DEVLIST_ID          "ID"
571    IDS_DEVLIST_DESC        "Description"
572    IDS_DEVLIST_READONLY    "Read-only"
573    IDS_DEVLIST_SIZE        "Size"
574    IDS_DEVLIST_READONLY_YES "Yes"
575    IDS_DEVLIST_READONLY_NO "No"
576    IDS_DEVLIST_ALLOC       "Allocated"
577    IDS_DEVLIST_ALLOC_PC    "%"
578    IDS_BALANCE_RUNNING_REMOVAL
579                            "Currently removing device %llu (%llu out of %llu chunks processed, %1.1f%%)"
580    IDS_BALANCE_PAUSED_REMOVAL
581                            "Removal of device %llu paused (%llu out of %llu chunks processed, %1.1f%%)"
582    IDS_BALANCE_CANCELLED_REMOVAL "Device removal cancelled."
583    IDS_BALANCE_COMPLETE_REMOVAL "Device removal completed successfully."
584    IDS_PARTITION           "Partition %u"
585    IDS_WHOLE_DISK          "Whole disk"
586END
587
588STRINGTABLE
589BEGIN
590    IDS_CANNOT_REMOVE_RAID  "The current RAID levels do not allow this device to be removed. You must do a conversion balance before you will be able to proceed."
591    IDS_REMOVE_DEVICE_CONFIRMATION
592                            "Are you sure that you want to remove device %s, %s?"
593    IDS_CONFIRMATION_TITLE  "Confirmation"
594    IDS_ADD_DEVICE_CONFIRMATION
595                            "Are you sure that you want to add this device?"
596    IDS_ADD_DEVICE_CONFIRMATION_FS
597                            "Are you sure that you want to add this device? It already appears to contain a filesystem (%s)."
598    IDS_BALANCE_FAILED      "Balance failed (error %08x, %s)"
599    IDS_BALANCE_FAILED_REMOVAL "Device removal failed (error %08x, %s)"
600    IDS_DISK_NUM            "Disk %u"
601    IDS_DISK_PART_NUM       "Disk %u, partition %u"
602    IDS_NO_SCRUB            "Scrub not running."
603    IDS_SCRUB_RUNNING       "Scrub currently running (%llu out of %llu chunks processed, %1.1f%%)"
604    IDS_SCRUB_FINISHED      "Scrub finished."
605    IDS_SCRUB_PAUSED        "Scrub paused (%llu out of %llu chunks processed, %1.1f%%)"
606    IDS_SCRUB_MSG_STARTED   "Scrub started at %s %s."
607    IDS_SCRUB_MSG_RECOVERABLE_DATA
608                            "Recovered from data checksum error at %llx on device %llx."
609    IDS_SCRUB_MSG_RECOVERABLE_METADATA
610                            "Recovered from metadata checksum error at %llx on device %llx."
611END
612
613STRINGTABLE
614BEGIN
615    IDS_SCRUB_MSG_UNRECOVERABLE_DATA
616                            "Unrecoverable data checksum error at %llx on device %llx (%.*s, offset %llx)"
617    IDS_SCRUB_MSG_UNRECOVERABLE_DATA_SUBVOL
618                            "Unrecoverable data checksum error at %llx on device %llx (subvol %llx, %.*s, offset %llx)"
619    IDS_SCRUB_MSG_UNRECOVERABLE_METADATA
620                            "Unrecoverable metadata checksum error at %llx on device %llx (root %llx, level %x)"
621    IDS_SCRUB_MSG_UNRECOVERABLE_METADATA_FIRSTITEM
622                            "Unrecoverable metadata checksum error at %llx on device %llx (root %llx, level %x, first item %llx,%x,%llx)"
623    IDS_SCRUB_MSG_FINISHED  "Scrub finished at %s %s."
624    IDS_SCRUB_MSG_SUMMARY   "Scrubbed %s in %llu seconds (%s/s)."
625    IDS_BALANCE_SCRUB_RUNNING "Cannot start balance while scrub running."
626    IDS_SCRUB_BALANCE_RUNNING "Cannot start scrub while balance running."
627    IDS_SCRUB_MSG_SUMMARY_ERRORS_RECOVERABLE "Recovered from %llu error(s)."
628    IDS_SCRUB_MSG_SUMMARY_ERRORS_UNRECOVERABLE
629                            "%llu unrecoverable error(s) found."
630    IDS_SCRUB_FAILED        "Scrub failed with error %08x."
631    IDS_LOCK_FAILED         "Unable to lock volume: error %08x. Make sure that there are no files open, and that you have closed any Explorer windows."
632    IDS_SCRUB_MSG_RECOVERABLE_PARITY
633                            "Recovered from parity error at %llx on device %llx."
634    IDS_COMPRESS_ANY        "(any)"
635    IDS_COMPRESS_ZLIB       "Zlib"
636    IDS_COMPRESS_LZO        "LZO"
637END
638
639STRINGTABLE
640BEGIN
641    IDS_STANDALONE_PROPSHEET_TITLE "Inode property sheet"
642    IDS_REFLINK_PASTE       "Ref&link Paste"
643    IDS_REFLINK_PASTE_HELP  "Do a lightweight copy of files using reference counting."
644    IDS_RECV_SUBVOL         "Re&ceive subvolume..."
645    IDS_RECV_SUBVOL_HELP    "Recreate a previously exported subvolume."
646    IDS_RECV_CANT_OPEN_FILE "%S: Couldn't open %s (error %u, %s)."
647    IDS_RECV_READFILE_FAILED "ReadFile failed (error %u, %s)."
648    IDS_OUT_OF_MEMORY       "Out of memory."
649    IDS_RECV_UNKNOWN_COMMAND "Unrecognized command %u encountered."
650    IDS_RECV_CANT_OPEN_PATH "Couldn't open path %s (error %u, %s)."
651    IDS_RECV_RTLUTF8TOUNICODEN_FAILED "RtlUTF8ToUnicodeN returned %08x (%s)."
652    IDS_RECV_CREATE_SUBVOL_FAILED
653                            "FSCTL_BTRFS_CREATE_SUBVOL returned %08x (%s)."
654    IDS_RECV_MISSING_PARAM  "%S: could not find %s parameter."
655    IDS_RECV_SHORT_PARAM    "%S: length of parameter %s was %u, expected %u."
656    IDS_RECV_MKNOD_FAILED   "FSCTL_BTRFS_MKNOD returned %08x (%s)."
657    IDS_RECV_SET_REPARSE_POINT_FAILED
658                            "FSCTL_SET_REPARSE_POINT returned %08x (%s)."
659END
660
661STRINGTABLE
662BEGIN
663    IDS_RECV_MOVEFILE_FAILED "MoveFile (%s -> %s) failed (error %u, %s)."
664    IDS_RECV_SETFILEPOINTER_FAILED "SetFilePointer failed (error %u, %s)."
665    IDS_RECV_WRITEFILE_FAILED "WriteFile failed (error %u, %s)."
666    IDS_RECV_CREATEHARDLINK_FAILED
667                            "CreateHardLink (%s -> %s) failed (error %u, %s)."
668    IDS_RECV_SETENDOFFILE_FAILED "SetEndOfFile failed (error %u, %s)."
669    IDS_RECV_CANT_CREATE_FILE "Couldn't create %s (error %u, %s)."
670    IDS_RECV_SETFILEINFO_FAILED
671                            "SetFileInformationByHandle failed (error %u, %s)."
672    IDS_RECV_SETINODEINFO_FAILED
673                            "FSCTL_BTRFS_SET_INODE_INFO returned %08x (%s)."
674    IDS_RECV_SUCCESS        "Received 1 subvolume successfully."
675    IDS_RECV_BUTTON_OK      "OK"
676    IDS_RECV_SETFILEATTRIBUTES_FAILED
677                            "SetFileAttributes failed (error %u, %s)."
678    IDS_RECV_GETFILEATTRIBUTES_FAILED
679                            "GetFileAttributes failed (error %u, %s)."
680    IDS_RECV_CSUM_ERROR     "Checksum error."
681    IDS_RECV_NOT_A_SEND_STREAM "File was not a send stream."
682    IDS_RECV_UNSUPPORTED_VERSION "Unsupported version %u."
683    IDS_RECV_SETEAFILE_FAILED "NtSetEaFile returned %08x (%s)."
684END
685
686STRINGTABLE
687BEGIN
688    IDS_RECV_RECEIVED_SUBVOL_FAILED
689                            "FSCTL_BTRFS_RECEIVED_SUBVOL returned %08x (%s)."
690    IDS_RECV_SETSECURITYOBJECT_FAILED
691                            "NtSetSecurityObject returned %08x (%s)."
692    IDS_RECV_SETXATTR_FAILED "FSCTL_BTRFS_SET_XATTR returned %08x (%s)."
693    IDS_RECV_CREATETHREAD_FAILED "CreateThread failed (error %u, %s)."
694    IDS_RECV_FILE_TRUNCATED "File was truncated."
695    IDS_RECV_RESERVE_SUBVOL_FAILED
696                            "FSCTL_BTRFS_RESERVE_SUBVOL returned %08x (%s)."
697    IDS_RECV_CANCELLED      "Receiving cancelled."
698    IDS_RECV_CANT_FIND_PARENT_SUBVOL "Could not find parent subvolume."
699    IDS_RECV_FIND_SUBVOL_FAILED "FSCTL_BTRFS_FIND_SUBVOL returned %08x (%s)."
700    IDS_RECV_CREATE_SNAPSHOT_FAILED
701                            "FSCTL_BTRFS_CREATE_SNAPSHOT returned %08x (%s)."
702    IDS_RECV_GETVOLUMEPATHNAME_FAILED
703                            "GetVolumePathName failed (error %u, %s)."
704    IDS_RECV_DELETEFILE_FAILED "DeleteFile failed for %s (error %u, %s)."
705    IDS_RECV_REMOVEDIRECTORY_FAILED
706                            "RemoveDirectory failed for %s (error %u, %s)."
707    IDS_RECV_CANT_FIND_CLONE_SUBVOL "Could not find clone subvolume."
708    IDS_RECV_GETFILESIZEEX_FAILED "GetFileSizeEx failed (error %u, %s)."
709    IDS_RECV_DUPLICATE_EXTENTS_FAILED
710                            "FSCTL_DUPLICATE_EXTENTS_TO_FILE returned %08x (%s)."
711END
712
713STRINGTABLE
714BEGIN
715    IDS_RECV_SUCCESS_PLURAL "Received %u subvolumes successfully."
716    IDS_SEND_SUBVOL         "&Send subvolume..."
717    IDS_SEND_SUBVOL_HELP    "Exports a subvolume so that it can be recreated on another volume."
718    IDS_SEND_CANT_OPEN_FILE "Error opening file %s (error %u, %s)."
719    IDS_SEND_CANT_OPEN_DIR  "Error opening directory %s (error %u, %s)."
720    IDS_SEND_FSCTL_BTRFS_SEND_SUBVOL_FAILED
721                            "FSCTL_BTRFS_SEND_SUBVOL returned error %08x (%s)."
722    IDS_SEND_FSCTL_BTRFS_READ_SEND_BUFFER_FAILED
723                            "FSCTL_BTRFS_READ_SEND_BUFFER returned error %08x (%s)."
724    IDS_SEND_SUCCESS        "Stream written successfully."
725    IDS_SEND_WRITEFILE_FAILED "Writing to file failed (error %u, %s)."
726    IDS_SEND_GET_FILE_INFO_FAILED
727                            "GetFileInformationByHandle failed (error %u, %s)."
728    IDS_SEND_NOT_READONLY   "Subvolume not readonly."
729    IDS_NOT_SUBVOL          "Directory was not a subvolume."
730    IDS_GET_FILE_IDS_FAILED "FSCTL_BTRFS_GET_FILE_IDS returned error %08x (%s)."
731    IDS_SHPARSEDISPLAYNAME_FAILED "SHParseDisplayName failed."
732    IDS_SHGETPATHFROMIDLIST_FAILED "SHGetPathFromIDList failed."
733    IDS_SEND_PARENT_NOT_READONLY "Parent subvolume not readonly."
734END
735
736STRINGTABLE
737BEGIN
738    IDS_SEND_CANCEL         "&Cancel"
739    IDS_SEND_WRITING        "Writing..."
740    IDS_MISSING             "(missing)"
741    IDS_RESIZE_SUCCESSFUL   "Device %llx successfully resized to %s."
742    IDS_BALANCE_RUNNING_SHRINK
743                            "Currently shrinking device %llu (%llu out of %llu chunks processed, %1.1f%%)"
744    IDS_BALANCE_PAUSED_SHRINK
745                            "Shrinking of device %llu paused (%llu out of %llu chunks processed, %1.1f%%)"
746    IDS_BALANCE_CANCELLED_SHRINK "Device shrinking cancelled."
747    IDS_BALANCE_COMPLETE_SHRINK "Device successfully shrunk."
748    IDS_BALANCE_FAILED_SHRINK "Device shrinking failed (error %08x, %s)"
749END
750
751#endif    // English (United Kingdom) resources
752/////////////////////////////////////////////////////////////////////////////
753
754
755
756#ifndef APSTUDIO_INVOKED
757/////////////////////////////////////////////////////////////////////////////
758//
759// Generated from the TEXTINCLUDE 3 resource.
760//
761
762
763/////////////////////////////////////////////////////////////////////////////
764#endif    // not APSTUDIO_INVOKED
765
766