mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 11:21:23 +00:00
Formalize language in various messages
This commit is contained in:
parent
dbc8f4a4c2
commit
d1f0ea3de7
11 changed files with 43 additions and 43 deletions
|
@ -735,7 +735,7 @@ static int _restore_emmc_part(char *sd_path, sdmmc_storage_t *storage, emmc_part
|
||||||
{
|
{
|
||||||
gfx_con.fntsz = 16;
|
gfx_con.fntsz = 16;
|
||||||
EPRINTFARGS("\nFatal error (%d) when reading from SD Card", res);
|
EPRINTFARGS("\nFatal error (%d) when reading from SD Card", res);
|
||||||
EPRINTF("\nYour device may be in an inoperative state!\n\nPress any key and try again now...\n");
|
EPRINTF("\nThis device may be in an inoperative state!\n\nPress any key and try again now...\n");
|
||||||
|
|
||||||
f_close(&fp);
|
f_close(&fp);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -751,7 +751,7 @@ static int _restore_emmc_part(char *sd_path, sdmmc_storage_t *storage, emmc_part
|
||||||
gfx_con.fntsz = 16;
|
gfx_con.fntsz = 16;
|
||||||
EPRINTFARGS("\nFailed to write %d blocks @ LBA %08X\nfrom eMMC. Aborting..\n",
|
EPRINTFARGS("\nFailed to write %d blocks @ LBA %08X\nfrom eMMC. Aborting..\n",
|
||||||
num, lba_curr);
|
num, lba_curr);
|
||||||
EPRINTF("\nYour device may be in an inoperative state!\n\nPress any key and try again...\n");
|
EPRINTF("\nThis device may be in an inoperative state!\n\nPress any key and try again...\n");
|
||||||
|
|
||||||
f_close(&fp);
|
f_close(&fp);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -797,7 +797,7 @@ static void _restore_emmc_selected(emmcPartType_t restoreType)
|
||||||
tui_sbar(true);
|
tui_sbar(true);
|
||||||
gfx_con_setpos(0, 0);
|
gfx_con_setpos(0, 0);
|
||||||
|
|
||||||
gfx_printf("%kThis may render your device inoperative!\n\n", 0xFFFFDD00);
|
gfx_printf("%kThis may render the device inoperative!\n\n", 0xFFFFDD00);
|
||||||
gfx_printf("Are you really sure?\n\n%k", 0xFFCCCCCC);
|
gfx_printf("Are you really sure?\n\n%k", 0xFFCCCCCC);
|
||||||
if ((restoreType & PART_BOOT) || (restoreType & PART_GP_ALL))
|
if ((restoreType & PART_BOOT) || (restoreType & PART_GP_ALL))
|
||||||
{
|
{
|
||||||
|
|
|
@ -329,7 +329,7 @@ void menu_autorcm()
|
||||||
if (h_cfg.rcm_patched)
|
if (h_cfg.rcm_patched)
|
||||||
{
|
{
|
||||||
gfx_printf("%kThis device is RCM patched and\nAutoRCM function is disabled.\n\n"
|
gfx_printf("%kThis device is RCM patched and\nAutoRCM function is disabled.\n\n"
|
||||||
"In case %kAutoRCM%k is enabled\nthis will %kBRICK%k your device PERMANENTLY!!%k",
|
"In case %kAutoRCM%k is enabled\nthis will %kBRICK%k the device PERMANENTLY!!%k",
|
||||||
0xFFFFDD00, 0xFFFF0000, 0xFFFFDD00, 0xFFFF0000, 0xFFFFDD00, 0xFFCCCCCC);
|
0xFFFFDD00, 0xFFFF0000, 0xFFFFDD00, 0xFFFF0000, 0xFFFFDD00, 0xFFCCCCCC);
|
||||||
btn_wait();
|
btn_wait();
|
||||||
|
|
||||||
|
@ -393,7 +393,7 @@ void menu_autorcm()
|
||||||
ments[4].data = NULL;
|
ments[4].data = NULL;
|
||||||
|
|
||||||
memset(&ments[5], 0, sizeof(ment_t));
|
memset(&ments[5], 0, sizeof(ment_t));
|
||||||
menu_t menu = {ments, "This corrupts your BOOT0!", 0, 0};
|
menu_t menu = {ments, "This corrupts BOOT0!", 0, 0};
|
||||||
|
|
||||||
tui_do_menu(&menu);
|
tui_do_menu(&menu);
|
||||||
}
|
}
|
||||||
|
|
|
@ -706,7 +706,7 @@ void nyx_load_run()
|
||||||
|
|
||||||
gfx_con_setpos(0, 0);
|
gfx_con_setpos(0, 0);
|
||||||
WPRINTF("Old Nyx GUI found! There will be dragons!\n");
|
WPRINTF("Old Nyx GUI found! There will be dragons!\n");
|
||||||
WPRINTF("\nUpdate your bootloader folder!\n\n");
|
WPRINTF("\nUpdate the bootloader folder!\n\n");
|
||||||
WPRINTF("Press any key...");
|
WPRINTF("Press any key...");
|
||||||
|
|
||||||
msleep(1000);
|
msleep(1000);
|
||||||
|
|
|
@ -1023,7 +1023,7 @@ static int _restore_emmc_part(emmc_tool_gui_t *gui, char *sd_path, int active_pa
|
||||||
{
|
{
|
||||||
lv_obj_t *warn_mbox_bg = create_mbox_text(
|
lv_obj_t *warn_mbox_bg = create_mbox_text(
|
||||||
"#FF8000 Size of SD Card split backup does not match,#\n#FF8000 eMMC's selected part size!#\n\n"
|
"#FF8000 Size of SD Card split backup does not match,#\n#FF8000 eMMC's selected part size!#\n\n"
|
||||||
"#FFDD00 Your backup might be corrupted!#\n#FFDD00 Aborting is suggested!#\n\n"
|
"#FFDD00 The backup might be corrupted!#\n#FFDD00 Aborting is suggested!#\n\n"
|
||||||
"Press #FF8000 POWER# to Continue.\nPress #FF8000 VOL# to abort.", false);
|
"Press #FF8000 POWER# to Continue.\nPress #FF8000 VOL# to abort.", false);
|
||||||
manual_system_maintenance(true);
|
manual_system_maintenance(true);
|
||||||
|
|
||||||
|
@ -1085,7 +1085,7 @@ static int _restore_emmc_part(emmc_tool_gui_t *gui, char *sd_path, int active_pa
|
||||||
{
|
{
|
||||||
lv_obj_t *warn_mbox_bg = create_mbox_text(
|
lv_obj_t *warn_mbox_bg = create_mbox_text(
|
||||||
"#FF8000 Size of the SD Card backup does not match,#\n#FF8000 eMMC's selected part size!#\n\n"
|
"#FF8000 Size of the SD Card backup does not match,#\n#FF8000 eMMC's selected part size!#\n\n"
|
||||||
"#FFDD00 Your backup might be corrupted!#\n#FFDD00 Aborting is suggested!#\n\n"
|
"#FFDD00 The backup might be corrupted!#\n#FFDD00 Aborting is suggested!#\n\n"
|
||||||
"Press #FF8000 POWER# to Continue.\nPress #FF8000 VOL# to abort.", false);
|
"Press #FF8000 POWER# to Continue.\nPress #FF8000 VOL# to abort.", false);
|
||||||
manual_system_maintenance(true);
|
manual_system_maintenance(true);
|
||||||
|
|
||||||
|
@ -1206,7 +1206,7 @@ static int _restore_emmc_part(emmc_tool_gui_t *gui, char *sd_path, int active_pa
|
||||||
{
|
{
|
||||||
s_printf(gui->txt_buf,
|
s_printf(gui->txt_buf,
|
||||||
"\n#FF0000 Fatal error (%d) when reading from SD!#\n"
|
"\n#FF0000 Fatal error (%d) when reading from SD!#\n"
|
||||||
"#FF0000 Your device may be in an inoperative state!#\n"
|
"#FF0000 This device may be in an inoperative state!#\n"
|
||||||
"#FFDD00 Please try again now!#\n", res);
|
"#FFDD00 Please try again now!#\n", res);
|
||||||
lv_label_ins_text(gui->label_log, LV_LABEL_POS_LAST, gui->txt_buf);
|
lv_label_ins_text(gui->label_log, LV_LABEL_POS_LAST, gui->txt_buf);
|
||||||
manual_system_maintenance(true);
|
manual_system_maintenance(true);
|
||||||
|
@ -1235,7 +1235,7 @@ static int _restore_emmc_part(emmc_tool_gui_t *gui, char *sd_path, int active_pa
|
||||||
if (retryCount >= 3)
|
if (retryCount >= 3)
|
||||||
{
|
{
|
||||||
s_printf(gui->txt_buf, "#FF0000 Aborting...#\n"
|
s_printf(gui->txt_buf, "#FF0000 Aborting...#\n"
|
||||||
"#FF0000 Your device may be in an inoperative state!#\n"
|
"#FF0000 This device may be in an inoperative state!#\n"
|
||||||
"#FFDD00 Please try again now!#\n");
|
"#FFDD00 Please try again now!#\n");
|
||||||
lv_label_ins_text(gui->label_log, LV_LABEL_POS_LAST, gui->txt_buf);
|
lv_label_ins_text(gui->label_log, LV_LABEL_POS_LAST, gui->txt_buf);
|
||||||
manual_system_maintenance(true);
|
manual_system_maintenance(true);
|
||||||
|
@ -1328,7 +1328,7 @@ void restore_emmc_selected(emmcPartType_t restoreType, emmc_tool_gui_t *gui)
|
||||||
manual_system_maintenance(true);
|
manual_system_maintenance(true);
|
||||||
|
|
||||||
s_printf(txt_buf,
|
s_printf(txt_buf,
|
||||||
"#FFDD00 This may render your device inoperative!#\n\n"
|
"#FFDD00 This may render the device inoperative!#\n\n"
|
||||||
"#FFDD00 Are you really sure?#");
|
"#FFDD00 Are you really sure?#");
|
||||||
if ((restoreType & PART_BOOT) || (restoreType & PART_GP_ALL))
|
if ((restoreType & PART_BOOT) || (restoreType & PART_GP_ALL))
|
||||||
{
|
{
|
||||||
|
|
|
@ -766,7 +766,7 @@ static void nyx_sd_card_issues(void *param)
|
||||||
|
|
||||||
lv_mbox_set_text(mbox,
|
lv_mbox_set_text(mbox,
|
||||||
"#FF8000 SD Card Issues Check#\n\n"
|
"#FF8000 SD Card Issues Check#\n\n"
|
||||||
"#FFDD00 Your SD Card is initialized in 1-bit mode!#\n"
|
"#FFDD00 The SD Card is initialized in 1-bit mode!#\n"
|
||||||
"#FFDD00 This might mean detached or broken connector!#\n\n"
|
"#FFDD00 This might mean detached or broken connector!#\n\n"
|
||||||
"You might want to check\n#C7EA46 Console Info# -> #C7EA46 SD Card#");
|
"You might want to check\n#C7EA46 Console Info# -> #C7EA46 SD Card#");
|
||||||
|
|
||||||
|
@ -2007,7 +2007,7 @@ void nyx_check_ini_changes()
|
||||||
|
|
||||||
lv_mbox_set_text(mbox,
|
lv_mbox_set_text(mbox,
|
||||||
"#FF8000 Main configuration#\n\n"
|
"#FF8000 Main configuration#\n\n"
|
||||||
"You changed your configuration!\n\n"
|
"You changed the configuration!\n\n"
|
||||||
"Do you want to save it?");
|
"Do you want to save it?");
|
||||||
|
|
||||||
lv_mbox_add_btns(mbox, mbox_btn_map, _create_mbox_save_changes_action);
|
lv_mbox_add_btns(mbox, mbox_btn_map, _create_mbox_save_changes_action);
|
||||||
|
|
|
@ -333,15 +333,15 @@ lv_res_t create_window_backup_restore_tool(lv_obj_t *btn)
|
||||||
if (!emmc_btn_ctxt.restore)
|
if (!emmc_btn_ctxt.restore)
|
||||||
{
|
{
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to backup your BOOT physical partitions.\n"
|
"Allows you to backup the BOOT physical partitions.\n"
|
||||||
"They contain your BCT, keys and various package1.\n"
|
"They contain the BCT, keys and various package1.\n"
|
||||||
"#FF8000 These are paired with the RAW GPP backup.#");
|
"#FF8000 These are paired with the RAW GPP backup.#");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to restore your BOOT physical partitions.\n"
|
"Allows you to restore the BOOT physical partitions.\n"
|
||||||
"They contain your BCT, keys and various package1.\n"
|
"They contain the BCT, keys and various package1.\n"
|
||||||
"#FF8000 These are paired with the RAW GPP restore.#");
|
"#FF8000 These are paired with the RAW GPP restore.#");
|
||||||
}
|
}
|
||||||
lv_obj_set_style(label_txt2, &hint_small_style);
|
lv_obj_set_style(label_txt2, &hint_small_style);
|
||||||
|
@ -363,14 +363,14 @@ lv_res_t create_window_backup_restore_tool(lv_obj_t *btn)
|
||||||
if (!emmc_btn_ctxt.restore)
|
if (!emmc_btn_ctxt.restore)
|
||||||
{
|
{
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to backup your GPP physical partition.\n"
|
"Allows you to backup the GPP physical partition.\n"
|
||||||
"It contains, CAL0, various package2, SYSTEM, USER, etc.\n"
|
"It contains, CAL0, various package2, SYSTEM, USER, etc.\n"
|
||||||
"#FF8000 This is paired with the BOOT0/1 backups.#");
|
"#FF8000 This is paired with the BOOT0/1 backups.#");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to restore your GPP physical partition.\n"
|
"Allows you to restore the GPP physical partition.\n"
|
||||||
"It contains, CAL0, various package2, SYSTEM, USER, etc.\n"
|
"It contains, CAL0, various package2, SYSTEM, USER, etc.\n"
|
||||||
"#FF8000 This is paired with the BOOT0/1 restore.#");
|
"#FF8000 This is paired with the BOOT0/1 restore.#");
|
||||||
}
|
}
|
||||||
|
|
|
@ -272,7 +272,7 @@ static void _create_mbox_emummc_raw()
|
||||||
|
|
||||||
if (!mbr_ctx.available)
|
if (!mbr_ctx.available)
|
||||||
strcat(txt_buf,
|
strcat(txt_buf,
|
||||||
"\n#FF8000 Do you want to partition your SD card?#\n"
|
"\n#FF8000 Do you want to partition the SD card?#\n"
|
||||||
"#FF8000 (You will be asked on how to proceed)#");
|
"#FF8000 (You will be asked on how to proceed)#");
|
||||||
|
|
||||||
lv_mbox_set_text(mbox, txt_buf);
|
lv_mbox_set_text(mbox, txt_buf);
|
||||||
|
@ -345,7 +345,7 @@ static lv_res_t _create_mbox_emummc_create(lv_obj_t *btn)
|
||||||
lv_mbox_set_text(mbox,
|
lv_mbox_set_text(mbox,
|
||||||
"Welcome to #C7EA46 emuMMC# creation tool!\n\n"
|
"Welcome to #C7EA46 emuMMC# creation tool!\n\n"
|
||||||
"Please choose what type of emuMMC you want to create.\n"
|
"Please choose what type of emuMMC you want to create.\n"
|
||||||
"#FF8000 SD File# is saved as files in your FAT partition.\n"
|
"#FF8000 SD File# is saved as files in the FAT partition.\n"
|
||||||
"#FF8000 SD Partition# is saved as raw image in an available partition.");
|
"#FF8000 SD Partition# is saved as raw image in an available partition.");
|
||||||
|
|
||||||
lv_mbox_add_btns(mbox, mbox_btn_map, _create_emummc_action);
|
lv_mbox_add_btns(mbox, mbox_btn_map, _create_emummc_action);
|
||||||
|
|
|
@ -975,9 +975,9 @@ static lv_res_t _create_window_fuses_info_status(lv_obj_t *btn)
|
||||||
|
|
||||||
// Check if patched unit.
|
// Check if patched unit.
|
||||||
if (!fuse_check_patched_rcm())
|
if (!fuse_check_patched_rcm())
|
||||||
strcat(txt_buf, "\n\n#96FF00 Your unit is exploitable#\n#96FF00 to the RCM bug!#");
|
strcat(txt_buf, "\n\n#96FF00 This unit is exploitable#\n#96FF00 to the RCM bug!#");
|
||||||
else
|
else
|
||||||
strcat(txt_buf, "\n\n#FF8000 Your unit is patched#\n#FF8000 to the RCM bug!#");
|
strcat(txt_buf, "\n\n#FF8000 This unit is patched#\n#FF8000 to the RCM bug!#");
|
||||||
|
|
||||||
lv_label_set_text(lb_desc2, txt_buf);
|
lv_label_set_text(lb_desc2, txt_buf);
|
||||||
|
|
||||||
|
@ -2122,8 +2122,8 @@ void create_tab_info(lv_theme_t *th, lv_obj_t *parent)
|
||||||
lv_obj_t *label_txt4 = lv_label_create(h1, NULL);
|
lv_obj_t *label_txt4 = lv_label_create(h1, NULL);
|
||||||
lv_label_set_recolor(label_txt4, true);
|
lv_label_set_recolor(label_txt4, true);
|
||||||
lv_label_set_static_text(label_txt4,
|
lv_label_set_static_text(label_txt4,
|
||||||
"View and dump your cached #C7EA46 Fuses# and #C7EA46 KFuses#.\n"
|
"View and dump the cached #C7EA46 Fuses# and #C7EA46 KFuses#.\n"
|
||||||
"Fuses contain info about your SoC and device and KFuses contain HDCP.\n"
|
"Fuses contain info about the SoC/SKU and KFuses HDCP keys.\n"
|
||||||
"You can also see info about #C7EA46 DRAM#, #C7EA46 Screen# and #C7EA46 Touch panel#.");
|
"You can also see info about #C7EA46 DRAM#, #C7EA46 Screen# and #C7EA46 Touch panel#.");
|
||||||
lv_obj_set_style(label_txt4, &hint_small_style);
|
lv_obj_set_style(label_txt4, &hint_small_style);
|
||||||
lv_obj_align(label_txt4, btn3, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
lv_obj_align(label_txt4, btn3, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
||||||
|
@ -2172,7 +2172,7 @@ void create_tab_info(lv_theme_t *th, lv_obj_t *parent)
|
||||||
lv_obj_t *label_txt5 = lv_label_create(h2, NULL);
|
lv_obj_t *label_txt5 = lv_label_create(h2, NULL);
|
||||||
lv_label_set_recolor(label_txt5, true);
|
lv_label_set_recolor(label_txt5, true);
|
||||||
lv_label_set_static_text(label_txt5,
|
lv_label_set_static_text(label_txt5,
|
||||||
"View info about your eMMC or microSD and their partition list.\n"
|
"View info about the eMMC or microSD and their partition list.\n"
|
||||||
"Additionally you can benchmark read speeds.");
|
"Additionally you can benchmark read speeds.");
|
||||||
lv_obj_set_style(label_txt5, &hint_small_style);
|
lv_obj_set_style(label_txt5, &hint_small_style);
|
||||||
lv_obj_align(label_txt5, btn5, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
lv_obj_align(label_txt5, btn5, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
||||||
|
|
|
@ -927,7 +927,7 @@ static void _check_nyx_changes()
|
||||||
|
|
||||||
lv_mbox_set_text(mbox,
|
lv_mbox_set_text(mbox,
|
||||||
"#FF8000 Nyx configuration#\n\n"
|
"#FF8000 Nyx configuration#\n\n"
|
||||||
"You changed your configuration!\n\n"
|
"You changed the configuration!\n\n"
|
||||||
"Do you want to save it?");
|
"Do you want to save it?");
|
||||||
|
|
||||||
lv_mbox_add_btns(mbox, mbox_btn_map, _action_nyx_options_save);
|
lv_mbox_add_btns(mbox, mbox_btn_map, _action_nyx_options_save);
|
||||||
|
|
|
@ -691,7 +691,7 @@ static lv_res_t _create_window_usb_tools(lv_obj_t *parent)
|
||||||
lv_obj_t *label_txt2 = lv_label_create(h1, NULL);
|
lv_obj_t *label_txt2 = lv_label_create(h1, NULL);
|
||||||
lv_label_set_recolor(label_txt2, true);
|
lv_label_set_recolor(label_txt2, true);
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to mount your SD Card to a PC/Phone.\n"
|
"Allows you to mount the SD Card to a PC/Phone.\n"
|
||||||
"#C7EA46 All operating systems are supported. Access is# #FF8000 Read/Write.#");
|
"#C7EA46 All operating systems are supported. Access is# #FF8000 Read/Write.#");
|
||||||
|
|
||||||
lv_obj_set_style(label_txt2, &hint_small_style);
|
lv_obj_set_style(label_txt2, &hint_small_style);
|
||||||
|
@ -737,7 +737,7 @@ static lv_res_t _create_window_usb_tools(lv_obj_t *parent)
|
||||||
label_txt2 = lv_label_create(h1, NULL);
|
label_txt2 = lv_label_create(h1, NULL);
|
||||||
lv_label_set_recolor(label_txt2, true);
|
lv_label_set_recolor(label_txt2, true);
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to mount your eMMC/emuMMC.\n"
|
"Allows you to mount the eMMC/emuMMC.\n"
|
||||||
"#C7EA46 Default access is# #FF8000 read-only.#");
|
"#C7EA46 Default access is# #FF8000 read-only.#");
|
||||||
lv_obj_set_style(label_txt2, &hint_small_style);
|
lv_obj_set_style(label_txt2, &hint_small_style);
|
||||||
lv_obj_align(label_txt2, btn_emu_gpp, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
lv_obj_align(label_txt2, btn_emu_gpp, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
||||||
|
@ -788,8 +788,8 @@ static lv_res_t _create_window_usb_tools(lv_obj_t *parent)
|
||||||
lv_obj_t *label_txt4 = lv_label_create(h2, NULL);
|
lv_obj_t *label_txt4 = lv_label_create(h2, NULL);
|
||||||
lv_label_set_recolor(label_txt4, true);
|
lv_label_set_recolor(label_txt4, true);
|
||||||
lv_label_set_static_text(label_txt4,
|
lv_label_set_static_text(label_txt4,
|
||||||
"Plug-in your Joy-Con and convert your device\n"
|
"Plug-in the Joy-Con and convert the device\n"
|
||||||
"into a gamepad for your PC/Phone.\n"
|
"into a gamepad for PC or Phone.\n"
|
||||||
"#C7EA46 Needs both Joy-Con in order to function.#");
|
"#C7EA46 Needs both Joy-Con in order to function.#");
|
||||||
|
|
||||||
lv_obj_set_style(label_txt4, &hint_small_style);
|
lv_obj_set_style(label_txt4, &hint_small_style);
|
||||||
|
@ -806,7 +806,7 @@ static lv_res_t _create_window_usb_tools(lv_obj_t *parent)
|
||||||
label_txt4 = lv_label_create(h2, NULL);
|
label_txt4 = lv_label_create(h2, NULL);
|
||||||
lv_label_set_recolor(label_txt4, true);
|
lv_label_set_recolor(label_txt4, true);
|
||||||
lv_label_set_static_text(label_txt4,
|
lv_label_set_static_text(label_txt4,
|
||||||
"Control your PC via your device touchscreen.\n"
|
"Control the PC via the device\'s touchscreen.\n"
|
||||||
"#C7EA46 Two fingers tap acts like a# #FF8000 Right click##C7EA46 .#\n");
|
"#C7EA46 Two fingers tap acts like a# #FF8000 Right click##C7EA46 .#\n");
|
||||||
lv_obj_set_style(label_txt4, &hint_small_style);
|
lv_obj_set_style(label_txt4, &hint_small_style);
|
||||||
lv_obj_align(label_txt4, btn4, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
lv_obj_align(label_txt4, btn4, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
||||||
|
@ -1463,8 +1463,8 @@ static void _create_tab_tools_emmc_pkg12(lv_theme_t *th, lv_obj_t *parent)
|
||||||
lv_obj_t *label_txt2 = lv_label_create(h1, NULL);
|
lv_obj_t *label_txt2 = lv_label_create(h1, NULL);
|
||||||
lv_label_set_recolor(label_txt2, true);
|
lv_label_set_recolor(label_txt2, true);
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to backup your eMMC partitions individually or as\n"
|
"Allows you to backup the eMMC partitions individually or as\n"
|
||||||
"a whole raw image to your SD card.\n"
|
"a whole raw image to the SD card.\n"
|
||||||
"#C7EA46 Supports SD cards from# #FF8000 4GB# #C7EA46 and up. #"
|
"#C7EA46 Supports SD cards from# #FF8000 4GB# #C7EA46 and up. #"
|
||||||
"#FF8000 FAT32# #C7EA46 and ##FF8000 exFAT##C7EA46 .#");
|
"#FF8000 FAT32# #C7EA46 and ##FF8000 exFAT##C7EA46 .#");
|
||||||
lv_obj_set_style(label_txt2, &hint_small_style);
|
lv_obj_set_style(label_txt2, &hint_small_style);
|
||||||
|
@ -1480,8 +1480,8 @@ static void _create_tab_tools_emmc_pkg12(lv_theme_t *th, lv_obj_t *parent)
|
||||||
label_txt2 = lv_label_create(h1, NULL);
|
label_txt2 = lv_label_create(h1, NULL);
|
||||||
lv_label_set_recolor(label_txt2, true);
|
lv_label_set_recolor(label_txt2, true);
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to restore your eMMC/emuMMC partitions individually\n"
|
"Allows you to restore the eMMC/emuMMC partitions individually\n"
|
||||||
"or as a whole raw image from your SD card.\n"
|
"or as a whole raw image from the SD card.\n"
|
||||||
"#C7EA46 Supports SD cards from# #FF8000 4GB# #C7EA46 and up. #"
|
"#C7EA46 Supports SD cards from# #FF8000 4GB# #C7EA46 and up. #"
|
||||||
"#FF8000 FAT32# #C7EA46 and ##FF8000 exFAT##C7EA46 .#");
|
"#FF8000 FAT32# #C7EA46 and ##FF8000 exFAT##C7EA46 .#");
|
||||||
lv_obj_set_style(label_txt2, &hint_small_style);
|
lv_obj_set_style(label_txt2, &hint_small_style);
|
||||||
|
@ -1539,7 +1539,7 @@ static void _create_tab_tools_emmc_pkg12(lv_theme_t *th, lv_obj_t *parent)
|
||||||
lv_label_set_static_text(label_txt4,
|
lv_label_set_static_text(label_txt4,
|
||||||
"#C7EA46 USB mass storage#, #C7EA46 gamepad# and other USB tools.\n"
|
"#C7EA46 USB mass storage#, #C7EA46 gamepad# and other USB tools.\n"
|
||||||
"Mass storage can mount SD, eMMC and emuMMC. The\n"
|
"Mass storage can mount SD, eMMC and emuMMC. The\n"
|
||||||
"gamepad transforms your Switch into an input device.#");
|
"gamepad transforms the Switch into an input device.#");
|
||||||
lv_obj_set_style(label_txt4, &hint_small_style);
|
lv_obj_set_style(label_txt4, &hint_small_style);
|
||||||
lv_obj_align(label_txt4, btn4, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
lv_obj_align(label_txt4, btn4, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
||||||
}
|
}
|
||||||
|
@ -1598,7 +1598,7 @@ static void _create_tab_tools_arc_autorcm(lv_theme_t *th, lv_obj_t *parent)
|
||||||
label_txt2 = lv_label_create(h1, NULL);
|
label_txt2 = lv_label_create(h1, NULL);
|
||||||
lv_label_set_recolor(label_txt2, true);
|
lv_label_set_recolor(label_txt2, true);
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to calibrate your touchscreen module.\n"
|
"Allows you to calibrate the touchscreen module.\n"
|
||||||
"#FF8000 This fixes any issues with touchscreen in Nyx and HOS.#");
|
"#FF8000 This fixes any issues with touchscreen in Nyx and HOS.#");
|
||||||
lv_obj_set_style(label_txt2, &hint_small_style);
|
lv_obj_set_style(label_txt2, &hint_small_style);
|
||||||
lv_obj_align(label_txt2, btn2, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
lv_obj_align(label_txt2, btn2, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
||||||
|
@ -1653,7 +1653,7 @@ static void _create_tab_tools_arc_autorcm(lv_theme_t *th, lv_obj_t *parent)
|
||||||
s_printf(txt_buf,
|
s_printf(txt_buf,
|
||||||
"Allows you to enter RCM without using #C7EA46 VOL+# & #C7EA46 HOME# (jig).\n"
|
"Allows you to enter RCM without using #C7EA46 VOL+# & #C7EA46 HOME# (jig).\n"
|
||||||
"#FF8000 It can restore all versions of AutoRCM whenever requested.#\n"
|
"#FF8000 It can restore all versions of AutoRCM whenever requested.#\n"
|
||||||
"#FF3C28 This corrupts your BCT and you can't boot without a custom#\n"
|
"#FF3C28 This corrupts the BCT and you can't boot without a custom#\n"
|
||||||
"#FF3C28 bootloader.#");
|
"#FF3C28 bootloader.#");
|
||||||
|
|
||||||
if (h_cfg.rcm_patched)
|
if (h_cfg.rcm_patched)
|
||||||
|
@ -1681,7 +1681,7 @@ static void _create_tab_tools_arc_autorcm(lv_theme_t *th, lv_obj_t *parent)
|
||||||
label_txt2 = lv_label_create(h2, NULL);
|
label_txt2 = lv_label_create(h2, NULL);
|
||||||
lv_label_set_recolor(label_txt2, true);
|
lv_label_set_recolor(label_txt2, true);
|
||||||
lv_label_set_static_text(label_txt2,
|
lv_label_set_static_text(label_txt2,
|
||||||
"Allows you to partition your SD Card for using it with #C7EA46 emuMMC#,\n"
|
"Allows you to partition the SD Card for using it with #C7EA46 emuMMC#,\n"
|
||||||
"#C7EA46 Android# and #C7EA46 Linux#. You can also flash Linux and Android.");
|
"#C7EA46 Android# and #C7EA46 Linux#. You can also flash Linux and Android.");
|
||||||
lv_obj_set_style(label_txt2, &hint_small_style);
|
lv_obj_set_style(label_txt2, &hint_small_style);
|
||||||
lv_obj_align(label_txt2, btn4, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
lv_obj_align(label_txt2, btn4, LV_ALIGN_OUT_BOTTOM_LEFT, 0, LV_DPI / 3);
|
||||||
|
|
|
@ -1625,7 +1625,7 @@ static lv_res_t _create_mbox_partitioning_next(lv_obj_t *btn)
|
||||||
lv_obj_t *lbl_status = lv_label_create(mbox, NULL);
|
lv_obj_t *lbl_status = lv_label_create(mbox, NULL);
|
||||||
lv_label_set_recolor(lbl_status, true);
|
lv_label_set_recolor(lbl_status, true);
|
||||||
|
|
||||||
s_printf(txt_buf, "#FFDD00 Warning: This will partition your SD Card!#\n\n");
|
s_printf(txt_buf, "#FFDD00 Warning: This will partition the SD Card!#\n\n");
|
||||||
|
|
||||||
if (part_info.backup_possible)
|
if (part_info.backup_possible)
|
||||||
strcat(txt_buf, "#C7EA46 Your files will be backed up and restored!#\n#FFDD00Any other partition will be wiped!#");
|
strcat(txt_buf, "#C7EA46 Your files will be backed up and restored!#\n#FFDD00Any other partition will be wiped!#");
|
||||||
|
@ -1875,7 +1875,7 @@ static void create_mbox_check_files_total_size()
|
||||||
if (part_info.backup_possible)
|
if (part_info.backup_possible)
|
||||||
{
|
{
|
||||||
s_printf(txt_buf,
|
s_printf(txt_buf,
|
||||||
"#96FF00 Your SD Card files will be backed up automatically!#\n"
|
"#96FF00 The SD Card files will be backed up automatically!#\n"
|
||||||
"#FFDD00 Any other partition will be wiped!#\n"
|
"#FFDD00 Any other partition will be wiped!#\n"
|
||||||
"#00DDFF Total files:# %d, #00DDFF Total size:# %d MiB", total_files, total_size >> 20);
|
"#00DDFF Total files:# %d, #00DDFF Total size:# %d MiB", total_files, total_size >> 20);
|
||||||
lv_mbox_set_text(mbox, txt_buf);
|
lv_mbox_set_text(mbox, txt_buf);
|
||||||
|
@ -1883,7 +1883,7 @@ static void create_mbox_check_files_total_size()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
lv_mbox_set_text(mbox,
|
lv_mbox_set_text(mbox,
|
||||||
"#FFDD00 Your SD Card cannot be backed up!#\n\n"
|
"#FFDD00 The SD Card cannot be backed up!#\n\n"
|
||||||
"You will be asked to back up your files later via UMS.");
|
"You will be asked to back up your files later via UMS.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue