diff --git a/swad_changelog.h b/swad_changelog.h index b288cabef..f9e15580c 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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; diff --git a/swad_project.c b/swad_project.c index 656d92db2..a7168073a 100644 --- a/swad_project.c +++ b/swad_project.c @@ -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 */ diff --git a/swad_text.c b/swad_text.c index 81785bc83..7305e84c5 100644 --- a/swad_text.c +++ b/swad_text.c @@ -17581,46 +17581,46 @@ const char *Txt_Locations = "Localizaçõ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ó bloquejada. Premi per desbloquejar-la." #elif L==2 // de - "Aufschließen" + "Gesperrte Ausgabe. Drücke zum Entsperren." #elif L==3 // en - "Unlock" + "Locked edition. Press to unlock it." #elif L==4 // es - "Desbloquear" + "Edición bloqueada. Pulse para desbloquearla." #elif L==5 // fr - "Déverouiller" + "Edition verrouillée. Appuyez pour la déverrouiller." #elif L==6 // gn - "Desbloquear" // Okoteve traducción + "Edición bloqueada. Pulse para desbloquearla." // Okoteve traducción #elif L==7 // it - "Sbloccare" + "Edizione bloccata. Premere per sbloccarela." #elif L==8 // pl - "Odblokować" + "Zamknięta edycja. Naciśnij, aby go odblokować." #elif L==9 // pt - "Desbloquear" + "Edição bloqueada. Pressione para desbloquear." #endif , #if L==1 // ca - "Tancar" + "Edició permesa. Premi per bloquejar-la." #elif L==2 // de - "Abschließen" + "Erlaubte Ausgabe. Drücken Sie, um es zu sperren." #elif L==3 // en - "Lock" + "Allowed edition. Press to lock it." #elif L==4 // es - "Bloquear" + "Edición permitida. Pulse para bloquearla." #elif L==5 // fr - "Verrouiller" + "Édition autorisée. Appuyez sur pour la verrouiller." #elif L==6 // gn - "Bloquear" // Okoteve traducción + "Edición permitida. Pulse para bloquearla." // Okoteve traducción #elif L==7 // it - "Bloccare" + "Edizione consentita. Premere per bloccarla." #elif L==8 // pl - "Zablokować" + "Dozwolone wydanie. Naciśnij, aby go zablokować." #elif L==9 // pt - "Bloquear" + "Edição permitida. Pressione para travar." #endif };