Skip to content

A free open source IT asset/license management system

Extract translation string

Marcus Mooreb5b8777c9486
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 @@
</label>
@if ($errors->has('pwd_secure_complexity.*'))
- <span class="alert-msg">Invalid value included in this field</span>
+ <span class="alert-msg">{{ trans('validation.invalid_value_in_field') }}</span>
@endif
<p class="help-block">
{{ trans('admin/settings/general.pwd_secure_complexity_help') }}