Skip to content

Commit d57471e

Browse files
redstar504fabpot
authored andcommitted
[Validator] Improve UserPassword message
1 parent 397687f commit d57471e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+46
-45
lines changed

src/Symfony/Component/Security/Core/Validator/Constraints/UserPassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class UserPassword extends Constraint
2121
{
22-
public $message = 'This value should be the user current password.';
22+
public $message = 'This value should be the user\'s current password.';
2323
public $service = 'security.validator.user_password';
2424

2525
/**

src/Symfony/Component/Validator/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
-----
66

77
* [BC BREAK] `FileValidator` disallow empty files
8+
* [BC BREAK] `UserPasswordValidator` source message change
89

910
2.5.0
1011
-----

src/Symfony/Component/Validator/Resources/translations/validators.af.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<target>Die beeld hoogte is te klein ({{ height }}px). Minimum hoogte verwag is {{ min_height }}px.</target>
176176
</trans-unit>
177177
<trans-unit id="47">
178-
<source>This value should be the user current password.</source>
178+
<source>This value should be the user's current password.</source>
179179
<target>Hierdie waarde moet die huidige wagwoord van die gebruiker wees.</target>
180180
</trans-unit>
181181
<trans-unit id="48">

src/Symfony/Component/Validator/Resources/translations/validators.ar.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<target>طول الصورة صغير جدا ({{ height }}px). اقل طول مسموح به هو{{ min_height }}px.</target>
176176
</trans-unit>
177177
<trans-unit id="47">
178-
<source>This value should be the user current password.</source>
178+
<source>This value should be the user's current password.</source>
179179
<target>هذه القيمة يجب ان تكون كلمة سر المستخدم الحالية.</target>
180180
</trans-unit>
181181
<trans-unit id="48">

src/Symfony/Component/Validator/Resources/translations/validators.bg.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<target>Изображението е с твърде малка височина ({{ height }}px). Височина трябва да бъде минимум {{ min_height }}px.</target>
176176
</trans-unit>
177177
<trans-unit id="47">
178-
<source>This value should be the user current password.</source>
178+
<source>This value should be the user's current password.</source>
179179
<target>Стойността трябва да бъде текущата потребителска парола.</target>
180180
</trans-unit>
181181
<trans-unit id="48">

src/Symfony/Component/Validator/Resources/translations/validators.ca.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<target>L'altura de la imatge és massa petita ({{ height }}px). L'altura mínima requerida són {{ min_height }}px.</target>
176176
</trans-unit>
177177
<trans-unit id="47">
178-
<source>This value should be the user current password.</source>
178+
<source>This value should be the user's current password.</source>
179179
<target>Aquest valor hauria de ser la contrasenya actual de l'usuari.</target>
180180
</trans-unit>
181181
<trans-unit id="48">

src/Symfony/Component/Validator/Resources/translations/validators.cs.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<target>Obrázek je příliš nízký ({{ height }}px). Minimální výška obrázku musí být {{ min_height }}px.</target>
176176
</trans-unit>
177177
<trans-unit id="47">
178-
<source>This value should be the user current password.</source>
178+
<source>This value should be the user's current password.</source>
179179
<target>Tato hodnota musí být aktuální heslo uživatele.</target>
180180
</trans-unit>
181181
<trans-unit id="48">

src/Symfony/Component/Validator/Resources/translations/validators.cy.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<target>Mae uchder y ddelwedd yn rhy fach ({{ width }}px). Yr uchder lleiaf â ganiateir yw {{ min_height }}px.</target>
176176
</trans-unit>
177177
<trans-unit id="47">
178-
<source>This value should be the user current password.</source>
178+
<source>This value should be the user's current password.</source>
179179
<target>Dylaid bod y gwerth hwn yn gyfrinair presenol y defnyddiwr.</target>
180180
</trans-unit>
181181
<trans-unit id="48">

src/Symfony/Component/Validator/Resources/translations/validators.da.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<target>Billedhøjden er for lille ({{ height }}px). Forventet minimumshøjde er {{ min_height }}px.</target>
176176
</trans-unit>
177177
<trans-unit id="47">
178-
<source>This value should be the user current password.</source>
178+
<source>This value should be the user's current password.</source>
179179
<target>Værdien skal være brugerens nuværende password.</target>
180180
</trans-unit>
181181
<trans-unit id="48">

src/Symfony/Component/Validator/Resources/translations/validators.de.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
<target>Die Bildhöhe ist zu gering ({{ height }}px). Die erwartete Mindesthöhe beträgt {{ min_height }}px.</target>
176176
</trans-unit>
177177
<trans-unit id="47">
178-
<source>This value should be the user current password.</source>
178+
<source>This value should be the user's current password.</source>
179179
<target>Dieser Wert sollte dem aktuellen Benutzerpasswort entsprechen.</target>
180180
</trans-unit>
181181
<trans-unit id="48">

0 commit comments

Comments
 (0)