fix: TTS test ask user if heard + PHP 8 end() ref bug + DB migration guard for fresh volumes
- app.js: TTS kiosk timeout 4s → 10s; fires interactive 'Hai sentito?' YES/NO prompt instead of showing error (TTS can take 6-8s; UtteranceProgressListener may not fire on all firmware); YES → success, NO → troubleshooting steps - translations: add heard_question/heard_yes/heard_no/test_ok_kiosk/test_fail_steps to all 5 languages (it/en/de/fr/es) under settings.tts - api/index.php: fix end() PHP 8.0+ reference error in _offFetchProduct() (categories_hierarchy stored in temp var before calling end()) (fixes #130) - api/database.php: migrateDB() now checks sqlite_master for 'products' table; if missing, calls initializeDB() and returns — no ALTER on nonexistent table (fixes #133, covers #131) - api/index.php: health_check db_row_count query guarded against missing inventory table (fixes #131)
This commit is contained in:
@@ -701,7 +701,12 @@
|
||||
"voices_hint": "Verfügbare Stimmen hängen vom Betriebssystem und Browser ab. Auf macOS/iOS ist die Stimme Paola (Italienisch) verfügbar. Drücken Sie ↺ wenn die Liste nicht lädt.",
|
||||
"url_missing": "⚠️ Endpunkt-URL fehlt.",
|
||||
"test_sending": "⏳ Wird gesendet…",
|
||||
"test_ok": "✅ Antwort {code} — prüfe ob der Lautsprecher gesprochen hat."
|
||||
"test_ok": "✅ Antwort {code} — prüfe ob der Lautsprecher gesprochen hat.",
|
||||
"heard_question": "Hast du die Stimme gehört?",
|
||||
"heard_yes": "Ja, ich habe es gehört",
|
||||
"heard_no": "Nein, ich habe nichts gehört",
|
||||
"test_ok_kiosk": "TTS funktioniert.",
|
||||
"test_fail_steps": "Prüfe: 1) Medienvolume ist nicht 0; 2) Google Text-to-Speech installiert und aktualisiert; 3) Deutsches Sprachpaket in den Android TTS-Einstellungen heruntergeladen."
|
||||
},
|
||||
"language": {
|
||||
"title": "🌐 Sprache",
|
||||
|
||||
Reference in New Issue
Block a user