#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
@@ -24,7 +24,7 @@ password:
login:
command_usage: '&8[&6用戶系統&8] &f用法:《 /login <密碼> 》'
wrong_password: '&8[&6用戶系統&8] &c你輸入了錯誤的密碼。'
# TODO success: '&2Successful login!'
success: '&8[&6用戶系統&8] &a你成功登入了。'
login_request: '&8[&6用戶系統&8] &c請使用這個指令來登入:《 /login <密碼> 》'
timeout_error: '&8[&6用戶系統&8] &f登入逾時。'
@@ -35,7 +35,7 @@ error:
unregistered_user: '&8[&6用戶系統&8] &c此用戶名沒有已登記資料。'
not_logged_in: '&8[&6用戶系統&8] &c你還沒有登入 '
no_permission: '&8[&6用戶系統&8] &b嗯~你想幹甚麼?'
# TODO unexpected_error: '&4An unexpected error occurred, please contact an administrator!'
unexpected_error: '&8[&6用戶系統&8] &f發生錯誤,請與管理員聯絡。'
max_registration: '&8[&6用戶系統&8] &f你的IP地址已達到註冊數上限。 &7(info: %reg_count/%max_acc %reg_names)'
logged_in: '&8[&6用戶系統&8] &c你已經登入過了。'
kick_for_vip: '&c喔!因為有VIP玩家登入了伺服器。'
@@ -137,4 +137,4 @@ time:
hour: '小時'
hours: '小時'
day: '日'
days: '日'
days: '日'