Mercurial > public > ostc4
annotate Discovery/Inc/text_multilanguage.h @ 626:3e1a0e267f38
Added option to select sensitivity of focus detection:
Depending on the location the computer is equiped during dive (arm wet/ dry suite, glove...) it is usefull to adapt the sensitivity of the focus detection. Technical it means the radius of the spot in which direction ray is projected may be changed in size.
The option has been added to the motion control menu.
author | Ideenmodellierer |
---|---|
date | Fri, 12 Feb 2021 21:37:50 +0100 |
parents | 8fa2de4414a8 |
children | 5f0d3dce5ef4 |
rev | line source |
---|---|
38 | 1 /////////////////////////////////////////////////////////////////////////////// |
2 /// -*- coding: UTF-8 -*- | |
3 /// | |
4 /// \file Discovery/Inc/text_multilanguage.h | |
5 /// \brief Header file of TXT Multilanguage Support | |
6 /// \author heinrichs weikamp gmbh | |
7 /// \date 20-April-2014 | |
8 /// | |
9 /// $Id$ | |
10 /////////////////////////////////////////////////////////////////////////////// | |
11 /// \par Copyright (c) 2014-2018 Heinrichs Weikamp gmbh | |
12 /// | |
13 /// This program is free software: you can redistribute it and/or modify | |
14 /// it under the terms of the GNU General Public License as published by | |
15 /// the Free Software Foundation, either version 3 of the License, or | |
16 /// (at your option) any later version. | |
17 /// | |
18 /// This program is distributed in the hope that it will be useful, | |
19 /// but WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
21 /// GNU General Public License for more details. | |
22 /// | |
23 /// You should have received a copy of the GNU General Public License | |
24 /// along with this program. If not, see <http://www.gnu.org/licenses/>. | |
25 ////////////////////////////////////////////////////////////////////////////// | |
26 | |
27 /* Define to prevent recursive inclusion -------------------------------------*/ | |
28 #ifndef TEXT_MULTILINGUAGE_H | |
29 #define TEXT_MULTILINGUAGE_H | |
30 | |
31 /* Includes ------------------------------------------------------------------*/ | |
32 #include <stdint.h> | |
33 | |
34 /* Exported types ------------------------------------------------------------*/ | |
35 | |
36 enum LANGUAGES | |
37 { | |
38 LANGUAGE_English = 0, | |
39 LANGUAGE_German, | |
40 LANGUAGE_French, | |
41 LANGUAGE_Italian, | |
42 LANGUAGE_Espanol, | |
43 LANGUAGE_END | |
44 }; | |
45 #define NUMBER_OF_LANGUAGES LANGUAGE_END | |
46 | |
47 typedef struct { | |
48 const uint8_t code; | |
49 const uint8_t* text[NUMBER_OF_LANGUAGES]; | |
50 } tText; | |
51 extern const tText text_array[]; | |
52 extern const tText text_array2[]; | |
53 | |
54 /* Text codes ---------------------------------------------------------------*/ | |
55 enum TXT_MULTILANGUAGE | |
56 { | |
57 TXT_Language = '\x80', | |
58 TXT_LanguageName, | |
59 TXT_Depth, | |
60 TXT_Divetime, | |
61 TXT_MaxDepth, | |
62 TXT_AvgDepth, | |
63 TXT_Ceiling, | |
64 TXT_ActualGradient, | |
65 TXT_Stopwatch, | |
66 TXT_Decostop, | |
67 TXT_Nullzeit, | |
68 TXT_ppO2, | |
69 TXT_TTS, | |
70 TXT_CNS, | |
71 TXT_Temperature, | |
72 TXT_FutureTTS, | |
73 TXT_Gas, | |
74 TXT_Time, | |
75 TXT_Date, | |
76 TXT_Format, | |
77 TXT_Warning, | |
78 TXT_o2Sensors, | |
79 TXT_Brightness, | |
80 TXT_Cave, | |
81 TXT_Eco, | |
82 TXT_Normal, | |
83 TXT_Bright, | |
84 TXT_Ultrabright, | |
85 /* */ | |
86 TXT_OC_Gas_Edit, | |
87 TXT_Diluent_Gas_Edit, | |
88 TXT_Mix, | |
89 TXT_First, | |
90 TXT_Deco, | |
91 TXT_Travel, | |
92 TXT_Inactive, | |
526
88c626d01ee5
Added new option to gas configuration: "Off":
Ideenmodellierer
parents:
506
diff
changeset
|
93 TXT_Off, |
38 | 94 TXT_ChangeDepth, |
95 TXT_Active, | |
96 TXT_Default, | |
97 TXT_Type, | |
98 /* */ | |
99 TXT_Setpoint_Edit, | |
100 /* */ | |
101 TXT_DecoAlgorithm, | |
102 TXT_ZHL16GF, | |
103 TXT_aGF, | |
104 TXT_VPM, | |
105 TXT_SafetyStop, | |
106 TXT_low_high, | |
107 TXT_ppO2Name, | |
108 TXT_Minimum, | |
109 TXT_Maximum, | |
110 TXT_Minutes, | |
111 TXT_Seconds, | |
112 TXT_CCRmode, | |
113 TXT_AtemGasVorrat, | |
114 TXT_LiterproMinute, | |
115 TXT_Reserve, | |
116 TXT_Salinity, | |
117 TXT_DiveMode, | |
118 TXT_OpenCircuit, | |
119 TXT_ClosedCircuit, | |
120 TXT_Apnoe, | |
121 TXT_Gauge, | |
122 TXT_Sensor, | |
123 TXT_FixedSP, | |
124 TXT_Decoparameters, | |
125 TXT_LastDecostop, | |
126 TXT_Fallback, | |
127 /* */ | |
128 TXT_DateAndTime, | |
129 TXT_DateConfig, | |
130 TXT_TimeConfig, | |
131 TXT_Daylightsaving, | |
132 /* */ | |
133 TXT_Logbook, | |
134 TXT_LogbookEmpty, | |
135 /* */ | |
136 TXT_Start_Calculation, | |
137 /* */ | |
138 TXT_Information, | |
139 /* */ | |
140 TXT_END, | |
141 | |
142 TXT_MINIMAL = '\xFE', | |
143 TXT_2BYTE = '\xFF', | |
144 }; | |
145 | |
146 /* Text codes ---------------------------------------------------------------*/ | |
147 /* don't use the chars before as those break if(text == '\n') etc. pp.*/ | |
148 enum TXT2BYTE_MULTILANGUAGE | |
149 { | |
150 TXT2BYTE_START = '\x1F', | |
151 TXT2BYTE_ResetMenu, | |
152 TXT2BYTE_LogbookOffset, | |
153 TXT2BYTE_AreYouSure, | |
154 TXT2BYTE_Abort, | |
155 TXT2BYTE_RebootRTE, | |
156 TXT2BYTE_ResetAll, | |
157 TXT2BYTE_ResetDeco, | |
158 TXT2BYTE_ResetLogbook, | |
159 TXT2BYTE_RebootMainCPU, | |
160 TXT2BYTE_Exit, | |
161 /* */ | |
162 TXT2BYTE_ShowDebug, | |
163 TXT2BYTE_PleaseUpdate, | |
164 TXT2BYTE_RTE, | |
165 TXT2BYTE_Fonts, | |
166 /* */ | |
167 TXT2BYTE_ResetStopwatch, | |
168 TXT2BYTE_SetMarker, | |
614 | 169 TXT2BYTE_SetMarkerShort, |
619
8fa2de4414a8
Added t3 quick menu for marker synchronisation:
Ideenmodellierer
parents:
614
diff
changeset
|
170 TXT2BYTE_CheckMarker, |
38 | 171 TXT2BYTE_CompassHeading, |
547 | 172 TXT2BYTE_CalibView, |
347
77de014928d6
Added option to manually leave dive mode to system menu
ideenmodellierer
parents:
225
diff
changeset
|
173 TXT2BYTE_EndDiveMode, |
38 | 174 /* */ |
175 TXT2BYTE_Simulator, | |
176 TXT2BYTE_StartSimulator, | |
177 TXT2BYTE_Intervall, | |
178 TXT2BYTE_SimDiveTime, | |
179 TXT2BYTE_SimMaxDepth, | |
180 TXT2BYTE_SimTravelGas, | |
181 TXT2BYTE_SimDecoGas, | |
182 TXT2BYTE_SimConsumption, | |
183 TXT2BYTE_SimSummary, | |
184 TXT2BYTE_SimDecTo, | |
185 TXT2BYTE_SimLevel, | |
186 TXT2BYTE_SimAscTo, | |
187 TXT2BYTE_SimSurface, | |
188 TXT2BYTE_CalculateDeco, | |
189 TXT2BYTE_Calculating, | |
190 TXT2BYTE_PleaseWait, | |
191 | |
192 /* */ | |
193 TXT2BYTE_Decolist, | |
194 /* */ | |
195 TXT2BYTE_Bluetooth, | |
196 TXT2BYTE_ButtonSensitivity, | |
197 TXT2BYTE_SpecialDiveGas, | |
198 TXT2BYTE_SpecialDiveGasMenu, | |
199 TXT2BYTE_SpecialDiveGasMenuCCR, | |
200 TXT2BYTE_CompassCalib, | |
539
d784f281833a
Added inertia simulation for compass heading:
Ideenmodellierer
parents:
526
diff
changeset
|
201 TXT2BYTE_CompassInertia, |
38 | 202 TXT2BYTE_UseSensor, |
203 /* */ | |
204 TXT2BYTE_WarnDecoMissed, | |
205 TXT2BYTE_WarnPPO2Low, | |
206 TXT2BYTE_WarnPPO2High, | |
207 TXT2BYTE_WarnBatteryLow, | |
208 TXT2BYTE_WarnSensorLinkLost, | |
209 TXT2BYTE_WarnFallback, | |
210 TXT2BYTE_WarnCnsHigh, | |
211 /* */ | |
212 TXT2BYTE_O2monitor, | |
213 TXT2BYTE_O2voltage, | |
214 TXT2BYTE_Tissues, | |
215 TXT2BYTE_Nitrogen, | |
216 TXT2BYTE_Helium, | |
217 TXT2BYTE_CNS, | |
218 TXT2BYTE_OTU, | |
219 TXT2BYTE_Profile, | |
220 TXT2BYTE_Compass, | |
221 TXT2BYTE_SafetyStop2, | |
222 TXT2BYTE_noFly, | |
223 TXT2BYTE_Desaturation, | |
224 TXT2BYTE_TimeSinceLastDive, | |
225 TXT2BYTE_ButtonLogbook, | |
226 TXT2BYTE_ButtonMenu, | |
227 TXT2BYTE_ButtonView, | |
228 TXT2BYTE_ButtonBack, | |
229 TXT2BYTE_ButtonEnter, | |
230 TXT2BYTE_ButtonNext, | |
231 TXT2BYTE_ButtonMinus, | |
232 TXT2BYTE_ButtonPlus, | |
233 TXT2BYTE_SimFollowDecoStops, | |
234 /* */ | |
235 TXT2BYTE_Usage_Battery, | |
236 TXT2BYTE_Usage_Dives, | |
237 TXT2BYTE_Usage_Environment, | |
238 /* */ | |
239 TXT2BYTE_ChargeCycles, | |
240 TXT2BYTE_LowestVoltage, | |
241 TXT2BYTE_HoursOfOperation, | |
242 TXT2BYTE_NumberOfDives, | |
243 TXT2BYTE_AmbientTemperature, | |
244 /* */ | |
245 TXT2BYTE_Bottle, | |
246 /* */ | |
247 TXT2BYTE_Gaslist, | |
248 TXT2BYTE_Clock, | |
249 TXT2BYTE_Sunday, | |
250 TXT2BYTE_Monday, | |
251 TXT2BYTE_Tuesday, | |
252 TXT2BYTE_Wednesday, | |
253 TXT2BYTE_Thursday, | |
254 TXT2BYTE_Friday, | |
255 TXT2BYTE_Saturday, | |
256 /* */ | |
257 TXT2BYTE_Layout, | |
258 TXT2BYTE_Units, | |
259 TXT2BYTE_Units_metric, | |
260 TXT2BYTE_Units_feet, | |
261 TXT2BYTE_Farbschema, | |
262 TXT2BYTE_Customviews, | |
263 TXT2BYTE_CViewTimeout, | |
264 TXT2BYTE_CViewStandard, | |
265 TXT2BYTE_CornerTimeout, | |
266 TXT2BYTE_CornerStandard, | |
552
531e7818b737
Added menu structure to acces viewport calibration:
Ideenmodellierer
parents:
547
diff
changeset
|
267 TXT2BYTE_IndicateFrame, |
531e7818b737
Added menu structure to acces viewport calibration:
Ideenmodellierer
parents:
547
diff
changeset
|
268 TXT2BYTE_BoostBacklight, |
626
3e1a0e267f38
Added option to select sensitivity of focus detection:
Ideenmodellierer
parents:
619
diff
changeset
|
269 TXT2BYTE_FocusSpotSize, |
552
531e7818b737
Added menu structure to acces viewport calibration:
Ideenmodellierer
parents:
547
diff
changeset
|
270 |
38 | 271 TXT2BYTE_SetToMOD, |
272 /* */ | |
273 TXT2BYTE_HUDbattery, | |
584 | 274 TXT2BYTE_O2Calib, |
562
ec76fa85009e
Added ADC sensor interface to O2 sensore menu structure:
Ideenmodellierer
parents:
552
diff
changeset
|
275 TXT2BYTE_O2Interface, |
ec76fa85009e
Added ADC sensor interface to O2 sensore menu structure:
Ideenmodellierer
parents:
552
diff
changeset
|
276 TXT2BYTE_O2IFOptic, |
ec76fa85009e
Added ADC sensor interface to O2 sensore menu structure:
Ideenmodellierer
parents:
552
diff
changeset
|
277 TXT2BYTE_O2IFAnalog, |
38 | 278 TXT2BYTE_LowerIsLess, |
279 TXT2BYTE_DiveMenuQ, | |
280 TXT2BYTE_DiveQuitQ, | |
281 TXT2BYTE_DiveBearingQ, | |
282 TXT2BYTE_DiveResetAvgQ, | |
283 /* */ | |
284 TXT2BYTE_ExtraDisplay, | |
285 TXT2BYTE_ExtraBigFont, | |
493
b560e474e319
Added possibility to switch between "classic" bigfont views and a selection with a new information combination
Ideenmodellierer
parents:
424
diff
changeset
|
286 TXT2BYTE_ExtraBigFontV2, |
38 | 287 TXT2BYTE_ExtraDecoGame, |
288 TXT2BYTE_ExtraNone, | |
289 /* */ | |
368
50ea68c7a153
Added menu item for motion detection. There are several possibility to use motion detection for user action input. To select of the a new menu entry has been added to the Sys2 =>Custom View Menu (Variables in german)
ideenmodellierer
parents:
225
diff
changeset
|
290 TXT2BYTE_MotionCtrl, |
50ea68c7a153
Added menu item for motion detection. There are several possibility to use motion detection for user action input. To select of the a new menu entry has been added to the Sys2 =>Custom View Menu (Variables in german)
ideenmodellierer
parents:
225
diff
changeset
|
291 TXT2BYTE_MoCtrlNone, |
50ea68c7a153
Added menu item for motion detection. There are several possibility to use motion detection for user action input. To select of the a new menu entry has been added to the Sys2 =>Custom View Menu (Variables in german)
ideenmodellierer
parents:
225
diff
changeset
|
292 TXT2BYTE_MoCtrlPitch, |
50ea68c7a153
Added menu item for motion detection. There are several possibility to use motion detection for user action input. To select of the a new menu entry has been added to the Sys2 =>Custom View Menu (Variables in german)
ideenmodellierer
parents:
225
diff
changeset
|
293 TXT2BYTE_MoCtrlSector, |
373
7b981f8bdd41
Add scroll event by pitch angle detection:
ideenmodellierer
parents:
368
diff
changeset
|
294 TXT2BYTE_MoCtrlScroll, |
368
50ea68c7a153
Added menu item for motion detection. There are several possibility to use motion detection for user action input. To select of the a new menu entry has been added to the Sys2 =>Custom View Menu (Variables in german)
ideenmodellierer
parents:
225
diff
changeset
|
295 /* */ |
38 | 296 TXT2BYTE_DecoDataLost, |
297 TXT2BYTE_Info, | |
298 TXT2BYTE_Korrekturwerte, | |
299 TXT2BYTE_SetBearing, | |
300 TXT2BYTE_ResetBearing, | |
301 TXT2BYTE_Sensor, | |
302 TXT2BYTE_Maintenance, | |
303 TXT2BYTE_SetBatteryCharge, | |
304 TXT2BYTE_SetFactoryDefaults, | |
424
2b31cf1ebbcc
Added (optional) menu item to analyse log sample buffer:
ideenmodellierer
parents:
382
diff
changeset
|
305 TXT2BYTE_SetSampleIndex, |
38 | 306 TXT2BYTE_Reboot, |
307 TXT2BYTE_ButtonLeft, | |
308 TXT2BYTE_ButtonMitte, | |
309 TXT2BYTE_ButtonRight, | |
310 /* */ | |
311 TXT2BYTE_Summary, | |
376
a90100959871
Added string for Empty/ Debug custom view selection
ideenmodellierer
parents:
373
diff
changeset
|
312 TXT2BYTE_DispNoneDbg, |
38 | 313 TXT2BYTE_ApneaLast, |
314 TXT2BYTE_ApneaTotal, | |
315 TXT2BYTE_ApneaSurface, | |
316 /* */ | |
107 | 317 TXT2BYTE_FLIPDISPLAY, |
506
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
493
diff
changeset
|
318 TXT2BYTE_SelectCustomviews, |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
493
diff
changeset
|
319 TXT2BYTE_SelectBigFont, |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
493
diff
changeset
|
320 TXT2BYTE_MaxDepth, |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
493
diff
changeset
|
321 TXT2BYTE_Stopwatch, |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
493
diff
changeset
|
322 TXT2BYTE_TTS, |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
493
diff
changeset
|
323 TXT2BYTE_ppoNair, |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
493
diff
changeset
|
324 TXT2BYTE_Navigation, |
998529b3e142
Added new top level menu for customization of views
Ideenmodellierer
parents:
493
diff
changeset
|
325 TXT2BYTE_DepthData, |
542
6960df7ddb09
Added new t3 view showing first deco stop and tts in parallel:
Ideenmodellierer
parents:
539
diff
changeset
|
326 TXT2BYTE_DecoTTS, |
626
3e1a0e267f38
Added option to select sensitivity of focus detection:
Ideenmodellierer
parents:
619
diff
changeset
|
327 |
3e1a0e267f38
Added option to select sensitivity of focus detection:
Ideenmodellierer
parents:
619
diff
changeset
|
328 TXT2BYTE_Minimum, |
3e1a0e267f38
Added option to select sensitivity of focus detection:
Ideenmodellierer
parents:
619
diff
changeset
|
329 TXT2BYTE_Normal, |
3e1a0e267f38
Added option to select sensitivity of focus detection:
Ideenmodellierer
parents:
619
diff
changeset
|
330 TXT2BYTE_Maximum, |
3e1a0e267f38
Added option to select sensitivity of focus detection:
Ideenmodellierer
parents:
619
diff
changeset
|
331 |
38 | 332 TXT2BYTE_END |
333 }; | |
334 | |
335 #endif /* TEXT_MULTILINGUAGE_H */ |