From 76d653f4487134a6d414743d56b0d051ee2e82ac Mon Sep 17 00:00:00 2001 From: umpirsky Date: Wed, 12 Dec 2012 13:11:42 +0100 Subject: [PATCH] Serbian translation for Luhn constraint message. --- src/Symfony/Component/Validator/Constraints/Luhn.php | 2 +- .../Validator/Resources/translations/validators.en.xlf | 4 ++++ .../Validator/Resources/translations/validators.sr_Cyrl.xlf | 4 ++++ .../Validator/Resources/translations/validators.sr_Latn.xlf | 4 ++++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/Validator/Constraints/Luhn.php b/src/Symfony/Component/Validator/Constraints/Luhn.php index f376045fc7..f8fd35c6c8 100644 --- a/src/Symfony/Component/Validator/Constraints/Luhn.php +++ b/src/Symfony/Component/Validator/Constraints/Luhn.php @@ -20,5 +20,5 @@ use Symfony\Component\Validator\Constraint; */ class Luhn extends Constraint { - public $message = 'Invalid card number'; + public $message = 'Invalid card number.'; } diff --git a/src/Symfony/Component/Validator/Resources/translations/validators.en.xlf b/src/Symfony/Component/Validator/Resources/translations/validators.en.xlf index b95ec611fe..520c78c53d 100644 --- a/src/Symfony/Component/Validator/Resources/translations/validators.en.xlf +++ b/src/Symfony/Component/Validator/Resources/translations/validators.en.xlf @@ -214,6 +214,10 @@ This collection should contain exactly {{ limit }} elements. This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements. + + Invalid card number. + Invalid card number. + diff --git a/src/Symfony/Component/Validator/Resources/translations/validators.sr_Cyrl.xlf b/src/Symfony/Component/Validator/Resources/translations/validators.sr_Cyrl.xlf index c9c959e088..fb6080e09e 100644 --- a/src/Symfony/Component/Validator/Resources/translations/validators.sr_Cyrl.xlf +++ b/src/Symfony/Component/Validator/Resources/translations/validators.sr_Cyrl.xlf @@ -214,6 +214,10 @@ This collection should contain exactly {{ limit }} elements. Ова колекција треба да садржи тачно {{ limit }} елемент.|Ова колекција треба да садржи тачно {{ limit }} елемента.|Ова колекција треба да садржи тачно {{ limit }} елемената. + + Invalid card number. + Невалидан број картице. + diff --git a/src/Symfony/Component/Validator/Resources/translations/validators.sr_Latn.xlf b/src/Symfony/Component/Validator/Resources/translations/validators.sr_Latn.xlf index 0ecba2c540..a1b3b57912 100644 --- a/src/Symfony/Component/Validator/Resources/translations/validators.sr_Latn.xlf +++ b/src/Symfony/Component/Validator/Resources/translations/validators.sr_Latn.xlf @@ -214,6 +214,10 @@ This collection should contain exactly {{ limit }} elements. Ova kolekcija treba da sadrži tačno {{ limit }} element.|Ova kolekcija treba da sadrži tačno {{ limit }} elementa.|Ova kolekcija treba da sadrži tačno {{ limit }} elemenata. + + Invalid card number. + Nevalidan broj kartice. +