From b5b8777c9486d86832035b8c5d283d62121f0499 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Tue, 26 Mar 2024 12:23:57 -0700 Subject: [PATCH] Extract translation string --- resources/lang/en-US/validation.php | 6 ++++++ resources/views/settings/security.blade.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/lang/en-US/validation.php b/resources/lang/en-US/validation.php index 1c6ad8a148..9298bc106f 100644 --- a/resources/lang/en-US/validation.php +++ b/resources/lang/en-US/validation.php @@ -151,4 +151,10 @@ return [ 'attributes' => [], + /* + |-------------------------------------------------------------------------- + | Generic Validation Messages + |-------------------------------------------------------------------------- + */ + 'invalid_value_in_field' => 'Invalid value included in this field', ]; diff --git a/resources/views/settings/security.blade.php b/resources/views/settings/security.blade.php index baacb41440..f108683dc3 100644 --- a/resources/views/settings/security.blade.php +++ b/resources/views/settings/security.blade.php @@ -106,7 +106,7 @@ @if ($errors->has('pwd_secure_complexity.*')) - Invalid value included in this field + {{ trans('validation.invalid_value_in_field') }} @endif

{{ trans('admin/settings/general.pwd_secure_complexity_help') }}