feat(houseofrc): fetch driver names and brands by transponder (1.79.0)
This commit is contained in:
1 parent
0c54e8b58a
commit
3829ca1cab
17 files changed
+319
-7
No files matched your search
+24
@@ -2184,6 +2184,17 @@ const TRANSLATIONS = {
|
||||
"tts.download": "Hämta",
|
||||
"tts.downloading": "Hämtar...",
|
||||
"tts.test_failed": "Kunde inte spela upp den lokala rösten - kontrollera installationen.",
|
||||
"houseofrc.import_button": "Hämta från House of RC",
|
||||
"houseofrc.import_button_hint": "Slå upp alla transpondrar på House of RC och fyll i namn och märke",
|
||||
"houseofrc.import_title": "Förare från House of RC",
|
||||
"houseofrc.import_loading": "Slår upp transpondrar…",
|
||||
"houseofrc.import_no_transponders": "Inga förare har transponder ännu.",
|
||||
"houseofrc.import_summary": "{found} av {asked} transpondrar finns på House of RC.",
|
||||
"houseofrc.import_nothing": "Allt stämmer redan, inget att uppdatera.",
|
||||
"houseofrc.import_hint": "Bocka i det som ska ändras. Bara tomma fält är förvalda, inget skrivs över utan att du väljer det.",
|
||||
"houseofrc.import_model": "Bil",
|
||||
"houseofrc.import_apply": "Uppdatera valda",
|
||||
"houseofrc.filled_from": "Ifyllt från House of RC ({model})",
|
||||
"houseofrc.title": "House of RC",
|
||||
"houseofrc.hint": "Klubbens API-nyckel från House of RC. Den sparas bara på servern (data/houseofrc.json) och visas aldrig igen, inte ens här.",
|
||||
"houseofrc.key": "API-nyckel",
|
||||
@@ -4354,6 +4365,17 @@ const TRANSLATIONS = {
|
||||
"tts.download": "Download",
|
||||
"tts.downloading": "Downloading...",
|
||||
"tts.test_failed": "Could not play the local voice - check the installation.",
|
||||
"houseofrc.import_button": "Fetch from House of RC",
|
||||
"houseofrc.import_button_hint": "Look up every transponder on House of RC and fill in names and brands",
|
||||
"houseofrc.import_title": "Drivers from House of RC",
|
||||
"houseofrc.import_loading": "Looking up transponders…",
|
||||
"houseofrc.import_no_transponders": "No driver has a transponder yet.",
|
||||
"houseofrc.import_summary": "{found} of {asked} transponders are on House of RC.",
|
||||
"houseofrc.import_nothing": "Everything already matches, nothing to update.",
|
||||
"houseofrc.import_hint": "Tick what to change. Only empty fields are pre-ticked; nothing is overwritten unless you choose it.",
|
||||
"houseofrc.import_model": "Car",
|
||||
"houseofrc.import_apply": "Update selected",
|
||||
"houseofrc.filled_from": "Filled in from House of RC ({model})",
|
||||
"houseofrc.title": "House of RC",
|
||||
"houseofrc.hint": "The club's House of RC API key. It is stored on the server only (data/houseofrc.json) and never shown again, not even here.",
|
||||
"houseofrc.key": "API key",
|
||||
@@ -5640,6 +5662,8 @@ function normalizeDriver(driver = {}) {
|
||||
club: String(driver?.club || "").trim(),
|
||||
country: String(driver?.country || "").trim(),
|
||||
passSound: String(driver?.passSound || "").trim(),
|
||||
// House of RC member id, set when the transponder lookup matched this driver.
|
||||
...(driver?.houseOfRcId ? { houseOfRcId: String(driver.houseOfRcId) } : {}),
|
||||
// Sponsor event guest: only shown inside that event, deleted with it.
|
||||
...(driver?.guestEventId ? { guestEventId: String(driver.guestEventId) } : {}),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user