#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
@@ -23,7 +23,7 @@ password:
login:
command_usage: '&b【AuthMe】&6用法: &c"/login <密碼>"'
wrong_password: '&b【AuthMe】&6密碼錯誤!'
# TODO success: '&2Successful login!'
success: '&b【AuthMe】&6密碼正確,您已成功登入!'
login_request: '&b【AuthMe】&6請使用 &c"/login <密碼>" &6來登入。'
timeout_error: '&b【AuthMe】&6超過登入時間,請稍後再試一次'
@@ -34,7 +34,7 @@ error:
unregistered_user: '&b【AuthMe】&6這個帳號還沒有註冊過'
not_logged_in: '&b【AuthMe】&6您還沒有登入!'
no_permission: '&b【AuthMe】&6您沒有使用該指令的權限。'
# TODO unexpected_error: '&4An unexpected error occurred, please contact an administrator!'
unexpected_error: '&b【AuthMe】&6發生錯誤,請聯繫管理員'
max_registration: '&b【AuthMe】&6您的 IP 位置所註冊的帳號數量已經達到最大。'
logged_in: '&b【AuthMe】&6您已經登入了!'
kick_for_vip: '&b【AuthMe】&6您已經被請出。&c原因 : 有 VIP 玩家登入伺服器'
@@ -136,4 +136,4 @@ time:
hour: '時'
hours: '時'
day: '天'
days: '天'
days: '天'