From b802f4cb6b0702b4ee2e0599c5a79e51a3c7fd46 Mon Sep 17 00:00:00 2001 From: Rintim Date: Mon, 17 Aug 2020 11:41:54 +0800 Subject: [PATCH] =?UTF-8?q?2020/08/17:Synain=20-=20=E7=A8=8D=E5=BE=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/fbi/extsavedata.c | 18 +++++++++--------- source/fbi/files.c | 2 +- source/fbi/mainmenu.c | 8 ++++---- source/fbi/remoteinstall.c | 2 +- source/fbi/task/uitask.c | 4 ++-- source/fbi/titles.c | 10 +++++----- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/source/fbi/extsavedata.c b/source/fbi/extsavedata.c index dac152a..1ea21b3 100644 --- a/source/fbi/extsavedata.c +++ b/source/fbi/extsavedata.c @@ -10,9 +10,9 @@ #include "task/uitask.h" #include "../core/core.h" -static list_item browse_user_save_data = {"瀏覽使用者保存資料", COLOR_TEXT, action_browse_user_ext_save_data}; -static list_item browse_spotpass_save_data = {"瀏覽SpotPass保存資料", COLOR_TEXT, action_browse_boss_ext_save_data}; -static list_item delete_save_data = {"刪除保存資料", COLOR_TEXT, action_delete_ext_save_data}; +static list_item browse_user_save_data = {"瀏覽使用者儲存資料", COLOR_TEXT, action_browse_user_ext_save_data}; +static list_item browse_spotpass_save_data = {"瀏覽SpotPass儲存資料", COLOR_TEXT, action_browse_boss_ext_save_data}; +static list_item delete_save_data = {"刪除儲存資料", COLOR_TEXT, action_delete_ext_save_data}; typedef struct { populate_ext_save_data_data populateData; @@ -69,7 +69,7 @@ static void extsavedata_action_update(ui_view* view, void* data, linked_list* it static void extsavedata_action_open(linked_list* items, list_item* selected) { extsavedata_action_data* data = (extsavedata_action_data*) calloc(1, sizeof(extsavedata_action_data)); if(data == NULL) { - error_display(NULL, NULL, "無法分配額外保存數據操作的數據."); + error_display(NULL, NULL, "無法分配額外儲存數據操作的數據."); return; } @@ -77,7 +77,7 @@ static void extsavedata_action_open(linked_list* items, list_item* selected) { data->items = items; data->selected = selected; - list_display("額外保存數據操作", "A: 選擇, B: 返回", data, extsavedata_action_update, extsavedata_action_draw_top); + list_display("額外儲存數據操作", "A: 選擇, B: 返回", data, extsavedata_action_update, extsavedata_action_draw_top); } static void extsavedata_options_add_entry(linked_list* items, const char* name, bool* val) { @@ -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; } @@ -255,7 +255,7 @@ static int extsavedata_compare(void* data, const void* p1, const void* p2) { void extsavedata_open() { extsavedata_data* data = (extsavedata_data*) calloc(1, sizeof(extsavedata_data)); if(data == NULL) { - error_display(NULL, NULL, "無法分配額外保存數據數據"); + error_display(NULL, NULL, "無法分配額外儲存數據數據"); return; } @@ -271,7 +271,7 @@ void extsavedata_open() { data->sortById = false; data->sortByName = true; - list_display("額外保存數據", "A: 選擇, B: 返回, X: 刷新, Select: 選項", data, extsavedata_update, extsavedata_draw_top); + list_display("額外儲存數據", "A: 選擇, B: 返回, X: 刷新, Select: 選項", data, extsavedata_update, extsavedata_draw_top); } // オケー \ No newline at end of file diff --git a/source/fbi/files.c b/source/fbi/files.c index 9cdfcb3..82de42a 100644 --- a/source/fbi/files.c +++ b/source/fbi/files.c @@ -23,7 +23,7 @@ static list_item install_ticket = {"安裝ticket", COLOR_TEXT, action_install_ti 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}; +static list_item copy_all_contents = {"拷貝所有档案", COLOR_TEXT, NULL}; static list_item delete_all_contents = {"刪除所有档案", COLOR_TEXT, action_delete_dir_contents}; static list_item new_folder = {"新資料夾", COLOR_TEXT, action_new_folder}; diff --git a/source/fbi/mainmenu.c b/source/fbi/mainmenu.c index 01d0da7..0c4c3af 100644 --- a/source/fbi/mainmenu.c +++ b/source/fbi/mainmenu.c @@ -13,11 +13,11 @@ static list_item twl_nand = {"TWL NAND", COLOR_TEXT, files_open_twl_nand}; static list_item twl_photo = {"TWL Photo", COLOR_TEXT, files_open_twl_photo}; static list_item twl_sound = {"TWL Sound", COLOR_TEXT, files_open_twl_sound}; static list_item dump_nand = {"導出 NAND", COLOR_TEXT, dumpnand_open}; -static list_item titles = {"程式", COLOR_TEXT, titles_open}; -static list_item pending_titles = {"待定程式", COLOR_TEXT, pendingtitles_open}; +static list_item titles = {"程式 (Titles)", COLOR_TEXT, titles_open}; +static list_item pending_titles = {"待定程式 (Pending Titles)", COLOR_TEXT, pendingtitles_open}; static list_item tickets = {"Tickets", COLOR_TEXT, tickets_open}; -static list_item ext_save_data = {"額外保存數據", COLOR_TEXT, extsavedata_open}; -static list_item system_save_data = {"系統保存數據", COLOR_TEXT, systemsavedata_open}; +static list_item ext_save_data = {"額外儲存數據", COLOR_TEXT, extsavedata_open}; +static list_item system_save_data = {"系統儲存數據", COLOR_TEXT, systemsavedata_open}; static list_item remote_install = {"遠程安裝", COLOR_TEXT, remoteinstall_open}; static list_item update = {"升級", COLOR_TEXT, update_open}; diff --git a/source/fbi/remoteinstall.c b/source/fbi/remoteinstall.c index ccdce7d..7c7c7a4 100644 --- a/source/fbi/remoteinstall.c +++ b/source/fbi/remoteinstall.c @@ -496,5 +496,5 @@ static void remoteinstall_update(ui_view* view, void* data, linked_list* items, } void remoteinstall_open() { - list_display("Remote Install", "A: Select, B: Return", NULL, remoteinstall_update, NULL); + list_display("遠程安裝", "A: 選擇, B: 返回", NULL, remoteinstall_update, NULL); } diff --git a/source/fbi/task/uitask.c b/source/fbi/task/uitask.c index 297f1e4..a27bae6 100644 --- a/source/fbi/task/uitask.c +++ b/source/fbi/task/uitask.c @@ -67,7 +67,7 @@ void task_draw_ext_save_data_info(ui_view* view, void* data, float x1, float y1, char infoText[512]; snprintf(infoText, sizeof(infoText), - "額外保存數據ID: %016llX\n" + "額外儲存數據ID: %016llX\n" "動態: %s", info->extSaveDataId, info->shared ? "是" : "否"); @@ -198,7 +198,7 @@ void task_draw_system_save_data_info(ui_view* view, void* data, float x1, float char infoText[512]; - snprintf(infoText, sizeof(infoText), "系統保存數據ID: %08lX", info->systemSaveDataId); + snprintf(infoText, sizeof(infoText), "系統儲存數據ID: %08lX", info->systemSaveDataId); float infoWidth; screen_get_string_size(&infoWidth, NULL, infoText, 0.5f, 0.5f); diff --git a/source/fbi/titles.c b/source/fbi/titles.c index b87f0e6..a4bfa84 100644 --- a/source/fbi/titles.c +++ b/source/fbi/titles.c @@ -12,13 +12,13 @@ static list_item launch_title = {"啓動程式", COLOR_TEXT, action_launch_title}; static list_item delete_title = {"刪除程式", COLOR_TEXT, action_delete_title}; -static list_item delete_title_ticket = {"刪除程式和保存數據", COLOR_TEXT, action_delete_title_ticket}; +static list_item delete_title_ticket = {"刪除程式和儲存數據", COLOR_TEXT, action_delete_title_ticket}; static list_item extract_smdh = {"提取SMDH", COLOR_TEXT, action_extract_smdh}; static list_item import_seed = {"導入Seed", COLOR_TEXT, action_import_seed}; -static list_item browse_save_data = {"瀏覽保存文件", COLOR_TEXT, action_browse_title_save_data}; -static list_item import_save_data = {"導入保存文件", COLOR_TEXT, action_import_twl_save}; -static list_item export_save_data = {"導出保存文件", COLOR_TEXT, action_export_twl_save}; -static list_item erase_save_data = {"清除保存文件", COLOR_TEXT, action_erase_twl_save}; +static list_item browse_save_data = {"瀏覽儲存文件", COLOR_TEXT, action_browse_title_save_data}; +static list_item import_save_data = {"導入儲存文件", COLOR_TEXT, action_import_twl_save}; +static list_item export_save_data = {"導出儲存文件", COLOR_TEXT, action_export_twl_save}; +static list_item erase_save_data = {"清除儲存文件", COLOR_TEXT, action_erase_twl_save}; static list_item import_secure_value = {"導入安全値", COLOR_TEXT, action_import_secure_value}; static list_item export_secure_value = {"導出安全値", COLOR_TEXT, action_export_secure_value}; static list_item delete_secure_value = {"刪除安全値", COLOR_TEXT, action_delete_secure_value};