-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
clone_gui_language.h
executable file
·467 lines (446 loc) · 13.3 KB
/
clone_gui_language.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
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
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
// Copyright (C) 2015-2022 Scott Dwyer.
// You may use/distribute/modify this freely, under the terms of
// the GNU General Public License version 2 or later version.
// This software is distributed WITHOUT ANY WARRANTY.
#define LANGFILE 0
#define LANGQUIT 1
#define LANGOPENPROJ 2
#define LANGLOADPROJFILE 3
#define LANGERROR 4
#define LANGWARN 5
#define LANGLOGLOADERR 6
#define LANGLOGCHECKERR 7
#define LANGLANGUAGE 8
#define LANGEXPORTLANG 9
#define LANGIMPORTLANG 10
#define LANGLANGEXPORTERR 11
#define LANGLANGIMPORTERR 12
#define LANGLANGIMPORTERR2 13
#define LANGLANGCHANGESUCCESS 14
#define LANGSUCCESS 15
#define LANGNEWPROJ 16
#define LANGNEWPROJFILE 17
#define LANGOPTIONS 18
#define LANGSOURCE 19
#define LANGDESTINATION 20
#define LANGSOURCEERROR 21
#define LANGDESTINATIONERROR 22
#define LANGDESTINATIONIMAGE 23
#define LANGDRIVEVISABLEOS 24
#define LANGDRIVEISSLAVE 25
#define LANGDRIVESAMECONTROLLER 26
#define LANGNOPROJECT 27
#define LANGDRIVE 28
#define LANGIMAGEFILE 29
#define LANGNODESTINATION 30
#define LANGCHOOSEIMAGE 31
#define LANGCONNECT 32
#define LANGDISCONNECT 33
#define LANGSTART 34
#define LANGSTOP 35
#define LANGSTILLCONNECTED 36
#define LANGNOTCONNECTED 37
#define LANGDONTCONNECT 38
#define LANGCONNECTIONERR 39
#define LANGCONNECTED 40
#define LANGDISCONNECTED 41
#define LANGSAMEDEVICE 42
#define LANGMISSINGPROJECT 43
#define LANGMISSINGSOURCE 44
#define LANGMISSINGDESTINATION 45
#define LANGDRIVES 46
#define LANGMODE 47
#define LANGMODEAUTO 48
#define LANGMODESCSI 49
#define LANGMODEATA 50
#define LANGMODEIDE 51
#define LANGMODEAHCI 52
#define LANGSETTINGS 53
#define LANGADVANCED 54
#define LANGDIRECTPIO 55
#define LANGDIRECTLIMITED 56
#define LANGCLONE 57
#define LANGPHASE1BUTTON 58
#define LANGPHASE2BUTTON 59
#define LANGPHASE3BUTTON 60
#define LANGPHASE4BUTTON 61
#define LANGDIVIDEBUTTON 62
#define LANGDIVIDE2BUTTON 63
#define LANGTRIMBUTTON 64
#define LANGSCRAPTBUTTON 65
#define LANGMARKBADBUTTON 66
#define LANGREADBADBUTTON 67
#define LANGREVERSEBUTTON 68
#define LANGSKIPFASTBUTTON 69
#define LANGPHASECONTROLLABEL 70
#define LANGRETRIESBUTTON 71
#define LANGCLUSTERSIZEBUTTON 72
#define LANGINPUTOFFSETBUTTON 73
#define LANGSIZEBUTTON 74
#define LANGBLOCKSIZEBUTTON 75
#define LANGSKIPSIZEBUTTON 76
#define LANGMAXSKIPSIZEBUTTON 77
#define LANGSKIPTHRESHOLDBUTTON 78
#define LANGRATESKIPBUTTON 79
#define LANGEXITONSLOW 80
#define LANGEXITONSLOWTIME 81
#define LANGLOGWRITEERR 82
#define LANGSAVEPROJFILE 83
#define LANGSAVE 84
#define LANGSAVEAS 85
#define LANGTOOLS 86
#define LANGRESETSTATUS 87
#define LANGOK 88
#define LANGCANCEL 89
#define LANGRESETSTATUSMESSAGE 90
#define LANGRESETLOG 91
#define LANGRESETLOGMESSAGE 92
#define LANGREPAIRLOG 93
#define LANGREPAIRLOGMESSAGE 94
#define LANGFILLZERO 95
#define LANGFILLMARK 96
#define LANGDOMAIN 97
#define LANGCHOOSENEWPROJECT 98
#define LANGIMPORTDD 99
#define LANGEXPORTDD 100
#define LANGLOGEXPORTERR 101
#define LANGPROJECTLABEL 102
#define LANGSOURCELABEL 103
#define LANGDESTINATIONLABEL 104
#define LANGDOMAINLABEL 105
#define LANGTOTALLBALABEL 106
#define LANGLBATOREADLABEL 107
#define LANGDOMAINSIZELABEL 108
#define LANGRUNTIMELABEL 109
#define LANGREMAININGTIMELABEL 110
#define LANGCURRENTPOSISIONLABEL 111
#define LANGCURRENTSTATUSLABEL 112
#define LANGCURRENTRATELABEL 113
#define LANGRECENTRATELABEL 114
#define LANGTOTALRATELABEL 115
#define LANGSKIPSIZELABEL 116
#define LANGSKIPSLABEL 117
#define LANGSKIPRUNSLABEL 118
#define LANGSKIPRESETSLABEL 119
#define LANGRUNSIZELABEL 120
#define LANGFINISHEDLABEL 121
#define LANGNONTRIEDLABEL 122
#define LANGNONTRIMMEDLABEL 123
#define LANGNONDIVIDEDLABEL 124
#define LANGNONSCRAPEDLABEL 125
#define LANGBADLABEL 126
#define LANGDATAPREVIEWLABEL 127
#define LANGLONGESTREADTIMELABEL 128
#define LANGFILLEDLABEL 129
#define LANGRETRIEDLABEL 130
#define LANGRETRYPASSESLABEL 131
#define LANGCLEARDOMAIN 132
#define LANGLOGBAKWRITEERR 133
#define LANGINFO 134
#define LANGEXITDUETOSLOW 135
#define LANGPOSNOTFOUND 136
#define LANGPOSOUTOFRANGE 137
#define LANGDOMAINERROR 138
#define LANGTARGETISHOSTOS 139
#define LANGCANTOPENDESTINATION 140
#define LANGCANTSEEKDESTINATION 141
#define LANGCANTGETSIZEDESTINATION 142
#define LANGSOURCEMOUNTEDA 143
#define LANGSOURCEMOUNTEDB 144
#define LANGCANTOPENSOURCE 145
#define LANGIDENTIFYFAILED 146
#define LANGSTATUSSLASHERROR 147
#define LANGHOSTIOERRIDENTIFY 148
#define LANGREADCAPFAILED 149
#define LANGHOSTIOERRCAPACITY 150
#define LANGSOURCESIZEINVALID 151
#define LANGREADSIZEPASTEND 152
#define LANGDEVICEFAULT 153
#define LANGHOSTIOFAULT 154
#define LANGFREEREADLIMIT 155
#define LANGCANTWRITEDESTINATION 156
#define LANGERRORWRITINGDESTINATION 157
#define LANGFAILEDSIZECHECK 158
#define LANGUNABLETOREOPEN 159
#define LANGSOURCEIMPROPERIDENTIFY 160
#define LANGSOURCEERRORIDENTIFY 161
#define LANGHOSTIOERRORIDENTIFY 162
#define LANGSOURCEIMPROPERCAPACITY 163
#define LANGHOSTIOERRORCAPACITY 164
#define LANGSOURCESIZECHANGED 165
#define LANGBLOCKNOTFOUND 166
#define LANGNOTWITHINBLOCK 167
#define LANGRESCUEFINISHED 168
#define LANGALLOCATEMEMERR 169
#define LANGBUFFERADDRESSRANGE 170
#define LANGPOSIXMEMFAIL 171
#define LANGMAXSCRATCHPADSIZE 172
#define LANGMAXSENSESIZE 173
#define LANGNOLOGBACKUP 174
#define LANGFORCEMOUNTED 175
#define LANGENABLEOUTPUTOFFSET 176
#define LANGOUTPUTOFFSET 177
#define LANGREOPENADVANCED 178
#define LANGACTIONONERROR 179
#define LANGSTOPONERROR 180
#define LANGCALLCOMMAND 181
#define LANGDRIVEUNRESPONSIVE 182
#define LANGCOMMANDFAILED 183
#define LANGTESTCOMMAND 184
#define LANGCOMMANDCOMPLETED 185
#define LANGCHSERROR 186
#define LANGWRITEBUFFERDISABLE 187
#define LANGWRITEBUFFERENABLE 188
#define LANGWRITEBUFFERLABEL 189
#define LANGHELP 190
#define LANGABOUT 191
#define LANGTIMERS 192
#define LANGTIMERINFO 193
#define LANGINITIALBUSYWAIT 194
#define LANGBUSYWAIT 195
#define LANGSOFTTIME 196
#define LANGHARDTIME 197
#define LANGPOWERTIME 198
#define LANGGENERALTIME 199
#define LANGPOWERACTION 200
#define LANGSTOPONPOWER 201
#define LANGWRONGDRIVEFORLOG1 202
#define LANGWRONGDRIVEFORLOG2 203
#define LANGWRONGDRIVEFORLOG3 204
#define LANGFORCEDANGEROUS 205
#define LANGPIOMODE 206
#define LANGPHASETIMERS 207
#define LANGSOFTTIMEP12 208
#define LANGSOFTTIMEP3 209
#define LANGSOFTTIMEP4 210
#define LANGSOFTTIMETD 211
#define LANGSOFTTIMED2 212
#define LANGSOFTTIMESC 213
#define LANGPHASETIMERSENABLE 214
#define LANGBLOCKDEV 215
#define LANGGENERIC 216
#define LANGCANTSEEKSOURCE 217
#define LANGCANTREADSOURCE 218
#define LANGSOURCENOTDIVISABLE 219
#define LANGCOPYIMAGE 220
#define LANGBLOCKALIGNMENT 221
#define LANGSECTORSIZE 222
#define LANGSOFTTIMERT 223
#define LANGENABLEPROCESSCHUNK 224
#define LANGENABLEPHASELOG 225
#define LANGCLONEMODEBUTTON 226
#define LANGDRIVERMODE1BUTTON 227
#define LANGDRIVERMODE 228
#define LANGCLONEMODE 229
#define LANGDRIVERMODE1 230
#define LANGUERROROPENINGDRIVER 231
#define LANGERRORSTOPINGDRIVER 232
#define LANGERRORCLOSINGINGDRIVER 233
#define LANGERRORSTARTINGDRIVER 234
#define LANGERRORDRIVEROFFSET 235
#define LANGDRIVERBUFFEREXCEEDED 236
#define LANGCANTREADDESTINATION 237
#define LANGDRIVERMODE2BUTTON 238
#define LANGDRIVERMODE3BUTTON 239
#define LANGDRIVERMODE4BUTTON 240
#define LANGDRIVERMODE2 241
#define LANGDRIVERMODE3 242
#define LANGDRIVERMODE4 243
#define LANGDRIVERMODE5BUTTON 244
#define LANGDRIVERMODE5 245
#define LANGERRORDRIVERSECTORSIZE 246
#define LANGERRORDRIVERSTOPPEDERROR 247
#define LANGHARDRESETBUTTON 248
#define LANGSOFTRESETBUTTON 249
#define LANGWARNINGNULLDRIVER 250
#define LANGINSTALLDRIVER 251
#define LANGUNINSTALLDRIVER 252
#define LANGSLOWSKIPLABEL 253
#define LANGLASTREADSIZELABEL 254
#define LANGDOMAINBLOCKNOTFOUND 255
#define LANGDRIVERONLYMI 256
#define LANGNEWDOMAINFILE 257
#define LANGSAVEDOMAINFILE 258
#define LANGSAVEDOMAINFILEAS 259
#define LANGLOADACTIVATIONFILE 260
#define LANGACTIVATIONFAILED 261
#define LANGACTIVATIONSUCCESS 262
#define LANGCONFIRMOPERATION 263
#define LANGCONFIRMREMOVEACTIVATION 264
#define LANGREMOVEACTIVATION 265
#define LANGOPERATIONFAILED 266
#define LANGOPERATIONSUCCEEDED 267
#define LANGDRIVELOCKED 268
#define LANGDISABLEPORTS 269
#define LANGUNABLETOOPEN 270
#define LANGNOBACKUPFILE 271
#define LANGDISABLEPORTSINFO1 272
#define LANGDISABLEPORTSINFO2 273
#define LANGCURRENTDISPORTS 274
#define LANGSETDISPORTS 275
#define LANGUPDATEDDISPORTS 276
#define LANGUPDATEPORTS 277
#define LANGCOPYFAILED 278
#define LANGUPDATEGRUBFAILED 279
#define LANGSEETERMOUTPUT 280
#define LANGNOGRUBDEFAULTLINE 281
#define LANGCONFIRMGRUBUPDATE 282
#define LANGRESTOREPORTS 283
#define LANGENABLESCSIWRITE 284
#define LANGENABLEOUTPUTSECTORSIZE 285
#define LANGOUTPUTSECTORSIZE 286
#define LANGDRIVEROUTPUTOPTIONS 287
#define LANGDRIVERRETURNERROR 288
#define LANGDRIVERRETURNZEROS 289
#define LANGDRIVERRETURNMARKED 290
#define LANGVIRTUALMINCLUSTER 291
#define LANGVIRTUALNAME 292
#define LANGMISSINGDRIVER 293
#define LANGFILLERASE 294
#define LANGCONFIRMERASEDESTINATION 295
#define LANGANALYZE 296
#define LANGRESULTS 297
#define LANGTOTALGOODBADLABEL 298
#define LANGENABLEEXTENDEDANALYZE 299
#define LANGIDLE 300
#define LANGTRIMMING 301
#define LANGDIVIDING1 302
#define LANGDIVIDING2 303
#define LANGSCRAPING 304
#define LANGRETRYING 305
#define LANGFILLING 306
#define LANGERASEING 307
#define LANGBADHEAD 308
#define LANGREADINGDESTINATION 309
#define LANGREADING 310
#define LANGANALYZING 311
#define LANGDETECTINGVARIANCE 312
#define LANGPHASE1 313
#define LANGPHASE2 314
#define LANGPHASE3 315
#define LANGPHASE4 316
#define LANGFINISHED 317
#define LANGREVERSE 318
#define LANGDRIVERALREADYINSTALLED 319
#define LANGDRIVERMEMORYCONNECTED 320
#define LANGERRORCONNECTINGDRIVER 321
#define LANGCANNOTOPENFORWRITING 322
#define LANGMAKEFAILED 323
#define LANGFAILEDTOINSTALLDRIVER 324
#define LANGDRIVERINSTALLSUCCESS 325
#define LANGFAILEDTOREMOVEDRIVER 326
#define LANGDRIVERREMOVALSUCCESS 327
#define LANGVARIANCEREADTIMES 328
#define LANGZONE 329
#define LANGTOTAL 330
#define LANGGOOD 331
#define LANGBAD 332
#define LANGLOW 333
#define LANGHIGH 334
#define LANGAVERAGE 335
#define LANGZONES 336
#define LANGDISPLAYANALYZERESULTS 337
#define LANGSKIPRESET 338
#define LANGHELPHTML 339
#define LANGSMARTNOTSUPPORTED 340
#define LANGSMARTNOTENABLED 341
#define LANGERRORREADINGSMART 342
#define LANGID 343
#define LANGFLAGS 344
#define LANGCURRENT 345
#define LANGWORST 346
#define LANGTHRESHOLD 347
#define LANGRAWDATA 348
#define LANGATTRIBUTENAME 349
#define LANGSMARTVERSION 350
#define LANGSMART 351
#define LANGDISPLAYSMARTRESULTS 352
#define LANGCONFIRMIMAGEFILE 353
#define LANGUSEPHYSICALSECTORSIZE 354
#define LANGAGRESSIVEDRIVERBUTTON 355
#define LANGUSECOLORSTATUSBAR 356
#define LANGHELPTEXT 357
#define LANGPRIMARYRELAY 358
#define LANGPRIMARYRELAYINFO 359
#define LANGCURRENTRELAY 360
#define LANGCHOOSEPRIMARYUSB 361
#define LANGRELAYACTIVATION 362
#define LANGACTIVATERELAY1 363
#define LANGACTIVATERELAY2 364
#define LANGACTIVATERELAY3 365
#define LANGACTIVATERELAY4 366
#define LANGACTIVATERELAY5 367
#define LANGACTIVATERELAY6 368
#define LANGACTIVATERELAY7 369
#define LANGACTIVATERELAY8 370
#define LANGRELAYDEACTIVATION 371
#define LANGRELAYACTIVATETIME 372
#define LANGRELAYDELAYTIME 373
#define LANGTESTRELAYBUTTON 374
#define LANGRELAYBOARDSETTINGS 375
#define LANGCHOOSEUSB 376
#define LANGUSBERROR 377
#define LANGUSBRELAYERROR 378
#define LANGNORELAYCHOSEN 379
#define LANGPRIMARYRELAYONERROR 380
#define LANGCYCLEPRIMARYRELAY 381
#define LANGACTIVATE 382
#define LANGDEACTIVATE 383
#define LANGUNSUPPORTEDSECTORSIZE 384
#define LANGRESCUEFAILED 385
#define LANGRESCUEFAILEDERROR 386
#define LANGDISPLAYIDENTIFYRESULTS 387
#define LANGMODEUSB 388
#define LANGUSBRESETS 389
#define LANGENABLEUSBBULKRESET 390
#define LANGENABLEUSBSOFTRESET 391
#define LANGENABLEUSBHARDRESET 392
#define LANGENABLEUSBPORTRESET 393
#define LANGUSBMASSDISABLE 394
#define LANGUSBMASSRESTORE 395
#define LANGDISABLEUSBMASS 396
#define LANGRESTOREUSBMASS 397
#define LANGDESTINATIONTOOSMALL 398
#define LANGENABLEREADTWICE 399
#define LANGMODEUSBATA 400
#define LANGADDDOMAINFILE 401
#define LANGNODOMAIN 402
#define LANGALWAYSWAITRESETTIME 403
#define LANGENABLECURRENTPOSITION 404
#define LANGIOSCSIONLY 405
#define LANGSLOW 406
#define LANGSLOWRESPONDINGISSUE 407
#define LANGPARTIALACCESSISSUE 408
#define LANGBADORWEAKHEAD 409
#define LANGANALYZELONG 410
#define LANGENABLEREBUILDASSIST 411
#define LANGREBUILDASSIST 412
#define LANGREBUILDASSISTAHCIONLY 413
#define LANGREBUILDASSISTNOTSUPPORTED 414
#define LANGREBUILDASSISTERRORDISABLING 415
#define LANGREBUILDASSISTERRORENABLING 416
#define LANGSELECTLUN 417
#define LANGSELECTLUNINFO 418
#define LANGLUNVALUES 419
#define LANGSETLUN 420
#define LANGACTIVATEMAIN 421
#define LANGDEACTIVATEMAIN 422
#define LANGFIXDRIVERMEMORYERROR 423
#define LANGENABLERETRYCONNECTING 424
#define LANGMAXREADRATE 425
#define LANGDONTIDENTIFY 426
#define LANGFAILEDTOCLEANDIR 427
//#define
//#define
//#define
// TODO MAKE SURE TO UPDATE COUNT EVERY TIME! it should be one more than last defined
#define LANGCOUNT 428
#define MAXLANGLENGTH 2048
extern char enlang_ccc[LANGCOUNT][MAXLANGLENGTH];
int setup_enlanguage_ccc(void);
int copy_enlanguage_ccc(void);
int copy_newlanguage_ccc(void);
int translate_all_ccc(void);
int translate_language_ccc(char *fromlang, char *translang, const char *language, const char *native);
int translate_language_slow_ccc(char *fromlang, char *translang, const char *language, const char *native);
char* get_translated_data_ccc(char *url_data);