From d769a39768e342fb68124fa797a412a200d33770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 8 Oct 2016 20:41:25 +0200 Subject: [PATCH] Version 16.17.2 --- swad_changelog.h | 3 ++- swad_report.c | 3 ++- swad_text.c | 21 +++++++++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 70151f653..13d6bd812 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -148,13 +148,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.17.1 (2016-10-08)" +#define Log_PLATFORM_VERSION "SWAD 16.17.2 (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.2: Oct 08, 2016 Message translated in user's usage report. (? lines) 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) diff --git a/swad_report.c b/swad_report.c index a80e30da9..26285cca9 100644 --- a/swad_report.c +++ b/swad_report.c @@ -781,6 +781,7 @@ static void Rep_WriteSectionHitsPerAction (const struct UsrFigures *UsrFigures) { extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS]; extern Act_Action_t Act_FromActCodToAction[1+Act_MAX_ACTION_COD]; + extern const char *Txt_Hits_per_action; extern const char *Txt_TABS_FULL_TXT[Tab_NUM_TABS]; char Query[512]; MYSQL_RES *mysql_res; @@ -795,7 +796,7 @@ static void Rep_WriteSectionHitsPerAction (const struct UsrFigures *UsrFigures) /***** Start of section *****/ fprintf (Gbl.F.Rep,"
" "

%s

", - "Accesos (clics) por acción"); // TODO: Need translation!!!! + Txt_Hits_per_action); /***** Make the query *****/ sprintf (Query,"SELECT SQL_NO_CACHE ActCod,COUNT(*) AS N FROM log_full" diff --git a/swad_text.c b/swad_text.c index a69d1dc9c..2be00922c 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_action = // hits = visits, clicks, page views... +#if L==1 + "Accessos (clics) per acció"; +#elif L==2 + "Anmeldungen (Klicks) pro Handlung"; +#elif L==3 + "Hits (clicks) per action"; +#elif L==4 + "Accesos (clics) por acción"; +#elif L==5 + "Visites (clics) par action"; +#elif L==6 + "Accesos (clics) por acción"; // Okoteve traducción +#elif L==7 + "Visite (clic) per azione"; +#elif L==8 + "Odsłon (kliknięcia) działanie"; +#elif L==9 + "Visitas (cliques) por ação"; +#endif + const char *Txt_Hits_per_year = // hits = visits, clicks, page views... #if L==1 "Accessos (clics) per any";