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": "Nainstalovat {appName}",
|
||||
"description": "Nainstalujte si naši aplikaci pro rychlý přístup a offline podporu.",
|
||||
"not_now": "Teď ne",
|
||||
"install": "Nainstalovat",
|
||||
"dont_remind": "Už mi to nepřipomínat",
|
||||
"dismiss_aria": "Zavřít výzvu k instalaci"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "E-mail",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Installer {appName}",
|
||||
"description": "Installer vores app for hurtig adgang og offline-understøttelse.",
|
||||
"not_now": "Ikke nu",
|
||||
"install": "Installer",
|
||||
"dont_remind": "Påmind mig ikke igen",
|
||||
"dismiss_aria": "Afvis installationsprompt"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "Email",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "{appName} installieren",
|
||||
"description": "Installiere unsere App für schnellen Zugriff und Offline-Unterstützung.",
|
||||
"not_now": "Nicht jetzt",
|
||||
"install": "Installieren",
|
||||
"dont_remind": "Nicht mehr erinnern",
|
||||
"dismiss_aria": "Installationshinweis schließen"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "E-Mail",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Install {appName}",
|
||||
"description": "Install our app for quick access and offline support.",
|
||||
"not_now": "Not now",
|
||||
"install": "Install",
|
||||
"dont_remind": "Don't remind me again",
|
||||
"dismiss_aria": "Dismiss install prompt"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "Email",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Instalar {appName}",
|
||||
"description": "Instala nuestra app para un acceso rápido y soporte sin conexión.",
|
||||
"not_now": "Ahora no",
|
||||
"install": "Instalar",
|
||||
"dont_remind": "No volver a recordármelo",
|
||||
"dismiss_aria": "Cerrar aviso de instalación"
|
||||
},
|
||||
"login": {
|
||||
"title": "Correo Web",
|
||||
"username_label": "Correo electrónico",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Installer {appName}",
|
||||
"description": "Installez notre application pour un accès rapide et un support hors ligne.",
|
||||
"not_now": "Pas maintenant",
|
||||
"install": "Installer",
|
||||
"dont_remind": "Ne plus me le rappeler",
|
||||
"dismiss_aria": "Fermer l'invite d'installation"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "Email",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Installa {appName}",
|
||||
"description": "Installa la nostra app per un accesso rapido e il supporto offline.",
|
||||
"not_now": "Non ora",
|
||||
"install": "Installa",
|
||||
"dont_remind": "Non ricordarmelo più",
|
||||
"dismiss_aria": "Chiudi avviso di installazione"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "Email",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "{appName} をインストール",
|
||||
"description": "素早いアクセスとオフライン対応のため、アプリをインストールしましょう。",
|
||||
"not_now": "後で",
|
||||
"install": "インストール",
|
||||
"dont_remind": "今後表示しない",
|
||||
"dismiss_aria": "インストールプロンプトを閉じる"
|
||||
},
|
||||
"login": {
|
||||
"title": "ウェブメール",
|
||||
"username_label": "メールアドレス",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "{appName} 설치",
|
||||
"description": "빠른 액세스와 오프라인 지원을 위해 앱을 설치하세요.",
|
||||
"not_now": "나중에",
|
||||
"install": "설치",
|
||||
"dont_remind": "다시 알리지 않음",
|
||||
"dismiss_aria": "설치 프롬프트 닫기"
|
||||
},
|
||||
"login": {
|
||||
"title": "웹메일",
|
||||
"username_label": "이메일",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Instalēt {appName}",
|
||||
"description": "Instalējiet mūsu lietotni ātrai piekļuvei un bezsaistes atbalstam.",
|
||||
"not_now": "Ne tagad",
|
||||
"install": "Instalēt",
|
||||
"dont_remind": "Vairs man neatgādināt",
|
||||
"dismiss_aria": "Aizvērt instalēšanas paziņojumu"
|
||||
},
|
||||
"login": {
|
||||
"title": "Tīmekļa pasts",
|
||||
"username_label": "E-pasta adrese",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "{appName} installeren",
|
||||
"description": "Installeer onze app voor snelle toegang en offline-ondersteuning.",
|
||||
"not_now": "Niet nu",
|
||||
"install": "Installeren",
|
||||
"dont_remind": "Niet meer herinneren",
|
||||
"dismiss_aria": "Installatiemelding sluiten"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "E-mail",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Zainstaluj {appName}",
|
||||
"description": "Zainstaluj naszą aplikację, aby uzyskać szybki dostęp i obsługę offline.",
|
||||
"not_now": "Nie teraz",
|
||||
"install": "Zainstaluj",
|
||||
"dont_remind": "Nie przypominaj mi więcej",
|
||||
"dismiss_aria": "Zamknij monit instalacji"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "E-mail",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Instalar {appName}",
|
||||
"description": "Instale o nosso app para acesso rápido e suporte offline.",
|
||||
"not_now": "Agora não",
|
||||
"install": "Instalar",
|
||||
"dont_remind": "Não lembrar novamente",
|
||||
"dismiss_aria": "Dispensar aviso de instalação"
|
||||
},
|
||||
"login": {
|
||||
"title": "Webmail",
|
||||
"username_label": "E-mail",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Установить {appName}",
|
||||
"description": "Установите наше приложение для быстрого доступа и работы офлайн.",
|
||||
"not_now": "Не сейчас",
|
||||
"install": "Установить",
|
||||
"dont_remind": "Больше не напоминать",
|
||||
"dismiss_aria": "Закрыть запрос на установку"
|
||||
},
|
||||
"login": {
|
||||
"title": "Веб-почта",
|
||||
"username_label": "Электронная почта",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"pwa_install": {
|
||||
"title": "Встановити {appName}",
|
||||
"description": "Встановіть наш застосунок для швидкого доступу та офлайн-підтримки.",
|
||||
"not_now": "Не зараз",
|
||||
"install": "Встановити",
|
||||
"dont_remind": "Більше не нагадувати",
|
||||
"dismiss_aria": "Закрити запит на встановлення"
|
||||
},
|
||||
"login": {
|
||||
"title": "Веб-пошта",
|
||||
"username_label": "Електронна пошта",
|
||||
|
||||
@@ -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