mirror of https://github.com/acanas/swad-core.git
Version 22.107.21:May 09, 2023 Changes in edition of degrees.
This commit is contained in:
parent
553445fcae
commit
be158b5a56
|
@ -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.20 (2023-05-09)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.107.21 (2023-05-09)"
|
||||
#define CSS_FILE "swad22.107.17.css"
|
||||
#define JS_FILE "swad22.49.js"
|
||||
/*
|
||||
Version 22.107.21:May 09, 2023 Changes in edition of degrees. (337829 lines)
|
||||
Version 22.107.20:May 09, 2023 Changes in edition of countries. (337842 lines)
|
||||
Version 22.107.19:May 09, 2023 Changes in edition of institutions. (337858 lines)
|
||||
Version 22.107.18:May 09, 2023 Changes in edition of centers. (337871 lines)
|
||||
|
|
|
@ -513,22 +513,29 @@ static bool Deg_CheckIfICanEditADegree (struct Deg_Degree *Deg)
|
|||
|
||||
static void Deg_PutFormToCreateDegree (const struct DegTyp_DegTypes *DegTypes)
|
||||
{
|
||||
extern const char *Txt_Create_degree;
|
||||
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
|
||||
extern const char *Txt_Create;
|
||||
Act_Action_t NextAction = ActUnk;
|
||||
unsigned NumDegTyp;
|
||||
struct DegTyp_DegreeType *DegTypInLst;
|
||||
|
||||
/***** Begin form *****/
|
||||
/***** Set action depending on role *****/
|
||||
if (Gbl.Usrs.Me.Role.Logged >= Rol_CTR_ADM)
|
||||
Frm_BeginForm (ActNewDeg);
|
||||
NextAction = ActNewDeg;
|
||||
else if (Gbl.Usrs.Me.Role.Max >= Rol_GST)
|
||||
Frm_BeginForm (ActReqDeg);
|
||||
NextAction = ActReqDeg;
|
||||
else
|
||||
Err_NoPermissionExit ();
|
||||
|
||||
/***** Begin box and table *****/
|
||||
Box_BoxTableBegin (NULL,NULL,
|
||||
NULL,NULL,
|
||||
NULL,Box_NOT_CLOSABLE,2);
|
||||
/***** Begin fieldset *****/
|
||||
HTM_FIELDSET_Begin (NULL);
|
||||
HTM_LEGEND (Txt_Actions[NextAction]);
|
||||
|
||||
/***** Begin form *****/
|
||||
Frm_BeginForm (NextAction);
|
||||
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Write heading *****/
|
||||
Deg_PutHeadDegreesForEdition ();
|
||||
|
@ -615,11 +622,15 @@ static void Deg_PutFormToCreateDegree (const struct DegTyp_DegTypes *DegTypes)
|
|||
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** End table, send button and end box *****/
|
||||
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_degree);
|
||||
/***** End table and send button *****/
|
||||
HTM_TABLE_End ();
|
||||
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
|
||||
|
||||
/***** End form *****/
|
||||
Frm_EndForm ();
|
||||
|
||||
/***** End fieldset *****/
|
||||
HTM_FIELDSET_End ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
23
swad_text.c
23
swad_text.c
|
@ -6641,29 +6641,6 @@ const char *Txt_Create_course =
|
|||
"Create course"; // Çeviri lazim!
|
||||
#endif
|
||||
|
||||
const char *Txt_Create_degree =
|
||||
#if L==1 // ca
|
||||
"Crear titulació";
|
||||
#elif L==2 // de
|
||||
"Studiengang eingeben";
|
||||
#elif L==3 // en
|
||||
"Create degree";
|
||||
#elif L==4 // es
|
||||
"Crear titulación";
|
||||
#elif L==5 // fr
|
||||
"Créer étude";
|
||||
#elif L==6 // gn
|
||||
"Crear titulación"; // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Crea laurea";
|
||||
#elif L==8 // pl
|
||||
"Utwórz stopnia";
|
||||
#elif L==9 // pt
|
||||
"Criar grau";
|
||||
#elif L==10 // tr
|
||||
"Create degree"; // Çeviri lazim!
|
||||
#endif
|
||||
|
||||
const char *Txt_Create_department =
|
||||
#if L==1 // ca
|
||||
"Crear departament";
|
||||
|
|
|
@ -4457,23 +4457,23 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
|
|||
,
|
||||
[ActNewDeg] =
|
||||
#if L==1 // ca
|
||||
"Create degree" // Necessita traducció
|
||||
"Crear titulació"
|
||||
#elif L==2 // de
|
||||
"Create degree" // Need Übersetzung
|
||||
"Studiengang eingeben"
|
||||
#elif L==3 // en
|
||||
"Create degree"
|
||||
#elif L==4 // es
|
||||
"Crear titulación"
|
||||
#elif L==5 // fr
|
||||
"Create degree" // Besoin de traduction
|
||||
"Créer étude"
|
||||
#elif L==6 // gn
|
||||
"Crear titulación" // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Create degree" // Bisogno di traduzione
|
||||
"Crea laurea"
|
||||
#elif L==8 // pl
|
||||
"Create degree" // Potrzebujesz tlumaczenie
|
||||
"Utwórz stopnia"
|
||||
#elif L==9 // pt
|
||||
"Create degree" // Precisa de traduçăo
|
||||
"Criar grau"
|
||||
#elif L==10 // tr
|
||||
"Create degree" // Çeviri lazim!
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue