Version 16.17.2

This commit is contained in:
Antonio Cañas Vargas 2016-10-08 20:41:25 +02:00
parent c72c623d31
commit d769a39768
3 changed files with 25 additions and 2 deletions

View File

@ -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)

View File

@ -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,"<section>"
"<h3>%s</h3>",
"Accesos (clics) por acci&oacute;n"); // TODO: Need translation!!!!
Txt_Hits_per_action);
/***** Make the query *****/
sprintf (Query,"SELECT SQL_NO_CACHE ActCod,COUNT(*) AS N FROM log_full"

View File

@ -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&oacute;";
#elif L==2
"Anmeldungen (Klicks) pro Handlung";
#elif L==3
"Hits (clicks) per action";
#elif L==4
"Accesos (clics) por acci&oacute;n";
#elif L==5
"Visites (clics) par action";
#elif L==6
"Accesos (clics) por acci&oacute;n"; // Okoteve traducción
#elif L==7
"Visite (clic) per azione";
#elif L==8
"Ods&lstrok;on (klikni&eogon;cia) dzia&lstrok;anie";
#elif L==9
"Visitas (cliques) por a&ccedil;&atilde;o";
#endif
const char *Txt_Hits_per_year = // hits = visits, clicks, page views...
#if L==1
"Accessos (clics) per any";