From 0ed1c61c813af408e3fe303457f9191100147d17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 6 Apr 2015 23:38:35 +0200 Subject: [PATCH] Version 14.109.2 --- swad_changelog.h | 3 ++- swad_file_browser.c | 5 +++-- swad_text.c | 21 +++++++++++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index c69a1a731..3656741c2 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -103,11 +103,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.109.1 (2015/04/06)" +#define Log_PLATFORM_VERSION "SWAD 14.109.2 (2015/04/06)" // 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 14.109.2: Apr 06, 2015 Changed text in file browser. (184347 lines) Version 14.109.1: Apr 06, 2015 Changed text of button in course info. (184325 lines) Version 14.109: Apr 06, 2015 Links in file browsers can be uploaded with a name. (184324 lines) Version 14.108.4: Apr 04, 2015 Changes in statistic about institutions. (184267 lines) diff --git a/swad_file_browser.c b/swad_file_browser.c index 2d9154b43..9ce696c19 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -7861,6 +7861,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow) extern const char *Txt_or_you_can_create_a_new_link_inside_the_folder_X; extern const char *Txt_URL; extern const char *Txt_Save_as; + extern const char *Txt_optional; /***** Start frame *****/ Lay_StartRoundFrameTable10 (NULL,0,Txt_Create_link); @@ -7905,7 +7906,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow) /* Link name */ fprintf (Gbl.F.Out,"" "" - "" + "" "" "" "" "" "", - The_ClassFormul[Gbl.Prefs.Theme],Txt_Save_as); + The_ClassFormul[Gbl.Prefs.Theme],Txt_Save_as,Txt_optional); /* Button to send */ Lay_PutCreateButton (Txt_Create_link); diff --git a/swad_text.c b/swad_text.c index 19b0b70a6..9b79a7f37 100644 --- a/swad_text.c +++ b/swad_text.c @@ -25723,6 +25723,27 @@ const char *Txt_Option_under_development = "Opção em desenvolvimento."; #endif +const char *Txt_optional = +#if L==0 + "opcional"; +#elif L==1 + "wahlweise"; +#elif L==2 + "optional"; +#elif L==3 + "opcional"; +#elif L==4 + "en option"; +#elif L==5 + "opcional"; // Okoteve traducción +#elif L==6 + "opzionale"; +#elif L==7 + "do wyboru"; +#elif L==8 + "opcional"; +#endif + const char *Txt_or_you_can_create_a_new_link_inside_the_folder_X = // Warning: it is very important to include %s in the following sentences #if L==0 "...o pot crear un novo enllaç"