Version 15.113.15

This commit is contained in:
Antonio Cañas Vargas 2016-01-16 02:16:12 +01:00
parent 6065ba705f
commit ff1fd5030d
3 changed files with 28 additions and 6 deletions

View File

@ -124,15 +124,16 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.113.14 (2016-01-16)"
#define Log_PLATFORM_VERSION "SWAD 15.113.15 (2016-01-16)"
#define CSS_FILE "swad15.113.8.css"
#define JS_FILE "swad15.113.8.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
/*
Version 15.113.15:Jan 16, 2016 Changes in feedback on request to remove a social note. (192871 lines)
Version 15.113.14:Jan 16, 2016 Changes in feedback when a social comment is published. (192850 lines)
Version 15.113.13:Jan 16, 2016 Changes in feedback when a social post is unshared. (192846 lines)
Version 15.113.13:Jan 16, 2016 Changes in feedback when a social note is unshared. (192846 lines)
Version 15.113.12:Jan 15, 2016 When a new social post is commented, shared or unshared, fade its background. (192807 lines)
Version 15.113.11:Jan 15, 2016 When a new social post is received, fade its background. (192803 lines)
Version 15.113.10:Jan 15, 2016 When a social note is not available, the button to comment is disabled.

View File

@ -883,7 +883,7 @@ static void Soc_PutLinkToViewOldPublishings (void)
static void Soc_WriteSocialNote (const struct SocialNote *SocNot,
const struct SocialPublishing *SocPub,
bool Highlight, // hightlight social notee > 0
bool Highlight, // Highlight social note
bool ShowNoteAlone) // Social note is shown alone, not in a list
{
extern const char *Txt_Forum;
@ -2614,7 +2614,7 @@ void Soc_RequestRemSocialNoteUsr (void)
static void Soc_RequestRemovalSocialNote (void)
{
extern const char *Txt_Do_you_really_want_to_remove_the_following_comment;
extern const char *Txt_Do_you_really_want_to_remove_the_following_post;
extern const char *Txt_Remove;
struct SocialNote SocNot;
bool ICanRemove;
@ -2631,10 +2631,10 @@ static void Soc_RequestRemovalSocialNote (void)
{
/***** Show warning and social note *****/
/* Warning message */
Lay_ShowAlert (Lay_WARNING,Txt_Do_you_really_want_to_remove_the_following_comment);
Lay_ShowAlert (Lay_WARNING,Txt_Do_you_really_want_to_remove_the_following_post);
/* Show social note */
Soc_WriteSocialNote (&SocNot,NULL,true,true);
Soc_WriteSocialNote (&SocNot,NULL,false,true);
/***** Form to ask for confirmation to remove this social post *****/
/* Start form */

View File

@ -8644,6 +8644,27 @@ const char *Txt_Do_you_really_want_to_remove_the_following_comment =
"Você realmente deseja remover o seguinte comentário?";
#endif
const char *Txt_Do_you_really_want_to_remove_the_following_post =
#if L==1
"De veres voleu eliminar el següent missatge?";
#elif L==2
"Wollen Sie wirklich, um die folgende Beitrag zu entfernen?";
#elif L==3
"Do you really want to remove the following post?";
#elif L==4
"¿Realmente desea eliminar el siguiente mensaje?";
#elif L==5
"Voulez-vous vraiment supprimer le message suivant?";
#elif L==6
"¿Realmente desea eliminar el siguiente mensaje?"; // Okoteve traducción
#elif L==7
"Vuoi realmente rimuovere il seguente post?";
#elif L==8
"Czy na pewno chcesz usunac nastepujace post?";
#elif L==9
"Você realmente deseja remover o seguinte post?";
#endif
const char *Txt_Do_you_really_want_to_remove_the_following_user_as_an_administrator_of_the_centre_X = // Warning: it is very important to include %s in the following sentences
#if L==1
"¿Realmente desea eliminar el siguiente usuario"