From d6dfe6f0fe85fa22ae40f20206f7c2c7c292e46e Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Mon, 14 Aug 2023 10:27:12 +0200 Subject: [PATCH] fix(Web Form): redirect countdown (#22032) --- frappe/translations/de.csv | 2 +- frappe/translations/es.csv | 2 +- frappe/translations/fr.csv | 2 +- frappe/translations/it.csv | 2 +- frappe/website/doctype/web_form/templates/web_form.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frappe/translations/de.csv b/frappe/translations/de.csv index 820e655133..40e6db0f8c 100644 --- a/frappe/translations/de.csv +++ b/frappe/translations/de.csv @@ -3041,7 +3041,7 @@ zoom-out,verkleinern, {0} Calendar,{0} Kalender, {0} Chart,{0} Diagramm, {0} Dashboard,{0}-Dashboard, -{0} if you are not redirected within 5 seconds,"{0}, falls Sie nicht innerhalb von 5 Sekunden weitergeleitet werden", +{0} if you are not redirected within {1} seconds,"{0}, falls Sie nicht innerhalb von {1} Sekunden weitergeleitet werden", {0} List,{0} Liste, {0} Modules,{0} Module, {0} Report,{0} Bericht(e), diff --git a/frappe/translations/es.csv b/frappe/translations/es.csv index f038bbfcb5..0c2457a2b1 100644 --- a/frappe/translations/es.csv +++ b/frappe/translations/es.csv @@ -3029,7 +3029,7 @@ zoom-out,Alejar, {0} Calendar,{0} Calendario, {0} Chart,{0} Gráfico, {0} Dashboard,{0} Panel de control, -{0} if you are not redirected within 5 seconds,{0} si no es redirigido en 5 segundos, +{0} if you are not redirected within {1} seconds,{0} si no es redirigido en {1} segundos, {0} List,Lista {0}, {0} Modules,{0} Módulos, {0} Report,{0} Informe, diff --git a/frappe/translations/fr.csv b/frappe/translations/fr.csv index af036489ae..203d71c9fa 100644 --- a/frappe/translations/fr.csv +++ b/frappe/translations/fr.csv @@ -3014,7 +3014,7 @@ zoom-out,Réduire, {0} Calendar,{0} Calendrier, {0} Chart,Graphique {0}, {0} Dashboard,{0} Tableau de bord, -{0} if you are not redirected within 5 seconds,{0} si vous n'êtes pas redirigé dans les 5 secondes, +{0} if you are not redirected within {1} seconds,{0} si vous n'êtes pas redirigé dans les {1} secondes, {0} List,Liste {0}, {0} Modules,{0} Modules, {0} Report,Rapport {0}, diff --git a/frappe/translations/it.csv b/frappe/translations/it.csv index 39d70c9700..7938b18951 100644 --- a/frappe/translations/it.csv +++ b/frappe/translations/it.csv @@ -3013,7 +3013,7 @@ zoom-out,Riduci, {0} Calendar,{0} Calendario, {0} Chart,{0} Grafico, {0} Dashboard,{0} Dashboard, -{0} if you are not redirected within 5 seconds,{0} se non vieni reindirizzato entro 5 secondi, +{0} if you are not redirected within {1} seconds,{0} se non vieni reindirizzato entro {1} secondi, {0} List,{0} Lista, {0} Modules,{0} Moduli, {0} Report,{0} Report, diff --git a/frappe/website/doctype/web_form/templates/web_form.html b/frappe/website/doctype/web_form/templates/web_form.html index 48ffca1698..1d663933c3 100644 --- a/frappe/website/doctype/web_form/templates/web_form.html +++ b/frappe/website/doctype/web_form/templates/web_form.html @@ -142,7 +142,7 @@

{% set success_link = '{1}'.format(success_url, _("Click here")) %} - {{ _("{0} if you are not redirected within 5 seconds").format(success_link) }} + {{ _("{0} if you are not redirected within {1} seconds").format(success_link, '5') }}

{% else %}