Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Commit

Permalink
added Address additional English
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnetters committed Apr 25, 2017
1 parent d2fc948 commit 1b66fc4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class WirelabModuleLocationsCreateLocationsFields extends Migration
'email' => 'anomaly.field_type.email',
'country' => 'anomaly.field_type.text',
'city' => 'anomaly.field_type.text',
'street' => 'anomaly.field_type.text',
'address' => 'anomaly.field_type.text',
'address_additonal' => 'anomaly.field_type.text',
'region' => 'anomaly.field_type.text',
'postal_code' => 'anomaly.field_type.text'
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,14 @@ class WirelabModuleLocationsCreateLocationsStream extends Migration
'translatable' => true,
'required' => true
],
'street' => [
'address' => [
'translatable' => true,
'required' => true
],
'address_additonal' => [
'translatable' => true,
'required' => false
],
'postal_code' => [
'translatable' => false,
'required' => true
Expand Down
8 changes: 6 additions & 2 deletions resources/lang/en/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
'country' => [
'name' => 'Country'
],
'street' => [
'name' => 'Street'
'address' => [
'name' => 'Address'
],
'address_additonal' => [
'name' => 'Address additional',
'instructions' => 'Additional information regarding the address (i.e Building information).'
],
'region' => [
'name' => 'Region'
Expand Down
2 changes: 1 addition & 1 deletion src/Location/LocationSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function run()
'en' => [
'country' => 'The Netherlands',
'city' => 'Enschede',
'street' => 'Willem Wilminkplein 9',
'address' => 'Willem Wilminkplein 9',
'region' => 'Overijssel',
]
]);
Expand Down

0 comments on commit 1b66fc4

Please sign in to comment.