Version 22.107.11:May 07, 2023 Changes in edition of surveys.

This commit is contained in:
acanas 2023-05-07 22:18:21 +02:00
parent 1902d502ef
commit e15d6770f5
6 changed files with 50 additions and 116 deletions

View File

@ -629,17 +629,19 @@ 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.9 (2023-05-07)"
#define Log_PLATFORM_VERSION "SWAD 22.107.11 (2023-05-07)"
#define CSS_FILE "swad22.107.css"
#define JS_FILE "swad22.49.js"
/*
Version 22.107.9: May 07, 2023 Changes in edition of rubric criterion. (338015 lines)
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)
Version 22.107.4: May 06, 2023 Changes in edition of exam. (338040 lines)
Version 22.107.3: May 06, 2023 Changes in edition of exam. (338045 lines)
Version 22.107.11:May 07, 2023 Changes in edition of surveys. (337952 lines)
Version 22.107.10:May 07, 2023 Changes in edition of projects. (337973 lines)
Version 22.107.9: May 07, 2023 Changes in edition of rubric criterions. (338015 lines)
Version 22.107.8: May 07, 2023 Changes in edition of exam sets. (338031 lines)
Version 22.107.7: May 06, 2023 Changes in edition of games. (338025 lines)
Version 22.107.6: May 06, 2023 Code refactoring in edition of exams. (338023 lines)
Version 22.107.5: May 06, 2023 Changes in edition of rubrisc. (338027 lines)
Version 22.107.4: May 06, 2023 Changes in edition of exams. (338040 lines)
Version 22.107.3: May 06, 2023 Changes in edition of exams. (338045 lines)
Version 22.107.2: May 05, 2023 Removed unused action in exam sets. (338044 lines)
Version 22.107.1: May 05, 2023 Changes in list of users to follow. (338105 lines)
Version 22.107: May 05, 2023 Changes in layout institutional links and connected users. (338108 lines)

View File

@ -3704,7 +3704,7 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects,
extern const char *Hlp_ASSESSMENT_Projects_edit_project;
extern const char *Par_CodeStr[];
extern const char *Txt_Project;
extern const char *Txt_Data;
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Title;
extern const char *Txt_Department;
extern const char *Txt_Another_department;
@ -3718,13 +3718,15 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects,
extern const char *Txt_URL;
extern const char *Txt_No;
extern const char *Txt_Yes;
extern const char *Txt_Create_project;
extern const char *Txt_Create;
extern const char *Txt_Save_changes;
extern const char *Txt_Members;
Prj_Proposal_t Proposal;
unsigned ProposalUnsigned;
unsigned NumRoleToShow;
char *SelectClass;
Act_Action_t NextAction = ItsANewProject ? ActNewPrj :
ActChgPrj;
/***** Begin project box *****/
Box_BoxBegin (NULL,Projects->Prj.Title[0] ? Projects->Prj.Title :
@ -3749,11 +3751,10 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects,
/***** 2. Project data *****/
HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Data);
HTM_LEGEND (Txt_Actions[NextAction]);
/* Begin data form */
Frm_BeginForm (ItsANewProject ? ActNewPrj :
ActChgPrj);
Frm_BeginForm (NextAction);
Prj_PutCurrentPars (Projects);
/* Begin table */
@ -3902,7 +3903,7 @@ static void Prj_PutFormProject (struct Prj_Projects *Projects,
/* Send button */
if (ItsANewProject)
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create_project);
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
else
Btn_PutButton (Btn_CONFIRM_BUTTON,Txt_Save_changes);

View File

@ -130,7 +130,7 @@ void PrjCfg_ShowFormConfig (void)
{
extern const char *Hlp_ASSESSMENT_Projects;
extern const char *Txt_Configure_projects;
extern const char *Txt_Create_project;
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Rubrics;
extern const char *Txt_Save_changes;
struct Prj_Projects Projects;
@ -148,7 +148,7 @@ void PrjCfg_ShowFormConfig (void)
/***** Projects are editable by non-editing teachers? *****/
HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Create_project);
HTM_LEGEND (Txt_Actions[ActChgPrj]);
PrjCfg_ShowFormNETCanCreate (&Projects.Config);
HTM_FIELDSET_End ();

View File

@ -1622,7 +1622,7 @@ void Svy_ReqCreatOrEditSvy (void)
extern const char *Txt_Title;
extern const char *Txt_Description;
extern const char *Txt_Users;
extern const char *Txt_Create_survey;
extern const char *Txt_Create;
extern const char *Txt_Save_changes;
struct Svy_Surveys Surveys;
bool ItsANewSurvey;
@ -1770,7 +1770,7 @@ void Svy_ReqCreatOrEditSvy (void)
/***** End table, send button and end box *****/
if (ItsANewSurvey)
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_survey);
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create);
else
Box_BoxTableWithButtonEnd (Btn_CONFIRM_BUTTON,Txt_Save_changes);

View File

@ -7193,29 +7193,6 @@ const char *Txt_Create_plugin =
"Create plugin"; // Çeviri lazim!
#endif
const char *Txt_Create_project =
#if L==1 // ca
"Crear projecte";
#elif L==2 // de
"Projekt eingeben";
#elif L==3 // en
"Create project";
#elif L==4 // es
"Crear proyecto";
#elif L==5 // fr
"Créer projet";
#elif L==6 // gn
"Crear proyecto"; // Okoteve traducción
#elif L==7 // it
"Crea progetto";
#elif L==8 // pl
"Utwórz projekt";
#elif L==9 // pt
"Criar projeto";
#elif L==10 // tr
"Create project"; // Çeviri lazim!
#endif
const char *Txt_Create_question =
#if L==1 // ca
"Crear pregunta";
@ -7331,29 +7308,6 @@ const char *Txt_Create_session =
"Create session"; // Çeviri lazim!
#endif
const char *Txt_Create_survey =
#if L==1 // ca
"Crear enquesta";
#elif L==2 // de
"Umfrage erstellen";
#elif L==3 // en
"Create survey";
#elif L==4 // es
"Crear encuesta";
#elif L==5 // fr
"Créer sondage";
#elif L==6 // gn
"Crear encuesta"; // Okoteve traducción
#elif L==7 // it
"Crea sondaggio";
#elif L==8 // pl
"Utwórz ankiety";
#elif L==9 // pt
"Criar inquérito";
#elif L==10 // tr
"Create survey"; // Çeviri lazim!
#endif
const char *Txt_Create_type_of_degree =
#if L==1 // ca
"Crear tipus de titulació";
@ -8274,29 +8228,6 @@ const char *Txt_Current_password =
"Mevcut şifre";
#endif
const char *Txt_Data = // Project data
#if L==1 // ca
"Dades";
#elif L==2 // de
"Daten";
#elif L==3 // en
"Data";
#elif L==4 // es
"Datos";
#elif L==5 // fr
"Données";
#elif L==6 // gn
"Datos"; // Okoteve traducción
#elif L==7 // it
"Dati";
#elif L==8 // pl
"Dane";
#elif L==9 // pt
"Dados";
#elif L==10 // tr
"Data"; // Çeviri lazim!
#endif
const char *Txt_DATA_PROTECTION_POLICY =
#if L==1 // ca
"Política de protecció de dades";

View File

@ -9655,48 +9655,48 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
,
[ActNewPrj] =
#if L==1 // ca
"Create new project" // Necessita traducció
"Crear projecte"
#elif L==2 // de
"Create new project" // Need Übersetzung
"Projekt eingeben"
#elif L==3 // en
"Create new project"
"Create project"
#elif L==4 // es
"Crear nuevo proyecto"
"Crear proyecto"
#elif L==5 // fr
"Create new project" // Besoin de traduction
"Créer projet"
#elif L==6 // gn
"Crear nuevo proyecto" // Okoteve traducción
"Omoheñói proyecto"
#elif L==7 // it
"Create new project" // Bisogno di traduzione
"Crea progetto"
#elif L==8 // pl
"Create new project" // Potrzebujesz tlumaczenie
"Utwórz projekt"
#elif L==9 // pt
"Create new project" // Precisa de traduçăo
"Criar projeto"
#elif L==10 // tr
"Create new project" // Çeviri lazim!
"Proje oluştur"
#endif
,
[ActChgPrj] =
#if L==1 // ca
"Change project" // Necessita traducció
"Canviar projecte"
#elif L==2 // de
"Change project" // Need Übersetzung
"Projekt ändern"
#elif L==3 // en
"Change project"
#elif L==4 // es
"Cambiar un proyecto"
"Cambiar proyecto"
#elif L==5 // fr
"Change project" // Besoin de traduction
"Modifier projet"
#elif L==6 // gn
"Cambiar un proyecto" // Okoteve traducción
"Omoambue proyecto"
#elif L==7 // it
"Change project" // Bisogno di traduzione
"Cambia progetto"
#elif L==8 // pl
"Change project" // Potrzebujesz tlumaczenie
"Zmień projekt"
#elif L==9 // pt
"Change project" // Precisa de traduçăo
"Alterar projeto"
#elif L==10 // tr
"Change project" // Çeviri lazim!
"Projeyi değiştir"
#endif
,
[ActReqRemPrj] =
@ -32862,25 +32862,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
,
[ActNewSvy] =
#if L==1 // ca
"Create new survey" // Necessita traducció
"Crear enquesta"
#elif L==2 // de
"Create new survey" // Need Übersetzung
"Umfrage erstellen"
#elif L==3 // en
"Create new survey"
"Create survey"
#elif L==4 // es
"Crear nueva encuesta"
"Crear encuesta"
#elif L==5 // fr
"Create new survey" // Besoin de traduction
"Créer sondage"
#elif L==6 // gn
"Crear nueva encuesta" // Okoteve traducción
"Omoheñói encuesta"
#elif L==7 // it
"Create new survey" // Bisogno di traduzione
"Crea sondaggio"
#elif L==8 // pl
"Create new survey" // Potrzebujesz tlumaczenie
"Utwórz ankiety"
#elif L==9 // pt
"Create new survey" // Precisa de traduçăo
"Criar inquérito"
#elif L==10 // tr
"Create new survey" // Çeviri lazim!
"Anket oluştur"
#endif
,
[ActChgSvy] =