From c72c623d31abe9b1cbf93c36fc68085f40eea352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 8 Oct 2016 20:37:01 +0200 Subject: [PATCH] Version 16.17.1 --- swad_changelog.h | 3 ++- swad_report.c | 4 +++- swad_text.c | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 12860464c..70151f653 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -148,13 +148,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.17 (2016-10-08)" +#define Log_PLATFORM_VERSION "SWAD 16.17.1 (2016-10-08)" #define CSS_FILE "swad15.229.css" #define JS_FILE "swad15.238.1.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 16.17.1: Oct 08, 2016 Message translated in user's usage report. (206211 lines) Version 16.17: Oct 08, 2016 List of most frequent actions in user's usage report. (206189 lines) Version 16.16.1: Oct 07, 2016 Fixed bug in user's usage report. (206108 lines) Version 16.16: Oct 07, 2016 Order current courses in user's usage report by number of clicks. diff --git a/swad_report.c b/swad_report.c index 8ecaa16ee..a80e30da9 100644 --- a/swad_report.c +++ b/swad_report.c @@ -755,10 +755,12 @@ static void Rep_WriteSectionUsrFigures (const struct UsrFigures *UsrFigures, static void Rep_WriteSectionGlobalHits (const struct UsrFigures *UsrFigures, const struct tm *tm_FirstClickTime) { + extern const char *Txt_Hits_per_year; + /***** Start of section *****/ fprintf (Gbl.F.Rep,"
" "

%s

", - "Accesos (clics) por año"); // TODO: Need translation!!!! + Txt_Hits_per_year); /***** Global (in any course) hits per year *****/ Rep_ShowMyHitsPerYear (true,-1L, // Any course diff --git a/swad_text.c b/swad_text.c index f639932cd..a69d1dc9c 100644 --- a/swad_text.c +++ b/swad_text.c @@ -14056,6 +14056,27 @@ const char *Txt_Hits_as_a_USER = // hits = visits, clicks, page views... Warning "Visitas (cliques) como %s"; #endif +const char *Txt_Hits_per_year = // hits = visits, clicks, page views... +#if L==1 + "Accessos (clics) per any"; +#elif L==2 + "Anmeldungen (Klicks) pro Jahr"; +#elif L==3 + "Hits (clicks) per year"; +#elif L==4 + "Accesos (clics) por año"; +#elif L==5 + "Visites (clics) par an"; +#elif L==6 + "Accesos (clics) por año"; // Okoteve traducción +#elif L==7 + "Visite (clic) all'anno"; +#elif L==8 + "Odsłon (kliknięcia) rocznie"; +#elif L==9 + "Visitas (cliques) por ano"; +#endif + const char *Txt_Hits_without_course_selected = // hits = visits, clicks, page views... #if L==1 "Accessos (clics) sense assignatura seleccionada";