Reduce text on player_name_length option

This commit is contained in:
Pig Fang 2018-09-08 10:30:24 +08:00
parent 6e4a1dfc6f
commit 8359967b16
3 changed files with 4 additions and 9 deletions

View File

@ -193,11 +193,10 @@ class AdminController extends Controller
$form->text('custom_player_name_regexp')->hint()->placeholder(); $form->text('custom_player_name_regexp')->hint()->placeholder();
$form->group('player_name_length') $form->group('player_name_length')
->addon(trans('options.general.player_name_length.addon1'))
->text('player_name_length_min') ->text('player_name_length_min')
->addon(trans('options.general.player_name_length.addon2')) ->addon('~')
->text('player_name_length_max') ->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') $form->select('api_type')
->option('0', 'CustomSkinLoader API') ->option('0', 'CustomSkinLoader API')

View File

@ -101,9 +101,7 @@ general:
placeholder: Regular Expressions placeholder: Regular Expressions
player_name_length: player_name_length:
title: Player Name Length title: Player Name Length
addon1: Minimum suffix: characters
addon2: characters, maximum
addon3: characters
api_type: Prefered JSON API api_type: Prefered JSON API
auto_del_invalid_texture: auto_del_invalid_texture:
title: Invalid Textures title: Invalid Textures

View File

@ -101,9 +101,7 @@ general:
placeholder: 正则表达式,不懂别乱填 placeholder: 正则表达式,不懂别乱填
player_name_length: player_name_length:
title: 角色名长度 title: 角色名长度
addon1: 最少 suffix: 个字符
addon2: 个字符,最多
addon3: 个字符
api_type: 首选 JSON API api_type: 首选 JSON API
auto_del_invalid_texture: auto_del_invalid_texture:
title: 失效材质 title: 失效材质