diff --git a/arm9/source/pin.c b/arm9/source/pin.c index a2cf2e2b..3c2a14da 100644 --- a/arm9/source/pin.c +++ b/arm9/source/pin.c @@ -54,10 +54,10 @@ void newPin(bool allowSkipping, u32 pinMode) u8 length = 4 + 2 * (pinMode - 1); - drawString(true, 10, 10, COLOR_TITLE, "Enter a new PIN using ABXY and the DPad"); - drawString(true, 10, 10 + SPACING_Y, COLOR_TITLE, allowSkipping ? "Press START to skip, SELECT to reset" : "Press SELECT to reset"); + drawString(true, 10, 10, COLOR_TITLE, "Inserisci un nuovo PIN usando ABXY e il DPAD"); + drawString(true, 10, 10 + SPACING_Y, COLOR_TITLE, allowSkipping ? "Premi START per saltare, SELECT per resettare" : "Premi SELECT per resettare"); - drawFormattedString(true, 10, 10 + 3 * SPACING_Y, COLOR_WHITE, "PIN (%u digits): ", length); + drawFormattedString(true, 10, 10 + 3 * SPACING_Y, COLOR_WHITE, "PIN (%u cifre): ", length); //Pad to AES block length with zeroes __attribute__((aligned(4))) u8 enteredPassword[AES_BLOCK_SIZE] = {0}; @@ -122,7 +122,7 @@ void newPin(bool allowSkipping, u32 pinMode) memcpy(pin.hash, tmp, sizeof(tmp)); if(!fileWrite(&pin, PIN_FILE, sizeof(PinData))) - error("Error writing the PIN file"); + error("Errore nella scrittura del file PIN"); } bool verifyPin(u32 pinMode) @@ -148,10 +148,10 @@ bool verifyPin(u32 pinMode) swapFramebuffers(true); - drawString(true, 10, 10, COLOR_TITLE, "Enter the PIN using ABXY and the DPad to proceed"); - drawString(true, 10, 10 + SPACING_Y, COLOR_TITLE, "Press START to shutdown, SELECT to clear"); + drawString(true, 10, 10, COLOR_TITLE, "Inserisci il PIN usando ABXY e il DPad per procedere"); + drawString(true, 10, 10 + SPACING_Y, COLOR_TITLE, "Premi START per spegnere, SELECT per cancellare"); - drawFormattedString(true, 10, 10 + 3 * SPACING_Y, COLOR_WHITE, "PIN (%u digits): ", lengthBlock[0]); + drawFormattedString(true, 10, 10 + 3 * SPACING_Y, COLOR_WHITE, "PIN (%u cifre): ", lengthBlock[0]); bool isBottomSplashValid = getFileSize("splashpin.bin") == SCREEN_BOTTOM_FBSIZE; if(isBottomSplashValid) @@ -225,7 +225,7 @@ bool verifyPin(u32 pinMode) { reset = true; - drawString(true, 10, 10 + 5 * SPACING_Y, COLOR_RED, "Wrong PIN, try again"); + drawString(true, 10, 10 + 5 * SPACING_Y, COLOR_RED, "Il PIN รจ sbagliato, riprova"); } }