From 395b2e7cd30ffb95f35b179345b06f27e8c63a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 26 Sep 2016 14:30:23 +0200 Subject: [PATCH] Version 16.2.9 --- swad_account.c | 6 ++++-- swad_changelog.h | 4 +++- swad_text.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 3 deletions(-) diff --git a/swad_account.c b/swad_account.c index c85d765f6..6cb729221 100644 --- a/swad_account.c +++ b/swad_account.c @@ -160,6 +160,8 @@ static void Acc_ShowFormCheckIfIHaveAccount (const char *Title) void Acc_CheckIfEmptyAccountExists (void) { + extern const char *Txt_Do_you_think_you_are_this_user; + extern const char *Txt_Do_you_think_you_are_one_of_these_users; 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]; @@ -197,8 +199,8 @@ void Acc_CheckIfEmptyAccountExists (void) if (NumUsrs) { /***** Start frame and write message with number of accounts found *****/ - Lay_StartRoundFrameTable (NULL,5,(NumUsrs == 1) ? "¿Cree que usted es este usuario/a?" : // TODO: Need translation!!! - "¿Cree que usted es uno de estos usuarios?"); // TODO: Need translation!!! + Lay_StartRoundFrameTable (NULL,5,(NumUsrs == 1) ? Txt_Do_you_think_you_are_this_user : + Txt_Do_you_think_you_are_one_of_these_users); /***** Initialize structure with user's data *****/ Usr_UsrDataConstructor (&UsrDat); diff --git a/swad_changelog.h b/swad_changelog.h index 58ab30e54..e241db538 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -142,13 +142,15 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.2.7 (2016-09-26)" +#define Log_PLATFORM_VERSION "SWAD 16.2.9 (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.9: Sep 26, 2016 Message translated. (205115 lines) + Version 16.2.8: Sep 26, 2016 Message translated. (205093 lines) Version 16.2.7: Sep 26, 2016 Message translated. (205071 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) diff --git a/swad_text.c b/swad_text.c index 1cfa985a8..e902c23b3 100644 --- a/swad_text.c +++ b/swad_text.c @@ -9253,6 +9253,48 @@ const char *Txt_Do_you_really_want_to_reset_the_survey_X = // Warning: it is ver "Você realmente deseja reiniciar o inquérito %s?"; #endif +const char *Txt_Do_you_think_you_are_one_of_these_users = +#if L==1 + "Creu que vostè és un d'aquests usuaris?"; +#elif L==2 + "Denken Sie, Sie einer dieser Benutzer sind?"; +#elif L==3 + "Do you think you are one of these users?"; +#elif L==4 + "¿Cree que usted es uno de estos usuarios?"; +#elif L==5 + "Pensez-vous que vous êtes un de ces utilisateurs?"; +#elif L==6 + "¿Cree que usted es uno de estos usuarios?"; // Okoteve traducción +#elif L==7 + "Pensi che sei uno di questi utenti?"; +#elif L==8 + "Myślisz, że jesteś jednym z tych użytkowników?"; +#elif L==9 + "Você acha que você é um desses usuários?"; +#endif + +const char *Txt_Do_you_think_you_are_this_user = +#if L==1 + "Creu que vostè és aquest usuari?"; +#elif L==2 + "Denken Sie, Sie dieser Benutzer?"; +#elif L==3 + "Do you think you are this user?"; +#elif L==4 + "¿Cree que usted es este usuario/a?"; +#elif L==5 + "Pensez-vous que vous êtes cet utilisateur?"; +#elif L==6 + "¿Cree que usted es este usuario/a?"; // Okoteve traducción +#elif L==7 + "Pensi che sei questo utente?"; +#elif L==8 + "Czy uważasz, że ta osoba?"; +#elif L==9 + "Você acha que você é deste usuário?"; +#endif + const char *Txt_Do_you_want_to_confirm_the_ID_X = // Warning: it is very important to include %s in the following sentences #if L==1 "Voleu confirmar l'ID (DNI/cèdula) %s?";