From ab95094de91bec1763e00816b00a1dad12f713a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 8 Oct 2016 20:51:39 +0200 Subject: [PATCH] Version 16.17.3 --- swad_changelog.h | 5 +++-- swad_report.c | 5 +++-- swad_text.c | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 13d6bd812..446109ff9 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -148,14 +148,15 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.17.2 (2016-10-08)" +#define Log_PLATFORM_VERSION "SWAD 16.17.3 (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.3: Oct 08, 2016 Message translated in user's usage report. (206255 lines) + Version 16.17.2: Oct 08, 2016 Message translated in user's usage report. (206233 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 26285cca9..e08601867 100644 --- a/swad_report.c +++ b/swad_report.c @@ -783,6 +783,7 @@ static void Rep_WriteSectionHitsPerAction (const struct UsrFigures *UsrFigures) 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]; + extern const char *Txt_Other_actions; char Query[512]; MYSQL_RES *mysql_res; MYSQL_ROW row; @@ -843,9 +844,9 @@ static void Rep_WriteSectionHitsPerAction (const struct UsrFigures *UsrFigures) /***** Draw bar for the rest of the clicks *****/ if (UsrFigures->NumClicks > NumClicks) - fprintf (Gbl.F.Rep,"%ld (%s)
", + fprintf (Gbl.F.Rep,"%ld %s
", UsrFigures->NumClicks - NumClicks, - "otras acciones"); // TODO: Need translation!!!! + Txt_Other_actions); /***** Free structure that stores the query result *****/ DB_FreeMySQLResult (&mysql_res); diff --git a/swad_text.c b/swad_text.c index 2be00922c..6b259c539 100644 --- a/swad_text.c +++ b/swad_text.c @@ -27502,6 +27502,27 @@ const char *Txt_Original_message = "Mensagem original"; #endif +const char *Txt_Other_actions = +#if L==1 + "Altres accions"; +#elif L==2 + "Andere Handlungen"; +#elif L==3 + "Other actions"; +#elif L==4 + "Otras acciones"; +#elif L==5 + "Autres actions"; +#elif L==6 + "Otras acciones"; // Okoteve traducción +#elif L==7 + "Altri azioni"; +#elif L==8 + "Inne działania"; +#elif L==9 + "Outras ações"; +#endif + const char *Txt_Other_countries = #if L==1 "Altres països";