From 376821db98e3d50bee1178334e6bbebff1ac1e89 Mon Sep 17 00:00:00 2001 From: jelhan Date: Thu, 28 Jul 2016 09:56:24 +0200 Subject: [PATCH] improve wrong time form validation message --- app/locales/de/translations.js | 2 +- app/locales/en/translations.js | 2 +- app/locales/es/translations.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/locales/de/translations.js b/app/locales/de/translations.js index 4974a31..57dbdf2 100644 --- a/app/locales/de/translations.js +++ b/app/locales/de/translations.js @@ -126,7 +126,7 @@ export default { email: '{{description}} muss eine gültige E-Mail-Adresse sein', phone: '{{description}} muss eine gültige Telefonnummer sein', url: '{{description}} muss eine gültige URL sein', - time: '{{value}} muss eine gültige Zeit sein', + time: '{{description}} muss eine gültige Zeit sein (z.B. 10:45)', unique: '{{description}} müssen eindeutig sein', 'unique.name': 'Dieser Namen wurde bereits genutzt' } diff --git a/app/locales/en/translations.js b/app/locales/en/translations.js index 3c87f97..e2dbb9a 100644 --- a/app/locales/en/translations.js +++ b/app/locales/en/translations.js @@ -126,7 +126,7 @@ export default { email: '{{description}} must be a valid e-mail adress', phone: '{{description}} must be a valid phone mumber', url: '{{description}} must be a valid URL ', - time: '{{value}} must be a valid number', + time: '{{description}} must be a valid time (e.g. 10:45)', unique: '{{description}} must be explicit', 'unique.name': 'This name has already been used' } diff --git a/app/locales/es/translations.js b/app/locales/es/translations.js index 3e0d63d..0d9d7ac 100644 --- a/app/locales/es/translations.js +++ b/app/locales/es/translations.js @@ -126,7 +126,7 @@ export default { email: '{{description}} must be a valid email address', phone: '{{description}} must be a valid phone number', url: '{{description}} must be a valid url', - time: '{{value}} must be a valid time', + time: '{{description}} must be a valid time (e.g. 10:45)', unique: '{{description}} must be unique', 'unique.name': 'This name has already been used' }