merged branch umpirsky/luhn-sr-translation (PR #6278)

This PR was merged into the master branch.

Commits
-------

d789e5a Serbian translation for card scheme constraint message.
76d653f Serbian translation for Luhn constraint message.

Discussion
----------

Serbian translation for Luhn constraint message.
This commit is contained in:
Fabien Potencier 2012-12-12 13:48:08 +01:00
commit 2d249db4d2
5 changed files with 26 additions and 2 deletions

View File

@ -20,7 +20,7 @@ use Symfony\Component\Validator\Constraint;
*/ */
class CardScheme extends Constraint class CardScheme extends Constraint
{ {
public $message = 'Unsupported card type or invalid card number'; public $message = 'Unsupported card type or invalid card number.';
public $schemes; public $schemes;
public function getDefaultOption() public function getDefaultOption()

View File

@ -20,5 +20,5 @@ use Symfony\Component\Validator\Constraint;
*/ */
class Luhn extends Constraint class Luhn extends Constraint
{ {
public $message = 'Invalid card number'; public $message = 'Invalid card number.';
} }

View File

@ -214,6 +214,14 @@
<source>This collection should contain exactly {{ limit }} elements.</source> <source>This collection should contain exactly {{ limit }} elements.</source>
<target>This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements.</target> <target>This collection should contain exactly {{ limit }} element.|This collection should contain exactly {{ limit }} elements.</target>
</trans-unit> </trans-unit>
<trans-unit id="57">
<source>Invalid card number.</source>
<target>Invalid card number.</target>
</trans-unit>
<trans-unit id="58">
<source>Unsupported card type or invalid card number.</source>
<target>Unsupported card type or invalid card number.</target>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View File

@ -214,6 +214,14 @@
<source>This collection should contain exactly {{ limit }} elements.</source> <source>This collection should contain exactly {{ limit }} elements.</source>
<target>Ова колекција треба да садржи тачно {{ limit }} елемент.|Ова колекција треба да садржи тачно {{ limit }} елемента.|Ова колекција треба да садржи тачно {{ limit }} елемената.</target> <target>Ова колекција треба да садржи тачно {{ limit }} елемент.|Ова колекција треба да садржи тачно {{ limit }} елемента.|Ова колекција треба да садржи тачно {{ limit }} елемената.</target>
</trans-unit> </trans-unit>
<trans-unit id="57">
<source>Invalid card number.</source>
<target>Невалидан број картице.</target>
</trans-unit>
<trans-unit id="58">
<source>Unsupported card type or invalid card number.</source>
<target>Невалидан број картице или тип картице није подржан.</target>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View File

@ -214,6 +214,14 @@
<source>This collection should contain exactly {{ limit }} elements.</source> <source>This collection should contain exactly {{ limit }} elements.</source>
<target>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.</target> <target>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.</target>
</trans-unit> </trans-unit>
<trans-unit id="57">
<source>Invalid card number.</source>
<target>Nevalidan broj kartice.</target>
</trans-unit>
<trans-unit id="58">
<source>Unsupported card type or invalid card number.</source>
<target>Nevalidan broj kartice ili tip kartice nije podržan.</target>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>