Version18.73.2

This commit is contained in:
Antonio Cañas Vargas 2019-03-12 10:28:50 +01:00
parent a07fc90476
commit 32b8878960
5 changed files with 48 additions and 69 deletions

View File

@ -2678,7 +2678,7 @@ void Usr_ReqListStdsAttendanceCrs (void)
extern const char *Hlp_USERS_Attendance_attendance_list;
extern const char *Txt_Attendance;
extern const char *Txt_ROLES_PLURAL_Abc[Rol_NUM_ROLES][Usr_NUM_SEXS];
extern const char *Txt_Show_attendance;
extern const char *Txt_View_attendance;
/***** Get list of attendance events *****/
Att_GetListAttEvents (Att_OLDEST_FIRST);
@ -2729,7 +2729,7 @@ void Usr_ReqListStdsAttendanceCrs (void)
Tbl_EndTable ();
/* Send button */
Btn_PutConfirmButton (Txt_Show_attendance);
Btn_PutConfirmButton (Txt_View_attendance);
/* End form */
Frm_EndForm ();

View File

@ -432,6 +432,8 @@ Lo de mutear anuncios, en principio prefiero hacer una opci
// TODO: Intentar aumentar la velocidad de carga del timeline (comprobar ralentización al mostrar la titulación de cada usuario)
// TODO: Fix bug: Don't show icon in record to send a message is user has banned me
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
@ -451,13 +453,11 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.73.1 (2019-03-12)"
#define Log_PLATFORM_VERSION "SWAD 18.73.2 (2019-03-12)"
#define CSS_FILE "swad18.68.3.css"
#define JS_FILE "swad18.64.js"
/*
Arreglar BUG: RMS no debería poder seleccionar todos los grupos al redactar mensajes !!!!!!!!!!!
Arreglar BUG: A RMS le sale ACV al listar profesores, pero no al redactar mensajes !!!!!!!!!!!
Version 18.73.2: Mar 12, 2019 Only user's groups are selectable when sending a message. (239549 lines)
Version 18.73.1: Mar 12, 2019 Code refactoring in list of options when listing several users. (239569 lines)
Version 18.73: Mar 12, 2019 New actions to follow/unfollow several users. Suggested by José María Guirao Miras. (239658 lines)
14 changes necessary in database:

View File

@ -242,7 +242,7 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
{
/***** Form to select groups *****/
Grp_ShowFormToSelectSeveralGroups (ActReqMsgUsr,
Grp_ALL_GROUPS); // All groups are selectable to send a message
Grp_ONLY_MY_GROUPS);
/***** Start section with user list *****/
Lay_StartSection (Usr_USER_LIST_SECTION_ID);

View File

@ -12506,7 +12506,7 @@ const char *Txt_Follow =
#elif L==7 // it
"Seguire";
#elif L==8 // pl
"Śledzić";
"Śledź";
#elif L==9 // pt
"Seguir";
#endif
@ -37238,7 +37238,7 @@ const char *Txt_See_full_notice =
#elif L==8 // pl
"Wiadomości cały obwieszczenie";
#elif L==9 // pt
"Veja aviso completo";
"Ver aviso completo";
#endif
const char *Txt_See_less =
@ -37259,7 +37259,7 @@ const char *Txt_See_less =
#elif L==8 // pl
"Zobacz mniej";
#elif L==9 // pt
"Veja menos";
"Ver menos";
#endif
const char *Txt_See_message =
@ -37280,7 +37280,7 @@ const char *Txt_See_message =
#elif L==8 // pl
"See message"; // Potrzebujesz tlumaczenie
#elif L==9 // pt
"Veja mensagem";
"Ver mensagem";
#endif
const char *Txt_See_messages_received =
@ -37301,7 +37301,7 @@ const char *Txt_See_messages_received =
#elif L==8 // pl
"Wiadomości odebrane";
#elif L==9 // pt
"Veja mensagens recebidas";
"Ver mensagens recebidas";
#endif
const char *Txt_See_more =
@ -37322,7 +37322,7 @@ const char *Txt_See_more =
#elif L==8 // pl
"Zobacz więcej";
#elif L==9 // pt
"Veja mais";
"Ver mais";
#endif
const char *Txt_See_new_activity =
@ -37343,7 +37343,7 @@ const char *Txt_See_new_activity =
#elif L==8 // pl
"Zobacz nową aktywność";
#elif L==9 // pt
"Veja nova atividade";
"Ver nova atividade";
#endif
const char *Txt_See_notifications =
@ -37364,7 +37364,7 @@ const char *Txt_See_notifications =
#elif L==8 // pl
"See notifications"; // Potrzebujesz tlumaczenie
#elif L==9 // pt
"Veja notificações";
"Ver notificações";
#endif
const char *Txt_See_only_the_latest_COMMENTS =
@ -37385,7 +37385,7 @@ const char *Txt_See_only_the_latest_COMMENTS =
#elif L==8 // pl
"Zobacz tylko najnowsze";
#elif L==9 // pt
"Veja apenas os últimos";
"Ver apenas os últimos";
#endif
const char *Txt_See_the_previous_X_COMMENTS = // Warning: it is very important to include %u in the following sentences
@ -37406,7 +37406,7 @@ const char *Txt_See_the_previous_X_COMMENTS = // Warning: it is very important t
#elif L==8 // pl
"Zobacz poprzednie %u";
#elif L==9 // pt
"Veja os %u anteriores";
"Ver os %u anteriores";
#endif
const char *Txt_Select_another_country =
@ -38624,27 +38624,6 @@ const char *Txt_Show_anyway =
"Mostrar de qualquer maneira";
#endif
const char *Txt_Show_attendance =
#if L==1 // ca
"Mostrar assistència.";
#elif L==2 // de
"Anwesenheit zeigen";
#elif L==3 // en
"Show attendance";
#elif L==4 // es
"Ver asistencia";
#elif L==5 // fr
"Montrer la présence.";
#elif L==6 // gn
"Ver asistencia"; // Okoteve traducción
#elif L==7 // it
"Mostra presenze";
#elif L==8 // pl
"Pokaż frekwencję";
#elif L==9 // pt
"Mostrar atendimento";
#endif
const char *Txt_Show_calendar =
#if L==1 // ca
"Mostra calendari";
@ -38813,27 +38792,6 @@ const char *Txt_Show_questions =
"Mostrar questões";
#endif
const char *Txt_Show_records =
#if L==1 // ca
"Mostrar fitxes";
#elif L==2 // de
"Zeige Profile";
#elif L==3 // en
"Show records";
#elif L==4 // es
"Mostrar fichas";
#elif L==5 // fr
"Voir les cartes";
#elif L==6 // gn
"Mostrar fichas"; // Okoteve traducción
#elif L==7 // it
"Visualizza le schede";
#elif L==8 // pl
"Pokaż rekordy";
#elif L==9 // pt
"Mostrar cartões";
#endif
const char *Txt_Show_statistic =
#if L==1 // ca
"Mostrar estadística";
@ -52051,7 +52009,7 @@ const char *Txt_View_attendance =
#if L==1 // ca
"Veure assistència";
#elif L==2 // de
"Siehe Anwesenheit";
"Anzeigen Anwesenheit";
#elif L==3 // en
"View attendance";
#elif L==4 // es
@ -52063,9 +52021,9 @@ const char *Txt_View_attendance =
#elif L==7 // it
"Vedi presenza";
#elif L==8 // pl
"Wiadomości bytność";
"Zobacz obecność";
#elif L==9 // pt
"Veja presença";
"Ver presença";
#endif
const char *Txt_View_data_of_FILE_OR_LINK_X = // Warning: it is very important to include %s in the following sentences
@ -52086,7 +52044,7 @@ const char *Txt_View_data_of_FILE_OR_LINK_X = // Warning: it is very important t
#elif L==8 // pl
"Zobacz dane z %s";
#elif L==9 // pt
"Veja os dados de %s";
"Ver os dados de %s";
#endif
const char *Txt_View_event =
@ -52215,6 +52173,27 @@ const char *Txt_View_record_for_this_course =
"Ver cartão em disciplina";
#endif
const char *Txt_View_records =
#if L==1 // ca
"Veure fitxes";
#elif L==2 // de
"Anzeigen Profile";
#elif L==3 // en
"View records";
#elif L==4 // es
"Ver fichas";
#elif L==5 // fr
"Voir cartes";
#elif L==6 // gn
"Ver fichas"; // Okoteve traducción
#elif L==7 // it
"Vedi schede";
#elif L==8 // pl
"Zobacz rekordy";
#elif L==9 // pt
"Ver cartões";
#endif
const char *Txt_View_survey =
#if L==1 // ca
"Veure enquesta";
@ -52275,7 +52254,7 @@ const char *Txt_View_test =
#elif L==8 // pl
"Wiadomości test";
#elif L==9 // pt
"Veja teste";
"Ver teste";
#endif
const char *Txt_View_test_results =
@ -52315,7 +52294,7 @@ const char *Txt_View_homework =
#elif L==7 // it
"Vedi lavori";
#elif L==8 // pl
"View homework"; // Potrzebujesz tlumaczenie
"Zobacz pracę domową";
#elif L==9 // pt
"Ver trabalhos";
#endif

View File

@ -8017,18 +8017,18 @@ void Usr_SeeTeachers (void)
static bool Usr_PutActionsSeveralUsrs (Rol_Role_t UsrsRole)
{
extern const char *The_ClassFormInBox[The_NUM_THEMES];
extern const char *Txt_Show_records;
extern const char *Txt_View_records;
extern const char *Txt_View_homework;
extern const char *Txt_Show_attendance;
extern const char *Txt_View_attendance;
extern const char *Txt_Send_message;
extern const char *Txt_Follow;
extern const char *Txt_Unfollow;
const char *Label[Usr_LIST_USRS_NUM_OPTIONS] =
{
NULL, // Usr_OPTION_UNKNOWN
Txt_Show_records, // Usr_OPTION_RECORDS
Txt_View_records, // Usr_OPTION_RECORDS
Txt_View_homework, // Usr_OPTION_HOMEWORK
Txt_Show_attendance, // Usr_OPTION_ATTENDANCE
Txt_View_attendance, // Usr_OPTION_ATTENDANCE
Txt_Send_message, // Usr_OPTION_MESSAGE
Txt_Follow, // Usr_OPTION_FOLLOW
Txt_Unfollow, // Usr_OPTION_UNFOLLOW