diff --git a/app/Http/Controllers/AdminController.php b/app/Http/Controllers/AdminController.php index f30dc0f1..54534e1c 100644 --- a/app/Http/Controllers/AdminController.php +++ b/app/Http/Controllers/AdminController.php @@ -193,11 +193,10 @@ class AdminController extends Controller $form->text('custom_player_name_regexp')->hint()->placeholder(); $form->group('player_name_length') - ->addon(trans('options.general.player_name_length.addon1')) ->text('player_name_length_min') - ->addon(trans('options.general.player_name_length.addon2')) + ->addon('~') ->text('player_name_length_max') - ->addon(trans('options.general.player_name_length.addon3')); + ->addon(trans('options.general.player_name_length.suffix')); $form->select('api_type') ->option('0', 'CustomSkinLoader API') diff --git a/resources/lang/en/options.yml b/resources/lang/en/options.yml index f2904d1f..8912203b 100644 --- a/resources/lang/en/options.yml +++ b/resources/lang/en/options.yml @@ -101,9 +101,7 @@ general: placeholder: Regular Expressions player_name_length: title: Player Name Length - addon1: Minimum - addon2: characters, maximum - addon3: characters + suffix: characters api_type: Prefered JSON API auto_del_invalid_texture: title: Invalid Textures diff --git a/resources/lang/zh_CN/options.yml b/resources/lang/zh_CN/options.yml index 86546ca2..67284098 100644 --- a/resources/lang/zh_CN/options.yml +++ b/resources/lang/zh_CN/options.yml @@ -101,9 +101,7 @@ general: placeholder: 正则表达式,不懂别乱填 player_name_length: title: 角色名长度 - addon1: 最少 - addon2: 个字符,最多 - addon3: 个字符 + suffix: 个字符 api_type: 首选 JSON API auto_del_invalid_texture: title: 失效材质