From 3424e8e25ef9f7479100026d4552d1e2ee15b360 Mon Sep 17 00:00:00 2001 From: Rintim Date: Tue, 18 Aug 2020 19:31:43 +0800 Subject: [PATCH] =?UTF-8?q?2020/08/18:=20Inchar=20-=20=E6=B1=89=E5=8C=96?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/fbi/extsavedata.c | 4 ++-- source/fbi/files.c | 16 ++++++++-------- source/fbi/tickets.c | 12 +++++++----- source/fbi/update.c | 8 ++++---- 4 files changed, 21 insertions(+), 19 deletions(-) diff --git a/source/fbi/extsavedata.c b/source/fbi/extsavedata.c index 1ea21b3..a6128fb 100644 --- a/source/fbi/extsavedata.c +++ b/source/fbi/extsavedata.c @@ -188,14 +188,14 @@ static void extsavedata_update(ui_view* view, void* data, linked_list* items, li listData->populateData.items = items; Result res = task_populate_ext_save_data(&listData->populateData); if(R_FAILED(res)) { - error_display_res(NULL, NULL, res, "無法初始化額外儲存數據列表"); + error_display_res(NULL, NULL, res, "無法初始化額外儲存數據目錄"); } listData->populated = true; } if(listData->populateData.finished && R_FAILED(listData->populateData.result)) { - error_display_res(NULL, NULL, listData->populateData.result, "無法填充額外儲存數據列表"); + error_display_res(NULL, NULL, listData->populateData.result, "無法填充額外儲存數據目錄"); listData->populateData.result = 0; } diff --git a/source/fbi/files.c b/source/fbi/files.c index 82de42a..b2d5c31 100644 --- a/source/fbi/files.c +++ b/source/fbi/files.c @@ -17,10 +17,10 @@ static list_item paste = {"粘貼", COLOR_TEXT, action_paste_contents}; static list_item delete_file = {"刪除", COLOR_TEXT, action_delete_file}; static list_item install_cia = {"安裝CIA", COLOR_TEXT, action_install_cia}; -static list_item install_and_delete_cia = {"安裝並刪除CIA", COLOR_TEXT, action_install_cia_delete}; +static list_item install_and_delete_cia = {"安裝並刪除 CIA", COLOR_TEXT, action_install_cia_delete}; static list_item install_ticket = {"安裝ticket", COLOR_TEXT, action_install_ticket}; -static list_item install_and_delete_ticket = {"安裝並刪除ticket", COLOR_TEXT, action_install_ticket_delete}; +static list_item install_and_delete_ticket = {"安裝並刪除 Ticket", COLOR_TEXT, action_install_ticket_delete}; static list_item delete_dir = {"刪除", COLOR_TEXT, action_delete_dir}; static list_item copy_all_contents = {"拷貝所有档案", COLOR_TEXT, NULL}; @@ -28,12 +28,12 @@ static list_item delete_all_contents = {"刪除所有档案", COLOR_TEXT, action static list_item new_folder = {"新資料夾", COLOR_TEXT, action_new_folder}; static list_item install_all_cias = {"安裝所有CIAs", COLOR_TEXT, action_install_cias}; -static list_item install_and_delete_all_cias = {"安裝並刪除所有CIAs", COLOR_TEXT, action_install_cias_delete}; +static list_item install_and_delete_all_cias = {"安裝並刪除所有 CIAs", COLOR_TEXT, action_install_cias_delete}; static list_item delete_all_cias = {"刪除所有CIAs", COLOR_TEXT, action_delete_dir_cias}; -static list_item install_all_tickets = {"安裝所有tickets", COLOR_TEXT, action_install_tickets}; -static list_item install_and_delete_all_tickets = {"安裝並刪除所有tickets", COLOR_TEXT, action_install_tickets_delete}; -static list_item delete_all_tickets = {"刪除所有tickets", COLOR_TEXT, action_delete_dir_tickets}; +static list_item install_all_tickets = {"安裝所有 Tickets", COLOR_TEXT, action_install_tickets}; +static list_item install_and_delete_all_tickets = {"安裝並刪除所有 Tickets", COLOR_TEXT, action_install_tickets_delete}; +static list_item delete_all_tickets = {"刪除所有 Tickets", COLOR_TEXT, action_delete_dir_tickets}; typedef struct { populate_files_data populateData; @@ -241,8 +241,8 @@ static void files_options_update(ui_view* view, void* data, linked_list* items, files_options_add_entry(items, "顯示隠藏档案", &listData->showHidden); files_options_add_entry(items, "顯示資料夾", &listData->showDirectories); files_options_add_entry(items, "顯示档案", &listData->showFiles); - files_options_add_entry(items, "顯示CIAs", &listData->showCias); - files_options_add_entry(items, "顯示tickets", &listData->showTickets); + files_options_add_entry(items, "顯示 CIAs", &listData->showCias); + files_options_add_entry(items, "顯示 Tickets", &listData->showTickets); } } diff --git a/source/fbi/tickets.c b/source/fbi/tickets.c index d579295..e6501bd 100644 --- a/source/fbi/tickets.c +++ b/source/fbi/tickets.c @@ -9,8 +9,8 @@ #include "task/uitask.h" #include "../core/core.h" -static list_item delete_ticket = {"刪除Ticket", COLOR_TEXT, action_delete_ticket}; -static list_item delete_unused_tickets = {"刪除未使用的Tickets", COLOR_TEXT, action_delete_tickets_unused}; +static list_item delete_ticket = {"刪除 Ticket", COLOR_TEXT, action_delete_ticket}; +static list_item delete_unused_tickets = {"刪除未使用的 Tickets", COLOR_TEXT, action_delete_tickets_unused}; typedef struct { populate_tickets_data populateData; @@ -109,14 +109,14 @@ static void tickets_update(ui_view* view, void* data, linked_list* items, list_i listData->populateData.items = items; Result res = task_populate_tickets(&listData->populateData); if(R_FAILED(res)) { - error_display_res(NULL, NULL, res, "無法初始化 Tickets 列表"); + error_display_res(NULL, NULL, res, "無法初始化 Tickets 目錄結構"); } listData->populated = true; } if(listData->populateData.finished && R_FAILED(listData->populateData.result)) { - error_display_res(NULL, NULL, listData->populateData.result, "無法填充 Tickets 列表"); + error_display_res(NULL, NULL, listData->populateData.result, "無法列舉 Tickets 目錄"); listData->populateData.result = 0; } @@ -138,4 +138,6 @@ void tickets_open() { data->populateData.finished = true; list_display("Tickets", "A: 選擇, B: 返回, X: 刷新", data, tickets_update, tickets_draw_top); -} \ No newline at end of file +} + +// オケー \ No newline at end of file diff --git a/source/fbi/update.c b/source/fbi/update.c index 30faa41..302ea3e 100644 --- a/source/fbi/update.c +++ b/source/fbi/update.c @@ -66,16 +66,16 @@ static void update_check_update(ui_view* view, void* data, float* progress, char info_destroy(view); if(hasUpdate) { - action_install_url("Update FBI to the latest version?", updateURL, fs_get_3dsx_path(), NULL, NULL, NULL, NULL); + action_install_url("升級 FBI 到最新版本嗎?", updateURL, fs_get_3dsx_path(), NULL, NULL, NULL, NULL); } else { if(R_FAILED(res)) { - error_display_res(NULL, NULL, res, "Failed to check for update."); + error_display_res(NULL, NULL, res, "無法連接服務器查詢"); } else { - prompt_display_notify("Success", "No updates available.", COLOR_TEXT, NULL, NULL, NULL); + prompt_display_notify("成功", "已完成升級", COLOR_TEXT, NULL, NULL, NULL); } } } void update_open() { - info_display("Checking For Updates", "", false, NULL, update_check_update, NULL); + info_display("檢查升級", "", false, NULL, update_check_update, NULL); }