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} 설치",
|
||||
"description": "빠른 액세스와 오프라인 지원을 위해 앱을 설치하세요.",
|
||||
"not_now": "나중에",
|
||||
"install": "설치",
|
||||
"dont_remind": "다시 알리지 않음",
|
||||
"dismiss_aria": "설치 프롬프트 닫기"
|
||||
},
|
||||
"login": {
|
||||
"title": "웹메일",
|
||||
"username_label": "이메일",
|
||||
|
||||
Reference in New Issue
Block a user