From 78081b31ce96511f806ebe6b71de8163a0f02d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 2 Oct 2016 19:55:12 +0200 Subject: [PATCH] Version 16.6.1 --- swad_changelog.h | 3 ++- swad_report.c | 3 ++- swad_text.c | 27 ++++++++++++++++++++++++--- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index d8ba80353..e59e306a4 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -143,13 +143,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.6 (2016-10-02)" +#define Log_PLATFORM_VERSION "SWAD 16.6.1 (2016-10-02)" #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.6.1: Oct 02, 2016 Message translated. (205454 lines) Version 16.6: Oct 02, 2016 Hits in historic courses in user's usage report. (205432 lines) Version 16.5: Oct 02, 2016 Changes in hits in current courses in user's usage report. (205364 lines) Version 16.4.1: Sep 29, 2016 Changes in hits in current courses in user's usage report. (205316 lines) diff --git a/swad_report.c b/swad_report.c index f4c9f5d2b..bdbc789a8 100644 --- a/swad_report.c +++ b/swad_report.c @@ -595,6 +595,7 @@ static void Rep_WriteRowCrsData (long CrsCod,Rol_Role_t Role, extern const char *Txt_YEAR_OF_DEGREE[1+Deg_MAX_YEARS_PER_DEGREE]; extern const char *Txt_teachers_ABBREVIATION; extern const char *Txt_students_ABBREVIATION; + extern const char *Txt_no_course_selected; struct Course Crs; struct Degree Deg; @@ -632,7 +633,7 @@ static void Rep_WriteRowCrsData (long CrsCod,Rol_Role_t Role, fprintf (Gbl.F.Out,"(asignatura desconocida/eliminada)"); // TODO: Need translation } else // CrsCod <= 0 in log ==> no course selected - fprintf (Gbl.F.Out,"(asignatura no seleccionada)"); // TODO: Need translation + fprintf (Gbl.F.Out,"(%s)",Txt_no_course_selected); /***** Write hits per year for this course *****/ fprintf (Gbl.F.Out,"
"); diff --git a/swad_text.c b/swad_text.c index 07d3ac921..3821319c4 100644 --- a/swad_text.c +++ b/swad_text.c @@ -13980,11 +13980,11 @@ const char *Txt_Hits = // hits = visits, clicks, page views... #elif L==3 "Hits"; #elif L==4 - "Accesos"; + "Accesos (clics)"; #elif L==5 "Visites"; #elif L==6 - "Accesos"; // Okoteve traducción + "Accesos (clics)"; // Okoteve traducción #elif L==7 "Visite"; #elif L==8 @@ -23875,11 +23875,32 @@ const char *Txt_no_course_of_origin = // Means: "message sent from any course" #elif L==7 "senza corso di origine"; #elif L==8 - "Oczywiscie nie pochodzenia"; + "kurs nie pochodzenia"; #elif L==9 "no course of origin"; // Necessita de tradução #endif +const char *Txt_no_course_selected = +#if L==1 + "cap assignatura seleccionada"; +#elif L==2 + "kein Kurs ausgewählt"; +#elif L==3 + "no course selected"; +#elif L==4 + "ninguna asignatura seleccionada"; +#elif L==5 + "pas de matière choisi"; +#elif L==6 + "ninguna asignatura seleccionada"; +#elif L==7 + "nessun corso scelto"; +#elif L==8 + "kurs nie jest wybrany"; +#elif L==9 + "nenhuma disciplina seleccionada"; +#endif + const char *Txt_No_centres = #if L==1 "No hi ha centres.";