From 4c49a843cc25229c74c40a34bb2e6e178b1b3e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 7 Apr 2016 13:06:06 +0200 Subject: [PATCH] Version 15.185.2 --- swad_changelog.h | 3 ++- swad_test.c | 6 +++--- swad_text.c | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 933d0d22c..36d5c7af7 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -132,13 +132,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.185.1 (2016-04-07)" +#define Log_PLATFORM_VERSION "SWAD 15.185.2 (2016-04-07)" #define CSS_FILE "swad15.184.7.css" #define JS_FILE "swad15.184.8.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 15.185.2: Apr 07, 2016 Change in title of take a test. (198797 lines) Version 15.185.1: Apr 07, 2016 Change in title of edition of test questions. (198776 lines) Version 15.185: Apr 07, 2016 Fixed bugs in edition of test questions. (198755 lines) Version 15.184.8: Apr 07, 2016 Change in edition of a test question. (198708 lines) diff --git a/swad_test.c b/swad_test.c index 97f3e020a..47bc2a82d 100644 --- a/swad_test.c +++ b/swad_test.c @@ -279,7 +279,7 @@ static void Tst_GetExamQuestionsFromDB (long TstCod); void Tst_ShowFormAskTst (void) { extern const char *The_ClassForm[The_NUM_THEMES]; - extern const char *Txt_Test; + extern const char *Txt_Take_a_test; extern const char *Txt_No_of_questions; extern const char *Txt_Generate_exam; extern const char *Txt_No_test_questions; @@ -302,8 +302,8 @@ void Tst_ShowFormAskTst (void) } /***** Start frame *****/ - Lay_StartRoundFrame (NULL,Txt_Test,ICanEdit ? Tst_PutIconToEdit : - NULL); + Lay_StartRoundFrame (NULL,Txt_Take_a_test,ICanEdit ? Tst_PutIconToEdit : + NULL); /***** Get tags *****/ if ((NumRows = Tst_GetEnabledTagsFromThisCrs (&mysql_res)) != 0) diff --git a/swad_text.c b/swad_text.c index 8f3dc2f10..87c0ee6fc 100644 --- a/swad_text.c +++ b/swad_text.c @@ -40241,6 +40241,27 @@ const char *Txt_Tags = // Tags used in test "Descritores"; #endif +const char *Txt_Take_a_test = +#if L==1 + "Fer un test"; +#elif L==2 + "Führen Sie einen Test"; +#elif L==3 + "Take a test"; +#elif L==4 + "Hacer un test"; +#elif L==5 + "Passer un test"; +#elif L==6 + "Hacer un test"; // Okoteve traducción +#elif L==7 + "Fare un test"; +#elif L==8 + "Zrób test"; +#elif L==9 + "Fazer um teste"; +#endif + const char *Txt_Teachers_ABBREVIATION = // Abbreviation of "Teachers" #if L==1 "Prof.";