From ca6367880993af9846f2a685de0384da98d79d37 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 6 Aug 2018 19:34:50 +0200 Subject: [PATCH] Change the form label for interval Specify that the interval is in days and add a placeholder. --- config/locales/simple_form.en.yml | 6 ++++++ config/locales/simple_form.fr.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml index 2374383..b309fe8 100644 --- a/config/locales/simple_form.en.yml +++ b/config/locales/simple_form.en.yml @@ -10,6 +10,12 @@ en: # html: '*' error_notification: default_message: "Please review the problems below:" + labels: + defaults: + interval: "Interval (in days)" + placeholders: + defaults: + interval: 30 # Examples # labels: # defaults: diff --git a/config/locales/simple_form.fr.yml b/config/locales/simple_form.fr.yml index c824f79..680c92e 100644 --- a/config/locales/simple_form.fr.yml +++ b/config/locales/simple_form.fr.yml @@ -10,6 +10,12 @@ fr: # html: '*' error_notification: default_message: "Merci de vérifier les erreurs ci-dessous :" + labels: + defaults: + interval: "Délai (en jours)" + placeholders: + defaults: + interval: 30 # Examples # labels: # defaults: