#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: '&b使用方法: 輸入"/login [你的密碼]" 來登入'
wrong_password: '&c密碼錯誤!'
# TODO success: '&2Successful login!'
success: '&2你已成功登入!'
login_request: '&c [請先登入] 請按T , 然後輸入 "/login [你的密碼]" 。'
timeout_error: '&4超過登錄超時,您已從伺服器中踢出,請重試!'
@@ -31,7 +31,7 @@ error:
unregistered_user: '&c此用戶尚未注冊!'
not_logged_in: '&c你尚未登入!'
no_permission: '&4您沒有執行此操作的權限!'
# TODO unexpected_error: '&4An unexpected error occurred, please contact an administrator!'
unexpected_error: '&4發生錯誤!請聯繫伺服器管理員!'
max_registration: '&c您已超過註冊的最大數量(%reg_count/%max_acc %reg_names)!'
logged_in: '&c您已經登錄!'
kick_for_vip: '&3一名VIP玩家在服務器已滿時已加入伺服器!'
@@ -133,4 +133,4 @@ time:
# TODO hour: 'hour'
# TODO hours: 'hours'
# TODO day: 'day'
# TODO days: 'days'
# TODO days: 'days'