Skip to content

Commit

Permalink
make string constants a translation strings (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
misakstvanu authored Aug 6, 2021
1 parent e6abdd8 commit 9899057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Inertia/CurrentUserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function destroy(Request $request, StatefulGuard $guard)

if (! $confirmed) {
throw ValidationException::withMessages([
'password' => 'The password is incorrect.',
'password' => __('The password is incorrect.'),
]);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function destroy(Request $request, StatefulGuard $guard)

if (! $confirmed) {
throw ValidationException::withMessages([
'password' => 'The password is incorrect.',
'password' => __('The password is incorrect.'),
]);
}

Expand Down

0 comments on commit 9899057

Please sign in to comment.