Skip to content

Commit 9899057

Browse files
authored
make string constants a translation strings (#851)
1 parent e6abdd8 commit 9899057

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Http/Controllers/Inertia/CurrentUserController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function destroy(Request $request, StatefulGuard $guard)
2828

2929
if (! $confirmed) {
3030
throw ValidationException::withMessages([
31-
'password' => 'The password is incorrect.',
31+
'password' => __('The password is incorrect.'),
3232
]);
3333
}
3434

src/Http/Controllers/Inertia/OtherBrowserSessionsController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function destroy(Request $request, StatefulGuard $guard)
2727

2828
if (! $confirmed) {
2929
throw ValidationException::withMessages([
30-
'password' => 'The password is incorrect.',
30+
'password' => __('The password is incorrect.'),
3131
]);
3232
}
3333

0 commit comments

Comments
 (0)