-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuResources.pas
143 lines (107 loc) · 5.27 KB
/
uResources.pas
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
{
Copyright (c) 2019,2021 Daniel T. Borelli <[email protected]>
This file is part of ArchIsoMyDrive.
ArchIsoMyDrive is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ArchIsoMyDrive is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with ArchIsoMyDrive. If not, see <http://www.gnu.org/licenses/>.
}
unit uResources;
{$mode objfpc}{$H+}
interface
uses SysUtils;
const
APP_VER = '6.1';
APP_TITLE = 'ArchIsoMyDrive';
{$ifopt D+}
APP_TITLE_VER = APP_TITLE + ' v' + APP_VER + ' (devel)';
{$else}
APP_TITLE_VER = APP_TITLE + ' v' + APP_VER;
{$endif}
APP_BIN = 'archisomydrv';
ResourceString
rsErrorDlgTitle = 'Error - ' + APP_TITLE;
rsErrNotRoot = 'You must have administrator permissions.';
rsErrUniqueInstance = APP_TITLE + ' is already running.';
rsErrorSizeDevice = 'The size of the device is smaller' + LineEnding +
'than the one in the ISO file.';
rsErrorIsoCero = 'The size of the ISO file is equal to zero.';
rsErrorIsoNotOpen = 'Unable to open file.';
rsErrorFileNotExist = 'The file does not exists:';
rsErrorDropFile = 'Only .iso or .img files are accepted.';
rsVersion = 'Version:';
rsConfirmDlgTitle = 'Confirmation - ' + APP_TITLE;
rsCopyMessage = 'Do you want to start with the format?' + LineEnding +
'You will lose the device data.';
rsOverwriteFile = 'The file already exists.' + LineEnding +
'Do you want to overwrite the file?';
rsAskExit = 'The ISO file is currently being copied to device.' +
LineEnding + 'Do you want to leave?';
rsEndCopyOk = 'The copy finished successfully.';
// no todos los estatus estan en main, algunos
// se encuentran en otros diálogos de control.
rsStatusTerminate = 'Finished.';
rsStatusCopying = 'Copying...';
rsStatusError = 'Error.';
rsStatusPause = 'Pause...';
rsStatusCancel = 'Cancelled.';
rsStatusWaiting = 'Waiting.';
rsStatusFormatting = 'Formatting...';
rsUsbUnity = 'Device: ';
rsUsbUnityEmpty = '<none>';
rsProgress = 'Progress: ';
rsParamUnknown = 'Unknown parameter.';
rsParamCorrect = 'Valid parameter';
rsParamHelp = 'Help.';
rsChecksumMatch = 'The checksum matches.';
rsChecksumNotMatch = 'The checksum does not matches.';
rsChecksumTitle = 'Checksums - ' + APP_TITLE;
rsMountTitle = 'Mount ISO - ' + APP_TITLE;
rsMountErrorNoPartitions = 'The ISO file has no partition.';
rsMountErrorNoMount = 'Failed to mount the partition.';
rsMountErrorNoUmount = 'Failed to umount the partition.';
rsMountErrorSaveReport = 'Failed to save report.';
rsMountErrorNoClose = 'There is a mounted partition, unmount it before leaving.';
rsMountErrorMountOnlyOne = 'There is a mounted partition.' + LineEnding +
'Only one partition at a time.';
rsFormatTitle = 'Format Device - ' + APP_TITLE;
rsFormatDescription = 'Device: %s' + LineEnding +
'Manufacturer: %s %s' + LineEnding +
'Size: %s';
rsFormatErrorNoMkfs = 'No program to format was found.';
rsFormatErrorNoProgramFound = 'The program was not found: ';
rsFormatWarningSlow = 'Formatting with this file system is VERY slow.';
rsFormatError = 'Formatting failed. Your device is corrupt.';
rsCloneTitle = 'Clone Device - ' + APP_TITLE;
rsCloneErrorCancel = 'The cloning of the device has been canceled.';
rsCloneDescription = 'Device: %s' + LineEnding + LineEnding + 'ISO: %s';
rsCloneProgress = 'Progress: ';
rsE_DEV_R = 'Could not read from the device: ';
rsE_DEV_W = 'Could not write to the device: ';
rsE_DEV_OR = 'The device could not be opened for reading: ';
rsE_DEV_OW = 'The device could not be opened for writing: ';
rsE_ISO_R = 'The ISO file could not be read: ';
rsE_ISO_W = 'Could not write to the ISO file: ';
rsE_ISO_OR = 'The ISO file could not be opened for reading: ';
rsE_ISO_OW = 'The ISO file could not be opened for writing: ';
rsSaveIsoFile = 'Save ISO file - ' + APP_TITLE;
rsClose = '&Close';
rsSave = '&Save...';
rsFormat = '&Format...';
rsDevice = 'Device:';
rsSize = 'Size:';
rsVendor = 'Vendor ID:';
rsProduct = 'Product:';
rsProductID = 'Product ID:';
rsManufacturer = 'Manufacturer:';
rsSerial = 'Serial:';
rsPowerMax= 'Power max.:';
rsDlgOpenIsoTitle = 'Open an ISO / IMG file - ' + APP_TITLE;
implementation
end.