Skip to content

Commit

Permalink
start working on it. Translation 2.0 commit 17 (i guess but idk)
Browse files Browse the repository at this point in the history
Signed-off-by: Simo <[email protected]>
  • Loading branch information
Simo3ds authored Dec 21, 2023
1 parent 3b03078 commit 0d362ca
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions sysmodules/rosalina/source/menus/quick_switchers.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ static char g_menuDisplay[NO_OF_SWITCHABLES][266];
u32 entryCount = 0;

Menu quickSwitchersMenu = {
"Quick-Switchers menu",
"Menu Scambio rapido",
{
{ g_switchables[0].menuText, METHOD, .method = &QuickSwitchers_TwlBg},
{ g_switchables[1].menuText, METHOD, .method = &QuickSwitchers_Widescreen},
{ g_switchables[2].menuText, METHOD, .method = &QuickSwitchers_AgbBg},
{ g_switchables[3].menuText, METHOD, .method = &QuickSwitchers_OpenAgb},
{ "Revert TWL widescreen", METHOD, .method = &QuickSwitchers_RevertWidescreen},
{ "Ripristina lo schermo largo TWL", METHOD, .method = &QuickSwitchers_RevertWidescreen},
{},
}
};
Expand Down Expand Up @@ -90,9 +90,9 @@ void QuickSwitchers_DisplayFiles(void)
do
{
Draw_Lock();
Draw_DrawFormattedString(10, 10, COLOR_TITLE, "%s Quick-Switcher - by Nutez", g_switchables[g_switchablesIndex].menuText);
Draw_DrawFormattedString(10, 10, COLOR_TITLE, "%s Scambio Rapido - di Nutez", g_switchables[g_switchablesIndex].menuText);

Draw_DrawFormattedString(10, 30, COLOR_WHITE, "No files found");
Draw_DrawFormattedString(10, 30, COLOR_WHITE, "Nessun file trovato");

Draw_FlushFramebuffer();
Draw_Unlock();
Expand All @@ -111,7 +111,7 @@ void QuickSwitchers_DisplayFiles(void)
}
if (R_SUCCEEDED(r))
{
Draw_DrawFormattedString(10, 10, COLOR_TITLE, "%s Quick-Switcher - by Nutez", g_switchables[g_switchablesIndex].menuText);
Draw_DrawFormattedString(10, 10, COLOR_TITLE, "%s Scambio rapido - di Nutez", g_switchables[g_switchablesIndex].menuText);

for (u32 i = 0; i < entryCount; i++)
{
Expand All @@ -123,7 +123,7 @@ void QuickSwitchers_DisplayFiles(void)
}
else
{
Draw_DrawFormattedString(10, 10, COLOR_TITLE, "ERROR: %08lx", r);
Draw_DrawFormattedString(10, 10, COLOR_TITLE, "ERRORE: %08lx", r);
}
Draw_FlushFramebuffer();
Draw_Unlock();
Expand Down Expand Up @@ -286,7 +286,7 @@ void QuickSwitchers_UpdateStatus(void)
}
else
{
sprintf(g_menuDisplay[g_switchablesIndex], "%s: %s", g_switchables[g_switchablesIndex].menuText, "unknown");
sprintf(g_menuDisplay[g_switchablesIndex], "%s: %s", g_switchables[g_switchablesIndex].menuText, "sconosciuto");
quickSwitchersMenu.items[g_switchablesIndex].title = g_menuDisplay[g_switchablesIndex];
}
}
Expand Down Expand Up @@ -318,17 +318,17 @@ void QuickSwitchers_RevertWidescreen(void)
{
if(R_SUCCEEDED(FSUSER_RenameFile(sdmcArchive, fsMakePath(PATH_ASCII, twlbgBakPath), sdmcArchive, fsMakePath(PATH_ASCII, twlbgPath)))) // renames chosen file to the required name for external programme
{
item->title = "Revert TWL widescreen: [Succeeded]";
item->title = "Ripristina lo schermo largo TWL: [Successo]";
}
else
{
FSUSER_RenameFile(sdmcArchive, fsMakePath(PATH_ASCII, widescreenPath), sdmcArchive, fsMakePath(PATH_ASCII, twlbgPath));
item->title = "Revert TWL widescreen: [Unneeded]";
item->title = "Ripristina lo schermo largo TWL: [Non necessario]";
}
}
else
{
item->title = "Revert TWL widescreen: [Unneeded]";
item->title = "Ripristina lo schermo largo TWL: [Non necessario]";
}

FSUSER_CloseArchive(sdmcArchive);
Expand Down

0 comments on commit 0d362ca

Please sign in to comment.