mirror of https://github.com/acanas/swad-core.git
Version 22.107.8: May 07, 2023 Changes in edition of exam set.
This commit is contained in:
parent
6e5a3456e3
commit
7af9b8bc58
|
@ -629,10 +629,11 @@ TODO: Emilce Barrera Mesa: Podr
|
|||
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
|
||||
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.107.7 (2023-05-06)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.107.8 (2023-05-07)"
|
||||
#define CSS_FILE "swad22.107.css"
|
||||
#define JS_FILE "swad22.49.js"
|
||||
/*
|
||||
Version 22.107.8: May 07, 2023 Changes in edition of exam set. (338031 lines)
|
||||
Version 22.107.7: May 06, 2023 Changes in edition of game. (338025 lines)
|
||||
Version 22.107.6: May 06, 2023 Code refactoring in edition of exam. (338023 lines)
|
||||
Version 22.107.5: May 06, 2023 Changes in edition of rubric. (338027 lines)
|
||||
|
|
|
@ -180,62 +180,69 @@ static void ExaSet_PutFormNewSet (struct Exa_Exams *Exams,
|
|||
struct ExaSet_Set *Set,
|
||||
unsigned MaxSetInd)
|
||||
{
|
||||
extern const char *Txt_Create_set_of_questions;
|
||||
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
|
||||
extern const char *Txt_Create;
|
||||
|
||||
/***** Begin form *****/
|
||||
Frm_BeginForm (ActNewExaSet);
|
||||
Exa_PutPars (Exams);
|
||||
/***** Begin fieldset *****/
|
||||
HTM_FIELDSET_Begin (NULL);
|
||||
HTM_LEGEND (Txt_Actions[ActNewExaSet]);
|
||||
|
||||
/***** Begin box and table *****/
|
||||
Box_BoxTableBegin (NULL,NULL,
|
||||
NULL,NULL,
|
||||
NULL,Box_NOT_CLOSABLE,2);
|
||||
/***** Begin form *****/
|
||||
Frm_BeginForm (ActNewExaSet);
|
||||
Exa_PutPars (Exams);
|
||||
|
||||
/***** Table heading *****/
|
||||
ExaSet_PutTableHeadingForSets ();
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Begin row *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
/***** Table heading *****/
|
||||
ExaSet_PutTableHeadingForSets ();
|
||||
|
||||
/***** Empty column for buttons *****/
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_End ();
|
||||
/***** Begin row *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
/***** Index *****/
|
||||
HTM_TD_Begin ("class=\"RM\"");
|
||||
Lay_WriteIndex (MaxSetInd + 1,"BIG_INDEX");
|
||||
HTM_TD_End ();
|
||||
/***** Empty column for buttons *****/
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_End ();
|
||||
|
||||
/***** Title *****/
|
||||
HTM_TD_Begin ("class=\"LM\"");
|
||||
HTM_INPUT_TEXT ("Title",ExaSet_MAX_CHARS_TITLE,Set->Title,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"id=\"Title\""
|
||||
" class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
/***** Index *****/
|
||||
HTM_TD_Begin ("class=\"RM\"");
|
||||
Lay_WriteIndex (MaxSetInd + 1,"BIG_INDEX");
|
||||
HTM_TD_End ();
|
||||
|
||||
/***** Current number of questions in set *****/
|
||||
HTM_TD_Begin ("class=\"RM\"");
|
||||
HTM_Unsigned (0); // New set ==> no questions yet
|
||||
HTM_TD_End ();
|
||||
/***** Title *****/
|
||||
HTM_TD_Begin ("class=\"LM\"");
|
||||
HTM_INPUT_TEXT ("Title",ExaSet_MAX_CHARS_TITLE,Set->Title,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"id=\"Title\""
|
||||
" class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
|
||||
/***** Number of questions to appear in the exam *****/
|
||||
HTM_TD_Begin ("class=\"RM\"");
|
||||
HTM_INPUT_LONG ("NumQstsToPrint",0,UINT_MAX,(long) Set->NumQstsToPrint,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,false,
|
||||
"class=\"INPUT_LONG\" required=\"required\"");
|
||||
HTM_TD_End ();
|
||||
/***** Current number of questions in set *****/
|
||||
HTM_TD_Begin ("class=\"RM\"");
|
||||
HTM_Unsigned (0); // New set ==> no questions yet
|
||||
HTM_TD_End ();
|
||||
|
||||
/***** End row *****/
|
||||
HTM_TR_End ();
|
||||
/***** Number of questions to appear in the exam *****/
|
||||
HTM_TD_Begin ("class=\"RM\"");
|
||||
HTM_INPUT_LONG ("NumQstsToPrint",0,UINT_MAX,(long) Set->NumQstsToPrint,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,false,
|
||||
"class=\"INPUT_LONG\" required=\"required\"");
|
||||
HTM_TD_End ();
|
||||
|
||||
/***** End table, send button and end box *****/
|
||||
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_set_of_questions);
|
||||
/***** End row *****/
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** End form *****/
|
||||
Frm_EndForm ();
|
||||
/***** End table and send button *****/
|
||||
HTM_TABLE_End ();
|
||||
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
|
||||
|
||||
/***** End form *****/
|
||||
Frm_EndForm ();
|
||||
|
||||
/***** End fieldset *****/
|
||||
HTM_FIELDSET_End ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
46
swad_text.c
46
swad_text.c
|
@ -6549,6 +6549,29 @@ const char *Txt_Courses_of_DEGREE_X = // Warning: it is very important to includ
|
|||
"Courses of %s"; // Çeviri lazim!
|
||||
#endif
|
||||
|
||||
const char *Txt_Create =
|
||||
#if L==1 // ca
|
||||
"Crear";
|
||||
#elif L==2 // de
|
||||
"Erstellen";
|
||||
#elif L==3 // en
|
||||
"Create";
|
||||
#elif L==4 // es
|
||||
"Crear";
|
||||
#elif L==5 // fr
|
||||
"Créer";
|
||||
#elif L==6 // gn
|
||||
"Omoheñói haguã";
|
||||
#elif L==7 // it
|
||||
"Crea";
|
||||
#elif L==8 // pl
|
||||
"Utwórz";
|
||||
#elif L==9 // pt
|
||||
"Criar";
|
||||
#elif L==10 // tr
|
||||
"Yaratmak";
|
||||
#endif
|
||||
|
||||
const char *Txt_Create_account =
|
||||
#if L==1 // ca
|
||||
"Crea compte";
|
||||
|
@ -7308,29 +7331,6 @@ const char *Txt_Create_rubric =
|
|||
"Değerlendirme listesi oluşturun";
|
||||
#endif
|
||||
|
||||
const char *Txt_Create_set_of_questions =
|
||||
#if L==1 // ca
|
||||
"Crear conjunt de preguntes";
|
||||
#elif L==2 // de
|
||||
"Satz von Fragen erstellen";
|
||||
#elif L==3 // en
|
||||
"Create set of questions";
|
||||
#elif L==4 // es
|
||||
"Crear conjunto de preguntas";
|
||||
#elif L==5 // fr
|
||||
"Créer ensemble de questions";
|
||||
#elif L==6 // gn
|
||||
"Crear conjunto de preguntas"; // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Crea set di domande";
|
||||
#elif L==8 // pl
|
||||
"Utwórz zestaw pytań";
|
||||
#elif L==9 // pt
|
||||
"Criar conjunto de perguntas";
|
||||
#elif L==10 // tr
|
||||
"Create set of questions"; // Çeviri lazim!
|
||||
#endif
|
||||
|
||||
const char *Txt_Create_session =
|
||||
#if L==1 // ca
|
||||
"Crear sessió";
|
||||
|
|
|
@ -12070,25 +12070,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
|
|||
,
|
||||
[ActNewExaSet] =
|
||||
#if L==1 // ca
|
||||
"Create new exam set" // Necessita traducció
|
||||
"Crear conjunt de preguntes"
|
||||
#elif L==2 // de
|
||||
"Create new exam set" // Need Übersetzung
|
||||
"Satz von Fragen erstellen"
|
||||
#elif L==3 // en
|
||||
"Create new exam set"
|
||||
"Create set of questions"
|
||||
#elif L==4 // es
|
||||
"Crear nuevo conjunto de preguntas"
|
||||
"Crear conjunto de preguntas"
|
||||
#elif L==5 // fr
|
||||
"Create new exam set" // Besoin de traduction
|
||||
"Créer ensemble de questions"
|
||||
#elif L==6 // gn
|
||||
"Crear nuevo conjunto de preguntas" // Okoteve traducción
|
||||
"Ojapo porandu ñemohenda"
|
||||
#elif L==7 // it
|
||||
"Create new exam set" // Bisogno di traduzione
|
||||
"Crea set di domande"
|
||||
#elif L==8 // pl
|
||||
"Create new exam set" // Potrzebujesz tlumaczenie
|
||||
"Utwórz zestaw pytań"
|
||||
#elif L==9 // pt
|
||||
"Create new exam set" // Precisa de traduçăo
|
||||
"Criar conjunto de perguntas"
|
||||
#elif L==10 // tr
|
||||
"Create new exam set" // Çeviri lazim!
|
||||
"Soru grubu oluştur"
|
||||
#endif
|
||||
,
|
||||
[ActReqRemExaSet] =
|
||||
|
|
Loading…
Reference in New Issue