#1467 Rearrange old keys migration so no entries get lost

- 'error' was an old entry but now we have multiple entries under 'error' (which is now a section), so we need to ensure that we migrate the old 'error' entry before the migration sets anything under that path
This commit is contained in:
ljacqu
2018-02-02 18:53:08 +01:00
parent f44353ed4c
commit 1d6d9eb764
34 changed files with 154 additions and 105 deletions
@@ -20,7 +20,7 @@ password:
login:
command_usage: '&8[&6玩家系统&8] &c正确用法:“/login <密码>”'
wrong_password: '&8[&6玩家系统&8] &c错误的密码'
# TODO success: '&2Successful login!'
success: '&8[&6玩家系统&8] &c已成功登录!'
login_request: '&8[&6玩家系统&8] &c请输入“/login <密码>”以登录'
timeout_error: '&8[&6玩家系统&8] &f给你登录的时间已经过了'
@@ -31,7 +31,7 @@ error:
unregistered_user: '&8[&6玩家系统&8] &c此用户名还未注册过'
not_logged_in: '&8[&6玩家系统&8] &c你还未登录!'
no_permission: '&8[&6玩家系统&8] &c没有权限'
# TODO unexpected_error: '&4An unexpected error occurred, please contact an administrator!'
unexpected_error: '&8[&6玩家系统&8] &f发现错误,请联系管理员'
max_registration: '&8[&6玩家系统&8] &f你不允许再为你的IP在服务器注册更多用户了!'
logged_in: '&8[&6玩家系统&8] &c你已经登陆过了!'
kick_for_vip: '&8[&6玩家系统&8] &cA VIP玩家加入了已满的服务器!'
@@ -133,4 +133,4 @@ time:
hour: '小时'
hours: '小时'
day: '天'
days: '天'
days: '天'