Add PWA manifest, service worker, and install hint.

Enables home-screen installation with per-viewer scope and platform-specific guidance in EN/DE.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-20 11:08:32 +02:00
parent 6df10e5498
commit 562a229fa0
14 changed files with 287 additions and 3 deletions
+9
View File
@@ -226,6 +226,15 @@
"copied": "Copied!",
"copyPrompt": "Copy your viewer link:"
},
"pwa": {
"hintTitle": "Install as app",
"hintBody": "Install this viewer for quick access from your home screen or app list.",
"hintIos": "Tap Share, then \"Add to Home Screen\".",
"hintAndroid": "Open the browser menu and tap \"Install app\" or \"Add to Home screen\".",
"hintDesktop": "Use the install icon in the address bar or the browser menu → Install app.",
"install": "Install",
"installed": "App installed open it from your home screen or app list."
},
"viewerDb": {
"title": "Viewer backup",
"helpTitle": "What is this?",