mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
feat: add TV Quick Connect to connection page for Android TV / Apple TV
When user selects Android TV or Apple TV platform (from non-TV device), shows 5-char code input + QR scanner to send subscription to TV via Happ TV API. Hybrid QR strategy: native Telegram scanner on mobile, html5-qrcode CDN fallback on desktop. i18n keys for ru/en/zh/fa. Based on PR #415 by @smediainfo.
This commit is contained in:
@@ -593,6 +593,20 @@
|
||||
"label": "Traffic",
|
||||
"selectVolume": "Select traffic volume",
|
||||
"default": "Default: {{label}}"
|
||||
},
|
||||
"tvQuickConnect": {
|
||||
"title": "Connect TV",
|
||||
"description": "Enter the 5-character code from your TV screen",
|
||||
"sendBtn": "Send to TV",
|
||||
"badCode": "Enter a 5-character code (letters and digits)",
|
||||
"sent": "Sent to TV!",
|
||||
"error": "Failed to send to TV",
|
||||
"scanTitle": "Scan QR Code",
|
||||
"scanDescription": "Scan the QR code from your TV screen",
|
||||
"scanBtn": "Scan QR from TV",
|
||||
"stopScan": "Close camera",
|
||||
"noCamera": "Camera access denied",
|
||||
"codeFound": "Code found"
|
||||
}
|
||||
},
|
||||
"balance": {
|
||||
|
||||
Reference in New Issue
Block a user