2020/08/18: Inchar - 汉化修正

This commit is contained in:
Rintim 2020-08-18 19:31:43 +08:00
parent c674886408
commit 3424e8e25e
4 changed files with 21 additions and 19 deletions

View File

@ -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;
}

View File

@ -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);
}
}

View File

@ -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;
}
@ -139,3 +139,5 @@ void tickets_open() {
list_display("Tickets", "A: 選擇, B: 返回, X: 刷新", data, tickets_update, tickets_draw_top);
}
// オケー

View File

@ -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);
}