Version18.114.1

This commit is contained in:
Antonio Cañas Vargas 2019-04-18 10:32:14 +02:00
parent 161da3aa66
commit 359fccacc0
3 changed files with 23 additions and 22 deletions

View File

@ -455,10 +455,11 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.114 (2019-04-17)"
#define Log_PLATFORM_VERSION "SWAD 18.114.1 (2019-04-18)"
#define CSS_FILE "swad18.112.1.css"
#define JS_FILE "swad18.114.js"
/*
Version 18.114.1: Apr 18, 2019 Changes in translation of title related to project locking/unlocking. (? lines)
Version 18.114: Apr 17, 2019 Project locking/unlocking is made via AJAX. (243023 lines)
Version 18.113: Apr 17, 2019 Individual locking of the edition of each project through a padlock icon. Only the teacher of the subject can lock / unlock each project. Suggested by Pedro Villar Castro. (243000 lines)
ALTER TABLE projects ADD COLUMN Locked ENUM('N','Y') NOT NULL DEFAULT 'N' AFTER DptCod;

View File

@ -2295,7 +2295,7 @@ static bool Prj_CheckIfICanLockProject (void)
static void Prj_FormLockUnlock (const struct Project *Prj)
{
extern const char *Txt_Lock_Unlock[Prj_NUM_LOCKED_UNLOCKED];
extern const char *Txt_LOCKED_UNLOCKED[Prj_NUM_LOCKED_UNLOCKED];
char *OnSubmit;
static const Act_Action_t Prj_LockActions[Prj_NUM_LOCKED_UNLOCKED] =
{
@ -2329,7 +2329,7 @@ static void Prj_FormLockUnlock (const struct Project *Prj)
Prj->PrjCod) < 0)
Lay_NotEnoughMemoryExit ();
Frm_StartFormOnSubmit (ActUnk,OnSubmit);
Ico_PutIconLink (Prj_LockIcons[Prj->Locked],Txt_Lock_Unlock[Prj->Locked]);
Ico_PutIconLink (Prj_LockIcons[Prj->Locked],Txt_LOCKED_UNLOCKED[Prj->Locked]);
Frm_EndForm ();
/* Free allocated memory for subquery */

View File

@ -17581,46 +17581,46 @@ const char *Txt_Locations =
"Localiza&ccedil;&otilde;es";
#endif
const char *Txt_Lock_Unlock[Prj_NUM_LOCKED_UNLOCKED] =
const char *Txt_LOCKED_UNLOCKED[Prj_NUM_LOCKED_UNLOCKED] =
{
#if L==1 // ca
"Desbloquejar"
"Edici&oacute; bloquejada. Premi per desbloquejar-la."
#elif L==2 // de
"Aufschlie&szlig;en"
"Gesperrte Ausgabe. Dr&uuml;cke zum Entsperren."
#elif L==3 // en
"Unlock"
"Locked edition. Press to unlock it."
#elif L==4 // es
"Desbloquear"
"Edici&oacute;n bloqueada. Pulse para desbloquearla."
#elif L==5 // fr
"D&eacute;verouiller"
"Edition verrouill&eacute;e. Appuyez pour la d&eacute;verrouiller."
#elif L==6 // gn
"Desbloquear" // Okoteve traducción
"Edici&oacute;n bloqueada. Pulse para desbloquearla." // Okoteve traducción
#elif L==7 // it
"Sbloccare"
"Edizione bloccata. Premere per sbloccarela."
#elif L==8 // pl
"Odblokowa&cacute;"
"Zamkni&eogon;ta edycja. Naci&sacute;nij, aby go odblokowa&cacute;."
#elif L==9 // pt
"Desbloquear"
"Edi&ccedil;&atilde;o bloqueada. Pressione para desbloquear."
#endif
,
#if L==1 // ca
"Tancar"
"Edici&oacute; permesa. Premi per bloquejar-la."
#elif L==2 // de
"Abschlie&szlig;en"
"Erlaubte Ausgabe. Dr&uuml;cken Sie, um es zu sperren."
#elif L==3 // en
"Lock"
"Allowed edition. Press to lock it."
#elif L==4 // es
"Bloquear"
"Edici&oacute;n permitida. Pulse para bloquearla."
#elif L==5 // fr
"Verrouiller"
"&Eacute;dition autoris&eacute;e. Appuyez sur pour la verrouiller."
#elif L==6 // gn
"Bloquear" // Okoteve traducción
"Edici&oacute;n permitida. Pulse para bloquearla." // Okoteve traducción
#elif L==7 // it
"Bloccare"
"Edizione consentita. Premere per bloccarla."
#elif L==8 // pl
"Zablokowa&cacute;"
"Dozwolone wydanie. Naci&sacute;nij, aby go zablokowa&cacute;."
#elif L==9 // pt
"Bloquear"
"Edi&ccedil;&atilde;o permitida. Pressione para travar."
#endif
};