mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-05 19:41:43 +08:00
2020/08/17:Synain - 稍微修正了一下
This commit is contained in:
parent
206e00903b
commit
b802f4cb6b
@ -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);
|
||||
}
|
||||
|
||||
// オケー
|
@ -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};
|
||||
|
||||
|
@ -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};
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user