mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-28 20:43:27 +02:00
Version18.118.4
This commit is contained in:
parent
b0672eae6b
commit
ff45922d8c
|
@ -448,10 +448,11 @@ En OpenSWAD:
|
|||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.118.3 (2019-04-22)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.118.4 (2019-04-23)"
|
||||
#define CSS_FILE "swad18.112.1.css"
|
||||
#define JS_FILE "swad18.116.5.js"
|
||||
/*
|
||||
Version 18.118.4: Apr 23, 2019 Changes in file browser. (242518 lines)
|
||||
Version 18.118.3: Apr 22, 2019 Changed the behaviour of creating zip in file browser. (242545 lines)
|
||||
Version 18.118.2: Apr 22, 2019 Removed unused code related to hidden_params table. (242545 lines)
|
||||
Version 18.118.1: Apr 22, 2019 Removed unused code related to hidden_params table. (242682 lines)
|
||||
|
|
|
@ -6304,8 +6304,8 @@ static void Brw_PutButtonToDownloadZIPOfAFolder (const char *PathInTree,const ch
|
|||
static void Brw_WriteFileName (unsigned Level,bool IsPublic,
|
||||
const char *PathInTree,const char *FileName,const char *FileNameToShow)
|
||||
{
|
||||
extern const char *Txt_Check_marks_in_file_X;
|
||||
extern const char *Txt_Download_FILE_OR_LINK_X;
|
||||
extern const char *Txt_Check_marks_in_the_file;
|
||||
extern const char *Txt_Download;
|
||||
extern const char *Txt_Public_open_educational_resource_OER_for_everyone;
|
||||
|
||||
/***** Name and link of the folder, file or link *****/
|
||||
|
@ -6377,12 +6377,10 @@ static void Brw_WriteFileName (unsigned Level,bool IsPublic,
|
|||
Gbl.FileBrowser.FileType,-1L);
|
||||
|
||||
/* Link to the form and to the file */
|
||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||
(Gbl.FileBrowser.Type == Brw_SHOW_MRK_CRS ||
|
||||
Gbl.FileBrowser.Type == Brw_SHOW_MRK_GRP) ? Txt_Check_marks_in_file_X :
|
||||
Txt_Download_FILE_OR_LINK_X,
|
||||
FileNameToShow);
|
||||
Frm_LinkFormSubmit (Gbl.Title,Gbl.FileBrowser.TxtStyle,NULL);
|
||||
Frm_LinkFormSubmit ((Gbl.FileBrowser.Type == Brw_SHOW_MRK_CRS ||
|
||||
Gbl.FileBrowser.Type == Brw_SHOW_MRK_GRP) ? Txt_Check_marks_in_the_file :
|
||||
Txt_Download,
|
||||
Gbl.FileBrowser.TxtStyle,NULL);
|
||||
fprintf (Gbl.F.Out,"%s</a>",
|
||||
FileNameToShow);
|
||||
Frm_EndForm ();
|
||||
|
@ -10104,7 +10102,7 @@ static void Brw_WriteBigLinkToDownloadFile (const char *URL,
|
|||
struct FileMetadata *FileMetadata,
|
||||
const char *FileNameToShow)
|
||||
{
|
||||
extern const char *Txt_Check_marks_in_file_X;
|
||||
extern const char *Txt_Check_marks_in_the_file;
|
||||
extern const char *Txt_Download;
|
||||
|
||||
/***** On the screen a link will be shown to download the file *****/
|
||||
|
@ -10119,10 +10117,7 @@ static void Brw_WriteBigLinkToDownloadFile (const char *URL,
|
|||
FileMetadata->FileType,-1L);
|
||||
|
||||
/* Link begin */
|
||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||
Txt_Check_marks_in_file_X,
|
||||
FileNameToShow);
|
||||
Frm_LinkFormSubmit (Gbl.Title,"FILENAME_TXT",NULL);
|
||||
Frm_LinkFormSubmit (Txt_Check_marks_in_the_file,"FILENAME_TXT",NULL);
|
||||
Brw_PutIconFile (32,FileMetadata->FileType,FileMetadata->FilFolLnkName);
|
||||
|
||||
/* Name of the file of marks, link end and form end */
|
||||
|
@ -10132,7 +10127,7 @@ static void Brw_WriteBigLinkToDownloadFile (const char *URL,
|
|||
" class=\"ICO40x40\" />"
|
||||
"</a>",
|
||||
FileNameToShow,Cfg_URL_ICON_PUBLIC,
|
||||
Gbl.Title,Gbl.Title);
|
||||
Txt_Check_marks_in_the_file,Txt_Check_marks_in_the_file);
|
||||
Frm_EndForm ();
|
||||
}
|
||||
else
|
||||
|
@ -10162,7 +10157,7 @@ static void Brw_WriteBigLinkToDownloadFile (const char *URL,
|
|||
static void Brw_WriteSmallLinkToDownloadFile (const char *URL,Brw_FileType_t FileType,
|
||||
const char *FileNameToShow)
|
||||
{
|
||||
extern const char *Txt_Check_marks_in_file_X;
|
||||
extern const char *Txt_Check_marks_in_the_file;
|
||||
|
||||
/***** On the screen a link will be shown to download the file *****/
|
||||
if (Gbl.FileBrowser.Type == Brw_SHOW_MRK_CRS ||
|
||||
|
@ -10176,10 +10171,7 @@ static void Brw_WriteSmallLinkToDownloadFile (const char *URL,Brw_FileType_t Fil
|
|||
FileType,-1L);
|
||||
|
||||
/* Link begin */
|
||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||
Txt_Check_marks_in_file_X,
|
||||
FileNameToShow);
|
||||
Frm_LinkFormSubmit (Gbl.Title,"DAT",NULL);
|
||||
Frm_LinkFormSubmit (Txt_Check_marks_in_the_file,"DAT",NULL);
|
||||
|
||||
/* Name of the file of marks, link end and form end */
|
||||
fprintf (Gbl.F.Out,"%s</a>",FileNameToShow);
|
||||
|
|
41
swad_text.c
41
swad_text.c
|
@ -3765,25 +3765,25 @@ const char *Txt_Check_another_ID =
|
|||
"Verificar outra ID?";
|
||||
#endif
|
||||
|
||||
const char *Txt_Check_marks_in_file_X = // Warning: it is very important to include %s in the following sentences
|
||||
const char *Txt_Check_marks_in_the_file =
|
||||
#if L==1 // ca
|
||||
"Consultar qualificacions en el fitxer %s";
|
||||
"Consultar qualificacions al fitxer";
|
||||
#elif L==2 // de
|
||||
"Bewertung in Datei %s abrufen";
|
||||
"Überprüfen Sie die Noten in der Datei";
|
||||
#elif L==3 // en
|
||||
"Check marks in file %s";
|
||||
"Check marks in the file";
|
||||
#elif L==4 // es
|
||||
"Consultar calificaciones en el archivo %s";
|
||||
"Consultar calificaciones en el archivo";
|
||||
#elif L==5 // fr
|
||||
"Check marks in file %s"; // Besoin de traduction
|
||||
"Consulter les notes dans le fichier";
|
||||
#elif L==6 // gn
|
||||
"Consultar calificaciones en el archivo %s"; // Okoteve traducción
|
||||
"Consultar calificaciones en el archivo"; // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Consultare i risultati nel file %s";
|
||||
"Consultare le valutazioni nel file";
|
||||
#elif L==8 // pl
|
||||
"Zaznaczenia w pliku %s";
|
||||
"Sprawdź oceny w pliku";
|
||||
#elif L==9 // pt
|
||||
"Verifique notas no arquivo %s";
|
||||
"Verifique as notas no arquivo";
|
||||
#endif
|
||||
|
||||
const char *Txt_Classroom =
|
||||
|
@ -9495,27 +9495,6 @@ const char *Txt_Download = // As a verb
|
|||
"Baixar";
|
||||
#endif
|
||||
|
||||
const char *Txt_Download_FILE_OR_LINK_X = // Warning: it is very important to include %s in the following sentences
|
||||
#if L==1 // ca
|
||||
"Descarregar %s";
|
||||
#elif L==2 // de
|
||||
"Laden Sie %s";
|
||||
#elif L==3 // en
|
||||
"Download %s";
|
||||
#elif L==4 // es
|
||||
"Descargar %s";
|
||||
#elif L==5 // fr
|
||||
"Télécharger %s";
|
||||
#elif L==6 // gn
|
||||
"Descargar %s"; // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Scarica %s";
|
||||
#elif L==8 // pl
|
||||
"Pobierz %s";
|
||||
#elif L==9 // pt
|
||||
"Download %s";
|
||||
#endif
|
||||
|
||||
const char *Txt_download = // As a noun
|
||||
#if L==1 // ca
|
||||
"descàrrega";
|
||||
|
|
Loading…
Reference in New Issue
Block a user