OSCR
Open Source Cartridge Reader
Loading...
Searching...
No Matches
en.h
1/********************************************************************
2 * Open Source Cartridge Reader *
3 ********************************************************************/
4#pragma once
5#ifndef OSCR_LANG_EN_H_
6#define OSCR_LANG_EN_H_
7
8# if OSCR_LANGUAGE == LANG_EN
9
10namespace OSCR::Strings
11{
12 // Common words/phrases
13 namespace Common
14 {
15 constexpr char const PROGMEM OSCR[] = "OSCR";
16
17 constexpr char const PROGMEM ROM[] = "ROM";
18 constexpr char const PROGMEM RAM[] = "RAM";
19 constexpr char const PROGMEM SRAM[] = "SRAM";
20 constexpr char const PROGMEM PRG[] = "PRG";
21 constexpr char const PROGMEM CHR[] = "CHR";
22 constexpr char const PROGMEM EEPROM[] = "EEPROM";
23 constexpr char const PROGMEM Flash[] = "Flash";
24 constexpr char const PROGMEM None[] = "None";
25
26 constexpr char const PROGMEM Lower[] = "Lower";
27 constexpr char const PROGMEM Upper[] = "Upper";
28
29 constexpr char const PROGMEM Save[] = "Save";
30
31 constexpr char const PROGMEM Blank[] = "Blank";
32 constexpr char const PROGMEM NotBlank[] = "Not Blank";
33
34 constexpr char const PROGMEM Invalid[] = "Invalid";
35 constexpr char const PROGMEM Unknown[] = "Unknown";
36
37 constexpr char const PROGMEM Finished[] = "Finished";
38 constexpr char const PROGMEM Done[] = "Done";
39
40 constexpr char const PROGMEM OK[] = "OK";
41 constexpr char const PROGMEM FAIL[] = "FAIL";
42 constexpr char const PROGMEM DONE[] = "DONE";
43 }
44
45 namespace MenuOptions // most work as headers too
46 {
47 constexpr char const PROGMEM Cartridge[] = "Cartridge";
48 constexpr char const PROGMEM Controller[] = "Controller";
49
50 constexpr char const PROGMEM ReadROM[] = "Read ROM";
51 constexpr char const PROGMEM WriteFlash[] = "Write Flash";
52 constexpr char const PROGMEM ReadSave[] = "Read Save";
53 constexpr char const PROGMEM WriteSave[] = "Write Save";
54
55 constexpr char const PROGMEM SetCartType[] = "Set Cart Type";
56 constexpr char const PROGMEM SetCartSize[] = "Set Cart Size";
57 constexpr char const PROGMEM SetROMSize[] = "Set ROM Size";
58 constexpr char const PROGMEM SetMapper[] = "Set Mapper";
59 constexpr char const PROGMEM SetSaveType[] = "Set Save Type";
60 constexpr char const PROGMEM SetSaveSize[] = "Set Save Size";
61 constexpr char const PROGMEM SetSize[] = "Set Size";
62
63 constexpr char const PROGMEM SelectCart[] = "Select Cart";
64 constexpr char const PROGMEM SelectFile[] = "Select File";
65
66 constexpr char const PROGMEM RefreshCart[] = "Refresh Cart";
67 constexpr char const PROGMEM CartInfo[] = "Cart Info";
68
69 constexpr char const PROGMEM Read[] = "Read";
70 constexpr char const PROGMEM Write[] = "Write";
71 constexpr char const PROGMEM Erase[] = "Erase";
72
73 constexpr char const PROGMEM Abort[] = "Abort";
74 constexpr char const PROGMEM Retry[] = "Retry";
75 constexpr char const PROGMEM Continue[] = "Continue";
76
77 constexpr char const PROGMEM Yes[] = "Yes";
78 constexpr char const PROGMEM No[] = "No";
79
80 constexpr char const PROGMEM Back[] = "Back";
81 constexpr char const PROGMEM Reset[] = "Reset";
82
83 constexpr char const PROGMEM Unlock[] = "Unlock";
84 }
85
86 namespace Names
87 {
88 constexpr char const PROGMEM NormalCFI8[] = "Normal CFI x8";
89 constexpr char const PROGMEM SwitchedCFI8[] = "Switched CFI x8";
90 constexpr char const PROGMEM NormalCFI16[] = "Normal CFI x16";
91 constexpr char const PROGMEM SwitchedCFI16[] = "Switched CFI x16";
92 }
93
94 // Headings
95 namespace Headings
96 {
97 constexpr char const PROGMEM OSCR[] = "Open Source Cart Reader";
98 constexpr char const PROGMEM CRDB[] = "Cartridge Reader Database";
99
100 constexpr char const PROGMEM ChangeVoltage[] = "Change Voltage";
101 constexpr char const PROGMEM OverrideVoltage[] = "Override Voltage";
102
103 constexpr char const PROGMEM BlankCheck[] = "Blank Check";
104
105 constexpr char const PROGMEM SelectCartSize[] = "Select Cartridge Size";
106 constexpr char const PROGMEM SelectSaveSize[] = "Select Save Size";
107 constexpr char const PROGMEM SelectBufferSize[] = "Select Buffer Size";
108 constexpr char const PROGMEM SelectSectorSize[] = "Select Sector Size";
109 constexpr char const PROGMEM SelectMapper[] = "Select Mapper";
110 constexpr char const PROGMEM SelectType[] = "Select Type";
111 constexpr char const PROGMEM SelectOne[] = "Select One";
112
113 constexpr char const PROGMEM SelectCRDBEntry[] = "Select CRDB Entry";
114
115 constexpr char const PROGMEM HardwareProblem[] = "Hardware Problem";
116
117 constexpr char const PROGMEM FatalError[] = "Fatal Error";
118 constexpr char const PROGMEM CartridgeError[] = "Cartridge Error";
119 constexpr char const PROGMEM SD[] = "SD Error";
120
121 constexpr char const PROGMEM ConfirmErase[] = "Erase Data?";
122
123 constexpr char const PROGMEM Warning[] = "!!!! WARNING !!!!";
124
125 constexpr char const PROGMEM CRDBDebugROM[] = " ===== ROM DEBUG INFO ===== ";
126 constexpr char const PROGMEM CRDBDebugMapper[] = " === MAPPER DEBUG INFO === ";
127 constexpr char const PROGMEM CRDBDebugEnd[] = " ========================== ";
128 }
129
130 // Errors
131 namespace Errors
132 {
133 constexpr char const PROGMEM StorageError[] = "SD Error";
134 constexpr char const PROGMEM BuffereOverflow[] = "Buffer overflow!";
135 constexpr char const PROGMEM NameOverflow[] = "Name exceeds limit";
136 constexpr char const PROGMEM ClockGenMissing[] = "Clock Generator not found";
137 constexpr char const PROGMEM RTCMissing[] = "RTC not found";
138
139 constexpr char const PROGMEM HeaderNotFound[] = "Header not found";
140 constexpr char const PROGMEM NoSave[] = "Cart doesn't have saves";
141 constexpr char const PROGMEM NotLargeEnough[] = "Cart is not large enough";
142 constexpr char const PROGMEM NotSupportedByCart[] = "Not supported by cartridge";
143 constexpr char const PROGMEM InvalidType[] = "Invalid type";
144 constexpr char const PROGMEM UnknownType[] = "Unknown type";
145 constexpr char const PROGMEM IncorrectChecksum[] = "Incorrect Checksum";
146 constexpr char const PROGMEM IncorrectFileSize[] = "Incorrect File Size";
147 constexpr char const PROGMEM UnlockFailed[] = "Unlock Failed";
148 constexpr char const PROGMEM TimedOut[] = "Timed Out";
149 constexpr char const PROGMEM NoDataReceived[] = "No Data Received";
150
151 constexpr char const PROGMEM DatabaseError[] = "Database Error";
152 constexpr char const PROGMEM DatabaseNotFound[] = "Database file not found";
153 constexpr char const PROGMEM NotFoundDB[] = "Not found in database";
154
155 constexpr char const PROGMEM IncorrectVoltage[] = "Incorrect voltage, aborting";
156 }
157
158 // Statuses
159 namespace Status
160 {
161 constexpr char const PROGMEM Reading[] = "Reading... ";
162 constexpr char const PROGMEM Writing[] = "Writing... ";
163 constexpr char const PROGMEM Erasing[] = "Erasing... ";
164 constexpr char const PROGMEM Verifying[] = "Verifying... ";
165 constexpr char const PROGMEM Checking[] = "Checking... ";
166 constexpr char const PROGMEM Searching[] = "Searching... ";
167 constexpr char const PROGMEM Checksum[] = "Checksum... ";
168 constexpr char const PROGMEM CRC32[] = "CRC32... ";
169 constexpr char const PROGMEM Locking[] = "Locking... ";
170 constexpr char const PROGMEM Unlocking[] = "Unlocking... ";
171 constexpr char const PROGMEM SearchingDatabase[] = "Searching database... ";
172 constexpr char const PROGMEM PressButton[] = "Press Button... ";
173 }
174
175 // Labels
176 namespace Labels
177 {
178 constexpr char const PROGMEM CHK[] = "CHK: ";
179 constexpr char const PROGMEM CHECKSUM[] = "Checksum: ";
180 constexpr char const PROGMEM ERROR[] = "Error: ";
181 constexpr char const PROGMEM FILE_SIZE[] = "File Size: ";
182 constexpr char const PROGMEM MAPPER[] = "Mapper: ";
183 constexpr char const PROGMEM SUBMAPPER[] = "Submapper: ";
184 constexpr char const PROGMEM NUMBER[] = "Number: ";
185 constexpr char const PROGMEM NAME[] = "Name: ";
186 constexpr char const PROGMEM TYPE[] = "Type: ";
187 constexpr char const PROGMEM BANK[] = "Bank: ";
188 constexpr char const PROGMEM BANKS[] = "Banks: ";
189 constexpr char const PROGMEM SAVE[] = "Save: ";
190 constexpr char const PROGMEM SAVE_SIZE[] = "Save Size: ";
191 constexpr char const PROGMEM SAVE_TYPE[] = "Save Type: ";
192 constexpr char const PROGMEM REVISION[] = "Revision: ";
193 constexpr char const PROGMEM RAM[] = "RAM: ";
194 constexpr char const PROGMEM RAM_SIZE[] = "RAM Size: ";
195 constexpr char const PROGMEM ROM[] = "ROM: ";
196 constexpr char const PROGMEM ROM_SIZE[] = "ROM Size: ";
197 constexpr char const PROGMEM SIZE[] = "Size: ";
198 constexpr char const PROGMEM Address[] = "Address: ";
199
200 constexpr char const PROGMEM ID[] = "ID: ";
201 constexpr char const PROGMEM CRCSum[] = "CRC: ";
202 constexpr char const PROGMEM Selected[] = "Selected: ";
203 constexpr char const PROGMEM SizeLow[] = "Size Low: ";
204 constexpr char const PROGMEM SizeHigh[] = "Size High: ";
205
206 constexpr char const PROGMEM File[] = "File:";
207 }
208
209 // Templates
210 namespace Templates
211 {
212 constexpr char const PROGMEM VoltageSwitchTo[] = "Set voltage switch to %s";
213
214 constexpr char const PROGMEM Browse[] = "Browse %s";
215
216 constexpr char const PROGMEM ErrorVerifyBytes[] = "Error: %" PRIu32 " bytes\r\n did not verify.";
217
218 constexpr char const PROGMEM FileMustBe[] = "File must be %s";
219 constexpr char const PROGMEM FileMustBeU32[] = "File must be %" PRIu32;
220
221# if defined(ENABLE_SERIAL_ANSI)
222 constexpr char const PROGMEM OSCRHeaderPrefix[] = "OSCR - %s";
223# else
224 constexpr char const PROGMEM OSCRHeaderPrefix[] = "OSCR: %s";
225# endif
226 }
227
228 namespace Features
229 {
230 constexpr char const PROGMEM Settings[] = "Settings";
231 constexpr char const PROGMEM About[] = "About";
232 constexpr char const PROGMEM Reset[] = "Reset";
233 constexpr char const PROGMEM CheckVoltage[] = "Check Voltage";
234 }
235
236 namespace Directory
237 {
238 constexpr char const PROGMEM ROM[] = "ROM";
239 constexpr char const PROGMEM MPK[] = "MPK";
240 constexpr char const PROGMEM Save[] = "SAVE";
241 constexpr char const PROGMEM Raw[] = "RAW";
242 constexpr char const PROGMEM SIMM[] = "SIMM";
243 }
244}
245# endif /* OSCR_LANGUAGE == EN */
246#endif /* OSCR_LANG_EN_H_ */
String constants.
Definition OSCR.h:98