Fix: localize the PWA install prompt
The PWA install prompt was hardcoded English regardless of the selected UI
language (and the large English block tripped Chrome's translate popup on
Android). Add a pwa_install namespace to all 17 locales, switch the component
to useTranslations, and move <PWAInstallPrompt /> from (main)/layout into
(main)/[locale]/layout so it renders inside the IntlProvider. The title keeps
the dynamic {appName}, so per-domain branding still applies.
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "{appName} uygulamasını yükle",
|
||||
"description": "Hızlı erişim ve çevrimdışı destek için uygulamamızı yükleyin.",
|
||||
"not_now": "Şimdi değil",
|
||||
"install": "Yükle",
|
||||
"dont_remind": "Bir daha hatırlatma",
|
||||
"dismiss_aria": "Yükleme istemini kapat"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "E-posta",
|
||||
|
||||
Reference in New Issue
Block a user