diff --git a/UI/MenuScreens.cpp b/UI/MenuScreens.cpp index a7263078a2..c1240263cb 100644 --- a/UI/MenuScreens.cpp +++ b/UI/MenuScreens.cpp @@ -1219,11 +1219,13 @@ void ErrorScreen::render() UIBegin(UIShader_Get()); DrawBackground(1.0f); + I18NCategory *ge = GetI18NCategory("Error"); + ui_draw2d.SetFontScale(1.5f, 1.5f); - ui_draw2d.DrawText(UBUNTU24, errorTitle_.c_str(), dp_xres / 2, 30, 0xFFFFFFFF, ALIGN_HCENTER); + ui_draw2d.DrawText(UBUNTU24, ge->T(errorTitle_.c_str()), dp_xres / 2, 30, 0xFFFFFFFF, ALIGN_HCENTER); ui_draw2d.SetFontScale(1.0f, 1.0f); - ui_draw2d.DrawText(UBUNTU24, errorMessage_.c_str(), 40, 120, 0xFFFFFFFF, ALIGN_LEFT); + ui_draw2d.DrawText(UBUNTU24, ge->T(errorMessage_.c_str()), 40, 120, 0xFFFFFFFF, ALIGN_LEFT); I18NCategory *g = GetI18NCategory("General"); diff --git a/chinese.txt b/chinese.txt index bc6a9f9dca..8e5e0463af 100644 --- a/chinese.txt +++ b/chinese.txt @@ -102,6 +102,8 @@ Back = 返回 Delete = 删除 Finish = 完成 Shift = Shift +[Error] +Error loading file = 文件载入错误 繁體中文 [MainMenu] @@ -207,3 +209,5 @@ There is no data = 沒有存檔 DeleteConfirm = 這份檔案將被刪除。\n您確定要繼續嗎? Deleting = 刪除中\n請稍候... Delete completed = 已刪除 +[Error] +Error loading file = 檔案載入錯誤 diff --git a/lang b/lang index 5c4d7f33b0..ee757b7684 160000 --- a/lang +++ b/lang @@ -1 +1 @@ -Subproject commit 5c4d7f33b0398de7f5d95ae6a41fbf32da7fcd8e +Subproject commit ee757b76849a885445acdfa7ae54ae1446dadf63