Fix displaying player name rule

This commit is contained in:
gplane 2017-04-26 17:50:10 +08:00
parent 8a8a4e57ee
commit 602e52d9e6
3 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,7 @@
* @Author: printempw
* @Date: 2016-07-16 10:02:24
* @Last Modified by: g-plane
* @Last Modified time: 2017-04-26 17:42:50
* @Last Modified time: 2017-04-26 17:46:28
*/
'use strict';
@ -354,7 +354,7 @@ $('body').on('change', '#preference', function() {
function changePlayerName(pid, current_player_name) {
swal({
title: trans('user.changePlayerName'),
text: trans('user.playerNameRule'),
text: $('#player_name').attr('placeholder'),
inputValue: current_player_name,
input: 'text',
showCancelButton: true,

View File

@ -82,7 +82,6 @@
// Player
changePlayerName: 'Please enter the player name:',
playerNameRule: 'The player name should only contain letters, numbers, and dashes.',
emptyPlayerName: 'Empty player name.',
clearTexture: 'Sure to clear the skins & cape of this player?',
deletePlayer: 'Sure to delete this player?',

View File

@ -82,7 +82,6 @@
// Player
changePlayerName: '请输入角色名:',
playerNameRule: '允许数字、字母以及下划线,是否支持中文角色名请参考本站设置',
emptyPlayerName: '你还没有填写名称哦',
clearTexture: '确定要重置该用户的皮肤/披风吗?',
deletePlayer: '真的要删除该玩家吗?',