From 66ffffb861618d09790576635b2110e3bdc0204d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Tue, 29 Dec 2015 20:39:06 +0100 Subject: [PATCH] Version 15.80.1 --- swad_changelog.h | 4 +++- swad_follow.c | 3 ++- swad_text.c | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 01a2be5bf..16fe93219 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -110,18 +110,20 @@ // TODO: Fix bug at the end of ranking (number too low) when a course is selected // TODO: Reply to all // TODO: Hour in exam announcement should start at six a.m. +// TODO: When a file, notice, etc. is removed, it should be removed from social events? /*****************************************************************************/ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.80 (2015-12-29)" +#define Log_PLATFORM_VERSION "SWAD 15.80.1 (2015-12-29)" #define CSS_FILE "swad15.80.css" #define JS_FILE "swad15.77.7.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.80.1: Dec 29, 2015 Message translated. (188967 lines) Version 15.80: Dec 29, 2015 Changes in layout of user's profile. (188944 lines) Version 15.79.2: Dec 29, 2015 Include my public activity in timeline. (188838 lines) Version 15.79.1: Dec 29, 2015 Changes in layout of user's profile. (188836 lines) diff --git a/swad_follow.c b/swad_follow.c index 400b9bd1a..06962cc81 100644 --- a/swad_follow.c +++ b/swad_follow.c @@ -124,6 +124,7 @@ void Fol_ShowFollowingAndFollowers (const struct UsrData *UsrDat, unsigned NumFollowing,unsigned NumFollowers, bool UsrFollowsMe,bool IFollowUsr) { + extern const char *Txt_FOLLOWS_YOU; extern const char *Txt_Following; extern const char *Txt_Followers; extern const char *Txt_Following_unfollow; @@ -141,7 +142,7 @@ void Fol_ShowFollowingAndFollowers (const struct UsrData *UsrDat, /* User follows me? */ fprintf (Gbl.F.Out,"
"); if (UsrFollowsMe) - fprintf (Gbl.F.Out,"TE SIGUE"); // Need translation!!!! + fprintf (Gbl.F.Out,"%s",Txt_FOLLOWS_YOU); fprintf (Gbl.F.Out,"
"); /* Number of followed */ diff --git a/swad_text.c b/swad_text.c index 0ca92be73..e333884aa 100644 --- a/swad_text.c +++ b/swad_text.c @@ -12066,6 +12066,27 @@ const char *Txt_Following_unfollow = "Seguinte, deixar de seguir"; #endif +const char *Txt_FOLLOWS_YOU = +#if L==1 + "ET SEGUEIX"; +#elif L==2 + "FOLGT DIR"; +#elif L==3 + "FOLLOWS YOU"; +#elif L==4 + "TE SIGUE"; +#elif L==5 + "VOUS SUIT"; +#elif L==6 + "TE SIGUE"; // Okoteve traducción +#elif L==7 + "TI SEGUE"; +#elif L==8 + "OBSERWUJE CIĘ"; +#elif L==9 + "SEGUE VOCÊ"; +#endif + const char *Txt_For_security_enter_your_password = #if L==1 "Per a més seguretat, introdueixi la seva contrasenya";