merged branch stloyd/bugfix/validator_translations (PR #7911)

This PR was merged into the master branch.

Discussion
----------

[Validator] Add missing translation for new validators from #790

> Note: dots are added to be consistent with other validators.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| License       | MIT

Commits
-------

90a7e86 [Validator] Add missing translation for new validators from #790
This commit is contained in:
Fabien Potencier 2013-05-03 07:06:02 +02:00
commit 6fbf5ce97e
10 changed files with 73 additions and 9 deletions

View File

@ -18,5 +18,5 @@ namespace Symfony\Component\Validator\Constraints;
*/
class EqualTo extends AbstractComparison
{
public $message = 'This value should be equal to {{ compared_value }}';
public $message = 'This value should be equal to {{ compared_value }}.';
}

View File

@ -18,5 +18,5 @@ namespace Symfony\Component\Validator\Constraints;
*/
class GreaterThan extends AbstractComparison
{
public $message = 'This value should be greater than {{ compared_value }}';
public $message = 'This value should be greater than {{ compared_value }}.';
}

View File

@ -18,5 +18,5 @@ namespace Symfony\Component\Validator\Constraints;
*/
class GreaterThanOrEqual extends AbstractComparison
{
public $message = 'This value should be greater than or equal to {{ compared_value }}';
public $message = 'This value should be greater than or equal to {{ compared_value }}.';
}

View File

@ -18,5 +18,5 @@ namespace Symfony\Component\Validator\Constraints;
*/
class IdenticalTo extends AbstractComparison
{
public $message = 'This value should be identical to {{ compared_value_type }} {{ compared_value }}';
public $message = 'This value should be identical to {{ compared_value_type }} {{ compared_value }}.';
}

View File

@ -18,5 +18,5 @@ namespace Symfony\Component\Validator\Constraints;
*/
class LessThan extends AbstractComparison
{
public $message = 'This value should be less than {{ compared_value }}';
public $message = 'This value should be less than {{ compared_value }}.';
}

View File

@ -18,5 +18,5 @@ namespace Symfony\Component\Validator\Constraints;
*/
class LessThanOrEqual extends AbstractComparison
{
public $message = 'This value should be less than or equal to {{ compared_value }}';
public $message = 'This value should be less than or equal to {{ compared_value }}.';
}

View File

@ -18,5 +18,5 @@ namespace Symfony\Component\Validator\Constraints;
*/
class NotEqualTo extends AbstractComparison
{
public $message = 'This value should not be equal to {{ compared_value }}';
public $message = 'This value should not be equal to {{ compared_value }}.';
}

View File

@ -18,5 +18,5 @@ namespace Symfony\Component\Validator\Constraints;
*/
class NotIdenticalTo extends AbstractComparison
{
public $message = 'This value should not be identical to {{ compared_value_type }} {{ compared_value }}';
public $message = 'This value should not be identical to {{ compared_value_type }} {{ compared_value }}.';
}

View File

@ -246,6 +246,38 @@
<source>This value is not a valid currency.</source>
<target>This value is not a valid currency.</target>
</trans-unit>
<trans-unit id="65">
<source>This value should be equal to {{ compared_value }}.</source>
<target>This value should be equal to {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="66">
<source>This value should be greater than {{ compared_value }}.</source>
<target>This value should be greater than {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="67">
<source>This value should be greater than or equal to {{ compared_value }}.</source>
<target>This value should be greater than or equal to {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="68">
<source>This value should be identical to {{ compared_value_type }} {{ compared_value }}.</source>
<target>This value should be identical to {{ compared_value_type }} {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="69">
<source>This value should be less than {{ compared_value }}.</source>
<target>This value should be less than {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="70">
<source>This value should be less than or equal to {{ compared_value }}.</source>
<target>This value should be less than or equal to {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="71">
<source>This value should not be equal to {{ compared_value }}.</source>
<target>This value should not be equal to {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="72">
<source>This value should not be identical to {{ compared_value_type }} {{ compared_value }}.</source>
<target>This value should not be identical to {{ compared_value_type }} {{ compared_value }}.</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@ -245,7 +245,39 @@
<trans-unit id="64">
<source>This value is not a valid currency.</source>
<target>Ta wartość nie jest prawidłową walutą.</target>
</trans-unit>
</trans-unit>
<trans-unit id="65">
<source>This value should be equal to {{ compared_value }}.</source>
<target>Ta wartość powinna być równa {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="66">
<source>This value should be greater than {{ compared_value }}.</source>
<target>Ta wartość powinna być większa niż {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="67">
<source>This value should be greater than or equal to {{ compared_value }}.</source>
<target>Ta wartość powinna być większa bądź równa {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="68">
<source>This value should be identical to {{ compared_value_type }} {{ compared_value }}.</source>
<target>Ta wartość powinna być identycznego typu {{ compared_value_type }} oraz wartości {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="69">
<source>This value should be less than {{ compared_value }}.</source>
<target>Ta wartość powinna być mniejsza niż {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="70">
<source>This value should be less than or equal to {{ compared_value }}.</source>
<target>Ta wartość powinna być mniejsza bądź równa {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="71">
<source>This value should not be equal to {{ compared_value }}.</source>
<target>Ta wartość nie powinna być równa {{ compared_value }}.</target>
</trans-unit>
<trans-unit id="72">
<source>This value should not be identical to {{ compared_value_type }} {{ compared_value }}.</source>
<target>Ta wartość nie powinna być identycznego typu {{ compared_value_type }} oraz wartości {{ compared_value }}.</target>
</trans-unit>
</body>
</file>
</xliff>