Skip to content

Commit

Permalink
Update to make fields translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbergman authored Dec 4, 2018
1 parent 7520f4d commit 37ded22
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Http/Controllers/ToolController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public function index()
[
"component" => "text-field",
"prefixComponent" => true,
"indexName" => "Name",
"name" => "Name",
"indexName" => __("Name"),
"name" => __("Name"),
"attribute" => "name",
"value" => auth()->user()->name,
"panel" => null,
Expand All @@ -23,8 +23,8 @@ public function index()
[
"component" => "text-field",
"prefixComponent" => true,
"indexName" => "E-mail address",
"name" => "E-mail address",
"indexName" => __("E-mail address"),
"name" => __("E-mail address"),
"attribute" => "email",
"value" => auth()->user()->email,
"panel" => null,
Expand All @@ -34,8 +34,8 @@ public function index()
[
"component" => "password-field",
"prefixComponent" => true,
"indexName" => "Password",
"name" => "Password",
"indexName" => __("Password"),
"name" => __("Password"),
"attribute" => "password",
"value" => null,
"panel" => null,
Expand All @@ -45,8 +45,8 @@ public function index()
[
"component" => "password-field",
"prefixComponent" => true,
"indexName" => "Password Confirmation",
"name" => "Password Confirmation",
"indexName" => __("Password Confirmation"),
"name" => __("Password Confirmation"),
"attribute" => "password_confirmation",
"value" => null,
"panel" => null,
Expand Down

0 comments on commit 37ded22

Please sign in to comment.