mirror of https://github.com/acanas/swad-core.git
Version18.76.2
This commit is contained in:
parent
33d8ce0630
commit
0e5364d642
|
@ -431,8 +431,6 @@ Lo de mutear anuncios, en principio prefiero hacer una opci
|
|||
|
||||
// TODO: Los usuarios que no tienes permiso para ver su perfil público, se debería mostrar algo, una mínima ficha sin tinmeline o algo así
|
||||
|
||||
// TODO: En Timeline cambiar "Comentario eliminado" para los posts por "Publicación eliminada"
|
||||
|
||||
/*****************************************************************************/
|
||||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
@ -452,10 +450,11 @@ En OpenSWAD:
|
|||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.76.1 (2019-03-13)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.76.2 (2019-03-14)"
|
||||
#define CSS_FILE "swad18.68.3.css"
|
||||
#define JS_FILE "swad18.75.js"
|
||||
/*
|
||||
Version 18.76.2: Mar 14, 2019 Changes in translation of several messages related to media. (239849 lines)
|
||||
Version 18.76.1: Mar 13, 2019 Changes in video tag. (239810 lines)
|
||||
Version 18.76: Mar 13, 2019 Video allowed as multimedia. (239814 lines)
|
||||
7 changes necessary in database:
|
||||
|
|
11
swad_media.c
11
swad_media.c
|
@ -260,9 +260,9 @@ void Med_GetMediaDataFromRow (const char *Name,
|
|||
|
||||
void Med_PutMediaUploader (int NumMediaInForm,const char *ClassMediaTitURL)
|
||||
{
|
||||
extern const char *Txt_Image;
|
||||
extern const char *Txt_Image_video;
|
||||
extern const char *Txt_optional;
|
||||
extern const char *Txt_Image_title_attribution;
|
||||
extern const char *Txt_Title_attribution;
|
||||
extern const char *Txt_Link;
|
||||
struct ParamUploadMedia ParamUploadMedia;
|
||||
char Id[Frm_MAX_BYTES_ID + 1];
|
||||
|
@ -292,7 +292,7 @@ void Med_PutMediaUploader (int NumMediaInForm,const char *ClassMediaTitURL)
|
|||
"</span>"
|
||||
"</label>",
|
||||
Gbl.Prefs.URLIcons,
|
||||
Txt_Image,Txt_Image,Txt_optional,
|
||||
Txt_Image_video,Txt_Image_video,Txt_optional,
|
||||
ParamUploadMedia.File,
|
||||
Id,Id);
|
||||
|
||||
|
@ -303,7 +303,7 @@ void Med_PutMediaUploader (int NumMediaInForm,const char *ClassMediaTitURL)
|
|||
" placeholder=\"%s (%s)\""
|
||||
" class=\"%s\" maxlength=\"%u\" value=\"\" />",
|
||||
ParamUploadMedia.Title,
|
||||
Txt_Image_title_attribution,Txt_optional,
|
||||
Txt_Title_attribution,Txt_optional,
|
||||
ClassMediaTitURL,Med_MAX_CHARS_TITLE);
|
||||
fprintf (Gbl.F.Out,"<br />"
|
||||
"<input type=\"url\" name=\"%s\""
|
||||
|
@ -1156,8 +1156,7 @@ static void Med_ShowVideo (struct Media *Media,
|
|||
fprintf (Gbl.F.Out," title=\"%s\"",Media->Title);
|
||||
fprintf (Gbl.F.Out," lazyload=\"on\">" // Lazy load of the media
|
||||
"Your browser does not support HTML5 video."
|
||||
"</video>",
|
||||
URL_Video);
|
||||
"</video>");
|
||||
}
|
||||
else
|
||||
fprintf (Gbl.F.Out,"%s",Txt_File_not_found);
|
||||
|
|
|
@ -1118,7 +1118,7 @@ static void Tst_PutFormToEditQstMedia (struct Media *Media,int NumMediaInForm,
|
|||
extern const char *Txt_No_image;
|
||||
extern const char *Txt_Current_image;
|
||||
extern const char *Txt_Change_image;
|
||||
extern const char *Txt_Image_title_attribution;
|
||||
extern const char *Txt_Title_attribution;
|
||||
extern const char *Txt_Link;
|
||||
extern const char *Txt_optional;
|
||||
static unsigned UniqueId = 0;
|
||||
|
@ -1184,7 +1184,7 @@ static void Tst_PutFormToEditQstMedia (struct Media *Media,int NumMediaInForm,
|
|||
"<input type=\"text\" name=\"%s\""
|
||||
" placeholder=\"%s (%s)\""
|
||||
" class=\"%s\" maxlength=\"%u\" value=\"%s\">",
|
||||
ParamUploadMedia.Title,Txt_Image_title_attribution,Txt_optional,
|
||||
ParamUploadMedia.Title,Txt_Title_attribution,Txt_optional,
|
||||
ClassMediaTitURL,Med_MAX_CHARS_TITLE,
|
||||
Media->Title ? Media->Title :
|
||||
"");
|
||||
|
|
62
swad_text.c
62
swad_text.c
|
@ -15357,25 +15357,25 @@ const char *Txt_Image =
|
|||
"Imagem";
|
||||
#endif
|
||||
|
||||
const char *Txt_Image_title_attribution =
|
||||
const char *Txt_Image_video =
|
||||
#if L==1 // ca
|
||||
"Títol/atribució de la imatge";
|
||||
"Imatge / vídeo";
|
||||
#elif L==2 // de
|
||||
"Bildtitel / Namensnennung";
|
||||
"Abbild / Video";
|
||||
#elif L==3 // en
|
||||
"Image title/attribution";
|
||||
"Image / video";
|
||||
#elif L==4 // es
|
||||
"Título/atribución de la imagen";
|
||||
"Imagen / vídeo";
|
||||
#elif L==5 // fr
|
||||
"Titre/attribution de l'image";
|
||||
"Image / vidéo";
|
||||
#elif L==6 // gn
|
||||
"Título/atribución de la imagen"; // Okoteve traducción
|
||||
"Ta'ãnga / video";
|
||||
#elif L==7 // it
|
||||
"Titolo/attribuzione delle immagine";
|
||||
"Immagine / video";
|
||||
#elif L==8 // pl
|
||||
"Tytuł/przypisanie obrazu";
|
||||
"Obraz / wideo";
|
||||
#elif L==9 // pt
|
||||
"Título/atribuição da imagem";
|
||||
"Imagem / vídeo";
|
||||
#endif
|
||||
|
||||
const char *Txt_Import_questions =
|
||||
|
@ -49260,6 +49260,27 @@ const char *Txt_TIMELINE_post =
|
|||
"publicação";
|
||||
#endif
|
||||
|
||||
const char *Txt_TIMELINE_Post_removed =
|
||||
#if L==1 // ca
|
||||
"Publicació eliminada.";
|
||||
#elif L==2 // de
|
||||
"Publikation entfernt.";
|
||||
#elif L==3 // en
|
||||
"Post removed.";
|
||||
#elif L==4 // es
|
||||
"Publicación eliminada";
|
||||
#elif L==5 // fr
|
||||
"Publication supprimée.";
|
||||
#elif L==6 // gn
|
||||
"Publicación eliminada"; // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Pubblicazione rimossa.";
|
||||
#elif L==8 // pl
|
||||
"Publikacja usunięta.";
|
||||
#elif L==9 // pt
|
||||
"Publicação removida.";
|
||||
#endif
|
||||
|
||||
const char *Txt_TIMELINE_posts =
|
||||
#if L==1 // ca
|
||||
"publicacions";
|
||||
|
@ -49503,6 +49524,27 @@ const char *Txt_Title =
|
|||
"Título";
|
||||
#endif
|
||||
|
||||
const char *Txt_Title_attribution =
|
||||
#if L==1 // ca
|
||||
"Títol/atribució";
|
||||
#elif L==2 // de
|
||||
"Titel / Namensnennung";
|
||||
#elif L==3 // en
|
||||
"Title/attribution";
|
||||
#elif L==4 // es
|
||||
"Título/atribución";
|
||||
#elif L==5 // fr
|
||||
"Titre/attribution";
|
||||
#elif L==6 // gn
|
||||
"Título/atribución"; // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Titolo/attribuzione";
|
||||
#elif L==8 // pl
|
||||
"Tytuł/przypisanie";
|
||||
#elif L==9 // pt
|
||||
"Título/atribuição";
|
||||
#endif
|
||||
|
||||
const char *Txt_To_remove_a_centre_you_must_first_remove_all_degrees_and_teachers_in_the_centre =
|
||||
#if L==1 // ca
|
||||
"Para eliminar un centro, primero debe eliminar"
|
||||
|
|
|
@ -3845,7 +3845,7 @@ void TL_RemoveNoteUsr (void)
|
|||
static void TL_RemoveNote (void)
|
||||
{
|
||||
extern const char *Txt_The_original_post_no_longer_exists;
|
||||
extern const char *Txt_FORUM_Post_removed;
|
||||
extern const char *Txt_TIMELINE_Post_removed;
|
||||
struct TL_Note SocNot;
|
||||
bool ItsMe;
|
||||
|
||||
|
@ -3866,7 +3866,7 @@ static void TL_RemoveNote (void)
|
|||
TL_RemoveANoteFromDB (&SocNot);
|
||||
|
||||
/***** Message of success *****/
|
||||
Ale_ShowAlert (Ale_SUCCESS,Txt_FORUM_Post_removed);
|
||||
Ale_ShowAlert (Ale_SUCCESS,Txt_TIMELINE_Post_removed);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue