-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtranslations.js
328 lines (328 loc) · 12 KB
/
translations.js
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
export default {
WELCOME: {
TITLE: 'Welcome',
LOADING_TEXT: 'Loading...',
SCANNING: "Scanning...",
CONNECTING: "Connecting, {{name}}",
CONNECTED: 'Connected!',
REMEMBERING: "Remembering {{name}}",
DISCONNECTED: 'Could not connect to device',
NO_BLUETOOTH: 'Could not find Bluetooth interface',
CONNECTION_FAILED: "Connection failed",
TIMEOUT: "connection timeout",
WIFI_ERROR: "Could not connect to network",
TESTING: 'Testing...',
UNKNOWN: 'Unknown Name',
SUCCESS: "Connected to {{output}} !",
FOUND: "Found {{length}} paired devices",
DEVICES: 'Nearby Devices',
DEVICE_TIPS: "If you do not see your OBD, pair a device in Settings -> Bluetooth of your OS.<br/>Ensure no other applications are using your Bluetooth device.",
BLUETOOTH_ERROR: {
TITLE: "OBD Bluetooth Needed",
CONTENT: "Bluetooth must be enabled to communicate with OBD device.",
RETRY: "Try Again"
},
OFFLINE_WARNING: {
TITLE: "Offline Mode",
CONTENT: "Currently not connected to a OBD device. Will load last known history data. If last connected bluetooth device is in range, will attempt to reconnect automatically.",
CONTINUE: "Continue"
}
},
HOME: {
TITLE: "Happy LEAF",
USED: "Used",
REMAINING: "Remaining",
GAINED: "Gained",
HAPPY: "Happy",
TODAY: "Today",
TO: "to",
YES: "Yes",
NO: "No",
MENU: "Menu",
CONNECTED_TO: "Connected to ",
DISCONNECTED: "Disconnected",
CAR_OFF: "Car is off",
HEALTH: "Health",
SINCE: "since",
WATTS_MIN: "Wh per min",
TRIPS: "Trips",
CURRENT_TRIP: "Current Trip",
UPDATED: "Updated ",
MILES: "Miles",
KILOMETERS: "Km",
TEMPC: "Celsius",
TEMPF: "Fahrenheit",
MENUS: {
TO_DARK: "Switch to Dark",
TO_LIGHT: "Switch to Light",
USE_WATTS: "Use Watts/{{units}}",
USE_KW: "Use {{units}}/kW",
RESET: "Reset",
EXPLAIN: "Explain",
OUT_FULLSCREEN: "Exit Fullscreen",
TO_FULLSCREEN: "Enter Fullscreen"
},
RESET_WARNING: {
TITLE: 'Reset Watt Meter?',
CONTENT: 'This will reset the current Watt measurement and set the Watt start time to now. Are you sure?',
CONTINUE: 'Yes, reset!',
NEVERMIND: 'Nevermind'
},
EXPLAIN_METER: {
TITLE: 'Watt Meter',
CONTENT: 'Watts are the measurement of energy transfer, being able to track Watt usage is key to increase efficiency. This widget measures the Watt change from a specified time, and can be reset anytime.',
OKAY: 'Got it!'
}
},
LEAF_DISPLAY: {
SOC: "State of Charge",
MOTOR: "Motor",
CLIMATE: "Climate"
},
WIDGETS: {
EDIT: "Edit",
MOVE: "Move",
LOCK: "Lock",
UNLOCK: "Unlock",
LOG_VIEW: "Logs",
LEAF_DISPLAY: "LEAF Overview",
DATA_DISPLAY: "Single Data",
TIME_CHART: "Time Chart",
TIME_DURATION: "Time Chart Settings",
TIME_THRESHOLD: "Time in minutes",
SHOW_LABELS: "Show labels",
REMAINING: "Energy Remaining",
USED: "Energy Used",
VOLTS: "Cell Volts",
CELL_ERROR: "Could not find cell voltages.",
SHOW_DISTANCE_PER: "Use distance per kW"
},
NOTIFICATIONS: {
CLEAR_ALL: "Clear All",
NONE_YET: "No notifications yet!",
RESET_DIALOG: {
TITLE: 'Reset all notifications?',
CONTENT: 'This will perminantly delete all current notifications, are you sure?',
OKAY: 'Yes, reset!',
NEVERMIND: 'Nevermind'
},
HIGH_BAT_TEMP: {
TITLE: "High Battery Temperature",
CONTENT: "<h1>High Battery temperature</h1><p>High battery temperatures can cause irriversable damage, avoid quick charging until the battery has cooled.<br/>Your battery temperature was read at: {{temp}}°. </p>"
},
LOW_BAT_TEMP: {
TITLE: "Low Battery Temperature",
CONTENT: "<h1>Low Battery temperature</h1><p>Low battery temperatures can cause irriversable damage. Connect to a charger to activate battery heater. <br/>Your battery temperature was read at: {{temp}}°. </p>"
},
RAPID_TEMP: {
TITLE: "Rapid Battery Temperature Increase",
CONTENT: "<h1>Battery temperature rapidly increased</h1><p>The battery temperature has increased by over 1° very rapidly.<br/>Your battery temperature was read at: {{temp}}° with an increase of {{increase}}°. </p>"
},
LOW_12V: {
TITLE: "12v Battery Low",
CONTENT: "<h1>Check your battery!</h1><p>It appears your 12v battery is low. <br/>Your battery was read at: {{volts}} volts. </p>"
},
LOW_TRACTION: {
TITLE: "Battery Low",
CONTENT: "<h1>Low battery charge!</h1><p>You're running out of energy! Get to a charger fast! <br/>Your battery was read at: {{SOC}}%. </p>"
},
LOW_HX: {
TITLE: "Low HX",
CONTENT: "<h1>Battery HX is low</h1><p>HX is corrilated to battery resistance and may affect health and efficiency. <hr/> The meaning of this number is not fully understood but it appears to be inversely related to the battery internal resistance. As the internal resistance of the battery pack increases, this percentage decreases. As internal resistance increases more energy is lost within the battery and the pack heats up more under load.<br/><br/>Your battery HX was read at: {{hx}}%. <br/><br/>Tip: Quick charging or rapid acceleration may temporarily improve HX.</p>"
},
LOW_OUTSIDE_TEMP: {
TITLE: "Watch For Ice",
CONTENT: "<h1>Low temp outside</h1><p>It is below freezing outside, watch for Ice. Outside temp was read at: {{temp}}°. </p>"
},
HIGH_OUTPUT: {
TITLE: "High Battery Output",
CONTENT: "<h1>High Battery Output</h1><p>It may be fun to rapidly accelerate but this could be harmful to your battery.<br/>Avoid rapid acceleration to ensure maximum battery longevity. Your motor output was read at {{watts}}Wh</p>"
},
SOH_CHANGE: {
TITLE: "State of Health Changed",
CONTENT: "<h1>State of Health Changed</h1><p>Previous State of Health {{lastSOH}}%<br/>Current State of Health {{SOH}}%<br/>Odometer at change {{odometer}}.</p>"
},
TIRES: {
R_FRONT: "Front Right",
L_FRONT: "Front Left",
R_REAR: "Rear Right",
L_REAR: "Rear Left"
},
HIGH_TIRE: {
TITLE: "{{tire}} Tire Pressure High",
CONTENT: "<h1>High {{tire}} Tire pressure</h1><p>High tire pressures may cause poor efficiency.<br/>{{tire}} tire was read at: {{value}} psi.<br />Current threshold is {{threshold}}. </p>",
},
LOW_TIRE: {
TITLE: "{{tire}} Tire Pressure Low",
CONTENT: "<h1>Low {{tire}} Tire pressure</h1><p>Low tire pressures may cause poor efficiency<br/>{{tire}} tire was read at: {{value}} psi.<br/>Current threshold is {{threshold}}. </p>"
},
TIRE_DELTA: {
TITLE: "High Tire Delta",
CONTENT: "<h1>Tire Delta {{value}}</h1><p>This is more than the defined threshold of {{threshold}}. The PSI difference between the most inflated tire and least inflated tire is {{value}}</p>"
}
},
SETTINGS: {
TABS: {
SETTINGS: "Settings",
DATA: "Data",
ABOUT: "About",
CONNECTION: "Connection"
},
DELETE_CONFIRM: {
TITLE: 'Delete all history?',
CONTENT: 'This will permanently delete all history for today, if you do not have logs enabled, this data will be lost forever. Are you sure?',
CONFIRM: 'Yes, reset!',
NEVERMIND: 'Nevermind'
},
RESET: "Reset settings to defaults",
RESET_TITLE: "Reset",
RESET_WIDGETS: "Reset Widgets",
TITLE: "Manage",
NOTIFICATIONS: {
TITLE: "Notifications",
ENABLE_DEVICE: "Send notifications to OS",
TIRE_HIGH_THRESHOLD: "High Tire PSI",
TIRE_LOW_THRESHOLD: "Low Tire PSI",
TIRE_DELTA_THRESHOLD: "Tire Delta Limit"
},
DISPLAY: {
TITLE: "Display",
EXTRA_DATA: "Hide extra data",
EXTRA_DATA_DETAIL: "Will improve performance",
EXTRA_LOGS: "Hide Logs",
EXTRA_LOGS_DETAIL: "Will improve performance. Disable display only.",
LANGUAGE: {
ENGLISH: "English",
FRENCH: "French",
RUSSIAN: "Russian",
SPANISH: "Spanish",
PORTUGUESE: "Portuguese",
TITLE: "Language",
},
DISTANCE: "Distance Units",
TEMP: "Temperature Units"
},
DARK_MODE: {
TITLE: "Theme/Dark Mode",
AMBIENT: "Ambient Light sensor",
AMBIENT_SENSITIVITY: "Ambient Light Sensitivity",
DARK_HEADLIGHTS: "Activate Dark with Headlights"
},
EXPERIMENTAL: {
TITLE: "Experimental",
SAVE_OBD: "Save OBD log file",
SAVE_HISTORY: "Save History log file",
DEBUG_CODES: "Send debug codes",
DEBUG_EXPLAIN: "(very slow)"
},
DATA: {
CLEAR: "Clear History",
DELETE: "Delete",
LOG_LOCATION: "Find more logs at {{location}}"
},
WIFI: {
TITLE: "Wifi",
IP: "IP Address",
PORT: "Port Number",
ALLOW: "Allow Wifi",
ALLOW_ENABLE: "Enable Wifi on start, auto attemp connect to wifi."
},
BLUETOOTH: {
TITLE: "Bluetooth",
ALLOW: "Allow Bluetooth"
},
REMAINING: {
KWH_ONLY: "kWh only",
WH_ONLY: "Wh only",
AUTO: "Auto"
}
},
DATA: {
dataDisplay: "Data to display",
properties: "Property Counter",
lastUpdateTime: "Last Updated",
SOH: "State of Heath",
GIDs: "GIDs",
batteryTemp: "Battery Temperature",
tempOffset: "Temperature Offset",
isCharging: "Is Charging",
batteryVolts: "Battery Volts",
batteryAmps: "Battery Amps",
headLights: "Headlights",
fogLights: "Foglights",
turnSignal: "Turn Signal",
odometer: "Odometer",
distanceUnits: "Distance Units",
distanceTraveled: "Distance Traveled",
distancePerKW: "Distance per kWh",
wattsPerDistance: "Wh per Distance",
transmission: "Transmission",
speed: "Speed",
averageSpeed: "Average Speed",
turnAngle: "Turn Angle",
watts: "Wh Remaining",
kilowatts: "kWh Reamining",
wattsUsed: "Wh Used",
wattsStarted: "Wh Started",
wattsStartedTime: "Trip Started Time",
wattsStartedCharging: "Time Started Charging",
regenWatts: "Regen Wh",
averageRegen: "Average Regen",
availableRegen: "Available Regen",
targetRegenBraking: "Target Braking Regen",
targetRegen: "Target Regen",
motorWatts: "Motor Wh",
rawMotorAmps: "Raw Motor Amps",
rawMotorVolts: "Raw Motor Volts",
averageMotorWatts: "Average Motor Wh",
peakMotorWatts: "Peak Motor Output",
averageMotorAmps: "Average Motor Amps",
averageMotorVolts: "Average Motor Volts",
climateOn: "Climate On",
ventMode: "Vent Mode",
fanSpeed: "Fan Speed",
outsideTemp: "Outside Temperature",
climateSetPoint: "Climate Setpoint",
insideTemp: "Inside Temperature",
climateConsumption: "Climate Consumption",
ACUsage: "AC Usage",
alternateClimateUsage: "Alternitive Climate Consumption",
averageClimateUsage: "Average Climate Usage",
averageRegenWatts: "Average Regen",
actualSOC: "State of Charge",
hx: "HX Factor",
SOCDifference: "Charge Difference",
wattDifference: "Wh Difference",
wattsPerMinute: "Wh per Min",
startWatts: "Starting Wh",
wattsStartedODO: "Started ODO",
capacityAH: "Capacity (Ah)",
accBattVolts: "CPU Voltage",
accVolts: "12v Battery Voltage",
accBattAmps: "12v Battery Amps",
wattsPerSOC: "Wh per SOC",
tire1: "Tire 1 PSI",
tire2: "Tire 2 PSI",
tire3: "Tire 3 PSI",
tire4: "Tire 4 PSI",
tireHighest: "Highest Tire",
tireLowest: "Lowest Tire",
tireDelta: "Tire Delta",
chargingVolts: "Charging Volts",
chargingAmps: "Charging Amps",
chargingWatts: "Charging Wh",
cellVoltDelta: "Cell Voltage Delta",
cellTempDelta: "Cell Temp Delta",
parkingBrakeOn: "Parking Brake",
cruiseControlOn: "Cruise Control",
isBuckled: "Seat Belts Buckled",
ODOUnits: "Odometer Units",
distanceOffset: "Distance Offset",
carIsOff: "Car is off",
startTime: "Start Time",
endTime: "End Time",
tripCount: "Trip Length",
level3ChargeCount: "Level 3 charges",
level2ChargeCount: "Level 2 charges"
}
};