Skip to content

Commit

Permalink
[Validator] Add missing translation for new validators from #790
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed May 2, 2013
1 parent 4902626 commit 90a7e86
Show file tree
Hide file tree
Showing 10 changed files with 73 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Validator/Constraints/EqualTo.php
Expand Up @@ -18,5 +18,5 @@
*/
class EqualTo extends AbstractComparison
{
public $message = 'This value should be equal to {{ compared_value }}';
public $message = 'This value should be equal to {{ compared_value }}.';
}
Expand Up @@ -18,5 +18,5 @@
*/
class GreaterThan extends AbstractComparison
{
public $message = 'This value should be greater than {{ compared_value }}';
public $message = 'This value should be greater than {{ compared_value }}.';
}
Expand Up @@ -18,5 +18,5 @@
*/
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 }}.';
}
Expand Up @@ -18,5 +18,5 @@
*/
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 }}.';
}
2 changes: 1 addition & 1 deletion src/Symfony/Component/Validator/Constraints/LessThan.php
Expand Up @@ -18,5 +18,5 @@
*/
class LessThan extends AbstractComparison
{
public $message = 'This value should be less than {{ compared_value }}';
public $message = 'This value should be less than {{ compared_value }}.';
}
Expand Up @@ -18,5 +18,5 @@
*/
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 }}.';
}
2 changes: 1 addition & 1 deletion src/Symfony/Component/Validator/Constraints/NotEqualTo.php
Expand Up @@ -18,5 +18,5 @@
*/
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 }}.';
}
Expand Up @@ -18,5 +18,5 @@
*/
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 }}.';
}
Expand Up @@ -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>
Expand Up @@ -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>

0 comments on commit 90a7e86

Please sign in to comment.