diff --git a/swad_account.c b/swad_account.c
index 21baa2a56..3f9783e0f 100644
--- a/swad_account.c
+++ b/swad_account.c
@@ -107,11 +107,13 @@ void Acc_PutLinkToCreateAccount (void)
void Acc_ShowFormAccount (void)
{
+ extern const char *Txt_Before_creating_a_new_account_check_if_you_have_been_already_registered_with_your_ID;
+
if (Gbl.Usrs.Me.Logged)
Acc_ShowFormChangeMyAccount ();
- else
+ else // Not logged
{
- /* Links to log in and to change language */
+ /***** Links to other actions *****/
fprintf (Gbl.F.Out,"
");
/**** Show form to check if I have an account *****/
- Acc_ShowFormCheckIfIHaveAccount ("Antes de crear una cuenta nueva"
- " compruebe si ya le han inscrito con su ID"); // TODO: Need translation!!!
+ Acc_ShowFormCheckIfIHaveAccount (Txt_Before_creating_a_new_account_check_if_you_have_been_already_registered_with_your_ID);
}
}
@@ -159,6 +160,7 @@ static void Acc_ShowFormCheckIfIHaveAccount (const char *Title)
void Acc_CheckIfEmptyAccountExists (void)
{
extern const char *Txt_Name;
+ extern const char *Txt_Before_creating_a_new_account_check_if_you_have_been_already_registered_with_your_ID;
char ID[ID_MAX_LENGTH_USR_ID+1];
unsigned NumUsrs;
unsigned NumUsr;
@@ -281,8 +283,7 @@ void Acc_CheckIfEmptyAccountExists (void)
/**** Show again form to check if I have an account *****/
Lay_ShowAlert (Lay_WARNING,"Escriba su ID (DNI/cédula…).");
- Acc_ShowFormCheckIfIHaveAccount ("Antes de crear una cuenta nueva"
- " compruebe si ya le han inscrito con su ID"); // TODO: Need translation!!!
+ Acc_ShowFormCheckIfIHaveAccount (Txt_Before_creating_a_new_account_check_if_you_have_been_already_registered_with_your_ID);
}
}
diff --git a/swad_changelog.h b/swad_changelog.h
index 6ee4ae32a..184a8bf73 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -142,14 +142,15 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
-#define Log_PLATFORM_VERSION "SWAD 16.2.5 (2016-09-26)"
+#define Log_PLATFORM_VERSION "SWAD 16.2.6 (2016-09-26)"
#define CSS_FILE "swad15.229.css"
#define JS_FILE "swad15.238.1.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
/*
- Version 16.2.5: Sep 26, 2016 Check if an account already exists. Not finished. (205019 lines)
+ Version 16.2.6: Sep 26, 2016 Message translated. (205049 lines)
+ Version 16.2.5: Sep 26, 2016 Check if an account already exists. (205019 lines)
Version 16.2.4: Sep 22, 2016 Check if an account already exists. Not finished. (205016 lines)
Version 16.2.3: Sep 22, 2016 Check if an account already exists. Not finished. (204984 lines)
Version 16.2.2: Sep 22, 2016 Fixed bug in photo visibility. (204951 lines)
diff --git a/swad_text.c b/swad_text.c
index 84e972370..7b8985dfe 100644
--- a/swad_text.c
+++ b/swad_text.c
@@ -3564,6 +3564,36 @@ const char *Txt_Banners =
"Banners";
#endif
+const char *Txt_Before_creating_a_new_account_check_if_you_have_been_already_registered_with_your_ID =
+#if L==1
+ "Abans de crear un compte nou,"
+ " comprovi si ja li han inscrit amb el seu ID";
+#elif L==2
+ "Bevor ein neues Konto erstellen,"
+ " wenn Sie bereits mit Ihrer ID registriert worden sind";
+#elif L==3
+ "Before creating a new account,"
+ " check if you have been already registered with your ID";
+#elif L==4
+ "Antes de crear una cuenta nueva,"
+ " compruebe si ya le han inscrito con su ID";
+#elif L==5
+ "Avant de créer un nouveau compte,"
+ " vérifiez si vous avez déjà enregistré avec votre ID";
+#elif L==6
+ "Antes de crear una cuenta nueva,"
+ " compruebe si ya le han inscrito con su ID"; // Okoteve traducción
+#elif L==7
+ "Prima di creare un nuovo account,"
+ " controllare se sono stati già registrato con il tuo ID";
+#elif L==8
+ "Przed utworzeniem nowego konta,"
+ " należy sprawdzić, czy został on już zarejestrowany z identyfikatorem";
+#elif L==9
+ "Antes de criar uma nova conta,"
+ " verifique se você já foi registrado com o seu ID";
+#endif
+
const char *Txt_Before_going_to_any_other_option_you_must_fill_your_nickname =
#if L==1
"Abans d'accedir a qualsevol altra opció"