Hide the language switcher for English-only browsers; gate /zh via Accept-Language and a client cookie. Co-authored-by: Cursor <cursoragent@cursor.com>
61 lines
2.0 KiB
JSON
61 lines
2.0 KiB
JSON
{
|
|
"meta": {
|
|
"title": "CYD Flasher — Flash Cheap Yellow Display in the browser",
|
|
"description": "Web Serial installer for ESP32-2432S028 (CYD) and more boards. Pick a firmware and flash over USB from Chrome or Edge."
|
|
},
|
|
"brand": {
|
|
"name": "CYD Flasher",
|
|
"tagline": "Browser serial flash · multi-board ready"
|
|
},
|
|
"hero": {
|
|
"title": "Pick a board, choose firmware, flash once",
|
|
"lede": "Browse project firmwares with previews and docs, then write them over Web Serial from your browser."
|
|
},
|
|
"browser": {
|
|
"unsupported": "Chrome or Edge with Web Serial is required. Open this site on HTTPS or http://localhost."
|
|
},
|
|
"boards": {
|
|
"title": "Board",
|
|
"hint": "More models coming soon",
|
|
"soon": "Soon",
|
|
"items": {
|
|
"cyd28": "CYD 2.8\"",
|
|
"cyd24": "CYD 2.4\"",
|
|
"cyd35": "CYD 3.5\"",
|
|
"s3touch": "ESP32-S3 Touch"
|
|
}
|
|
},
|
|
"firmware": {
|
|
"title": "Firmware catalog",
|
|
"refresh": "Refresh",
|
|
"search": "Search name, tags, project…",
|
|
"count": "{count} available",
|
|
"scanning": "Scanning…",
|
|
"empty": "No firmware for this board. Try another board, clear search, or set CYD_FIRMWARE_ROOT.",
|
|
"error": "Scan failed: {message}",
|
|
"noneSelected": "Select a firmware card to see details and flash",
|
|
"selectedLabel": "Selected",
|
|
"docs": "Documentation",
|
|
"mediaPlaceholder": "Animation / video / cover will appear here"
|
|
},
|
|
"install": {
|
|
"cta": "Connect & flash",
|
|
"steps": {
|
|
"1": "Connect the board with a data USB cable (not charge-only).",
|
|
"2": "Select a firmware from the catalog.",
|
|
"3": "Click Connect & flash, then choose the serial port (CH340 / CP210x).",
|
|
"4": "Wait for progress to finish — the board reboots automatically."
|
|
}
|
|
},
|
|
"lang": {
|
|
"label": "Language",
|
|
"en": "English",
|
|
"zh": "中文",
|
|
"zhHint": "Shown when the browser or system prefers Chinese"
|
|
},
|
|
"footer": {
|
|
"offsets": "Flash @ 0x1000 / 0x8000 / 0xe000 / 0x10000",
|
|
"stack": "Powered by esp-web-tools · Web Serial flash for ESP32"
|
|
}
|
|
}
|