diff --git a/swad_changelog.h b/swad_changelog.h index 7c330c6b9..85460e346 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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: diff --git a/swad_media.c b/swad_media.c index 4d97a0145..3bbb7395f 100644 --- a/swad_media.c +++ b/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) "" "", 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,"
" "Title); fprintf (Gbl.F.Out," lazyload=\"on\">" // Lazy load of the media "Your browser does not support HTML5 video." - "", - URL_Video); + ""); } else fprintf (Gbl.F.Out,"%s",Txt_File_not_found); diff --git a/swad_test.c b/swad_test.c index be8f4f3b6..9b533b058 100644 --- a/swad_test.c +++ b/swad_test.c @@ -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, "", - ParamUploadMedia.Title,Txt_Image_title_attribution,Txt_optional, + ParamUploadMedia.Title,Txt_Title_attribution,Txt_optional, ClassMediaTitURL,Med_MAX_CHARS_TITLE, Media->Title ? Media->Title : ""); diff --git a/swad_text.c b/swad_text.c index 0d182925f..9935e3d05 100644 --- a/swad_text.c +++ b/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" diff --git a/swad_timeline.c b/swad_timeline.c index ee60e090d..f9cda4cb9 100644 --- a/swad_timeline.c +++ b/swad_timeline.c @@ -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