-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlang.c
115 lines (109 loc) · 3.23 KB
/
lang.c
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
#ifdef FSCK
static const char *DefaultLanguageStringTable[SYS_UI_MSG_COUNT] = {
"No HardDisk Drive (HDD) unit was detected.",
"The HardDisk Drive (HDD) unit is not formatted.",
"Please wait...",
"There was a problem accessing the disk.\nThe operation cannot be completed.",
"Disk scan completed.",
"The disk has corrupted data and must be checked.\nCorrupted data will be deleted."};
static const char *DefaultLanguageLabelStringTable[SYS_UI_LBL_COUNT] = {
"OK",
"Cancel",
"Yes",
"No",
"Next",
"Back",
"Enabled",
"Disabled",
"Toggle option",
"Select field",
"Abort",
"Warning",
"Error",
"Information",
"Confirmation",
"Please wait",
"Scan Results",
"Errors found:",
"Errors fixed:",
"Some errors could not be fixed."};
#else
static const char *DefaultLanguageStringTable[SYS_UI_MSG_COUNT] = {
"No HardDisk Drive (HDD) unit was detected.",
"The HardDisk Drive (HDD) unit is not formatted. Format?\nWarning: All data will be erased.",
"Failed to format the HardDisk Drive (HDD) unit.",
"Quit program?",
"Please wait...",
"There was a problem accessing the disk.\nThe operation cannot be completed.",
"Check the disk for problems",
"Optimize the disk.\nAvailable space may be increased.",
"Perform a surface scan on the disk",
"Write zeros to every sector on the disk.",
"Quit program.",
"The bad sector could not be remapped.",
"Bad sector found at LBA %lu.\n\nThe file stored within the remapped sectors will be lost.\n\nSelect action:",
"An unexpected I/O error has occurred.",
"Proceed with scanning the disk?\nCorrupted data will be deleted.",
"Disk scan completed.",
"Abort scan operation?",
"Proceed with optimizing the disk?",
"Disk optimization completed.",
"Abort optimization?",
"Proceed with the surface scan?",
"Disk surface scan completed.",
"Abort surface scan operation?",
"Proceed with zero-filling the disk?",
"Disk zero-filled successfully.",
"Abort zero-fill operation?",
"Press START+SELECT to continue.\nPress any other button to abort.",
"The HardDisk Drive (HDD) unit has a problem.\nPlease run a disk check first.",
"S.M.A.R.T. has reported that the HardDisk Drive (HDD) unit has failed.\n\nThe HDD unit must be replaced."};
static const char *DefaultLanguageLabelStringTable[SYS_UI_LBL_COUNT] = {
"OK",
"Cancel",
"PASS",
"FAIL",
"Yes",
"No",
"Next",
"Back",
"Enabled",
"Disabled",
"Toggle option",
"Select field",
"Quit program",
"Abort",
"Warning",
"Error",
"Information",
"Confirmation",
"Please wait",
"Scanning disk",
"Surface scanning disk",
"Zero-filling disk",
"Time remaining:",
"Remap",
"Skip",
"Remap all",
"Skip all",
"Bad sectors:",
"ATA unit 0:",
"Model:",
"Serial:",
"Firmware:",
"SMART status:",
"Capacity:",
"Check disk for errors",
"Optimize disk",
"Perform surface scan",
"Zero-fill disk",
"Optimizing disk (1/2)",
"Optimizing disk (2/2)",
"MB",
"GB",
"TB",
"Scan Results",
"Errors found:",
"Errors fixed:",
"Some errors could not be fixed."};
#endif