Skip to content

Commit c95cc94

Browse files
committed
Merge branch 'release/0.4.2'
2 parents 2c12c07 + 1a5f7e3 commit c95cc94

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lang/en/validation.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
return [
4-
'country_name' => 'The :attribute has not a valid country name.',
5-
'country_code' => 'The :attribute has not a valid country code.',
6-
'administrative_area' => 'The :attribute has not a valid administrative area name.',
7-
'administrative_area_code' => 'The :attribute has not a valid administrative area code.',
8-
'administrative_area_name' => 'The :attribute has not a valid administrative area name.',
9-
'postal_code' => 'The :attribute seems do be a not valid postal code.',
4+
'country_name' => 'The :attribute field is not a valid country name.',
5+
'country_code' => 'The :attribute field is not a valid country code.',
6+
'administrative_area' => 'The :attribute field is not a valid state/province.',
7+
'administrative_area_code' => 'The :attribute field has not a valid state/province.',
8+
'administrative_area_name' => 'The :attribute field has not a valid state/province.',
9+
'postal_code' => 'The :attribute field does not seem to be a valid postal code.',
1010
];

tests/TranslationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function testENMessages()
3737
if ($validator->fails()) {
3838
$messages = $validator->errors()->get('country');
3939
$first = array_shift($messages);
40-
$this->assertEquals($first, 'The country has not a valid country code.');
40+
$this->assertEquals($first, 'The country field is not a valid country code.');
4141
}
4242
}
4343

@@ -65,7 +65,7 @@ public function testENMessagesForAdministrativeAreaValidator()
6565
if ($validator->fails()) {
6666
$messages = $validator->errors()->get('state');
6767
$first = array_shift($messages);
68-
$this->assertEquals($first, 'The state has not a valid administrative area name.');
68+
$this->assertEquals($first, 'The state field is not a valid state/province.');
6969
}
7070
}
7171
}

0 commit comments

Comments
 (0)