mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-14 12:44:09 +02:00
Version 16.251.1
This commit is contained in:
parent
7c792da586
commit
de4185ba70
|
@ -236,13 +236,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.251 (2017-07-16)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.251.1 (2017-07-16)"
|
||||
#define CSS_FILE "swad16.235.1.css"
|
||||
#define JS_FILE "swad16.206.3.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.251.1: Jul 16, 2017 Listing games for remote control. Not finished. (226888 lines)
|
||||
Version 16.251: Jul 16, 2017 Listing games for remote control. Not finished. (226867 lines)
|
||||
19 changes necessary in database:
|
||||
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1648','es','N','Cambiar lugar de centro');
|
||||
|
|
|
@ -143,8 +143,8 @@ static void Rmt_FreeTextChoiceAnswer (struct GameQuestion *GameQst,unsigned NumA
|
|||
static unsigned Rmt_GetQstIndFromQstCod (long QstCod);
|
||||
static unsigned Rmt_GetNextQuestionIndexInGame (long GamCod);
|
||||
static void Rmt_ListGameQuestions (struct Game *Game,struct GameQuestion *GameQst);
|
||||
static void Rmt_PutIconToAddNewQuestion (void);
|
||||
static void Rmt_PutButtonToCreateNewQuestion (void);
|
||||
static void Rmt_PutIconToAddNewQuestions (void);
|
||||
static void Rmt_PutButtonToAddNewQuestions (void);
|
||||
static void Rmt_WriteQstStem (const char *Stem);
|
||||
static void Rmt_WriteAnswersOfAQst (struct Game *Game,struct GameQuestion *GameQst,bool PutFormAnswerGame);
|
||||
static void Rmt_DrawBarNumUsrs (unsigned NumUsrs,unsigned MaxUsrs);
|
||||
|
@ -2986,7 +2986,7 @@ static void Rmt_ListGameQuestions (struct Game *Game,struct GameQuestion *GameQs
|
|||
|
||||
/***** Start box *****/
|
||||
Gbl.Games.GamCodToEdit = Game->GamCod;
|
||||
Box_StartBox (NULL,Txt_Questions,Game->Status.ICanEdit ? Rmt_PutIconToAddNewQuestion :
|
||||
Box_StartBox (NULL,Txt_Questions,Game->Status.ICanEdit ? Rmt_PutIconToAddNewQuestions :
|
||||
NULL,
|
||||
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
|
||||
|
||||
|
@ -3102,7 +3102,7 @@ static void Rmt_ListGameQuestions (struct Game *Game,struct GameQuestion *GameQs
|
|||
(!NumQsts || // This game has no questions
|
||||
Editing)) // I am editing
|
||||
/***** Put button to add a new question in this game *****/
|
||||
Rmt_PutButtonToCreateNewQuestion ();
|
||||
Rmt_PutButtonToAddNewQuestions ();
|
||||
|
||||
/***** Free structure that stores the query result *****/
|
||||
DB_FreeMySQLResult (&mysql_res);
|
||||
|
@ -3112,31 +3112,31 @@ static void Rmt_ListGameQuestions (struct Game *Game,struct GameQuestion *GameQs
|
|||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/***************** Put icon to add a new question to game ******************/
|
||||
/***************** Put icon to add a new questions to game *******************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Rmt_PutIconToAddNewQuestion (void)
|
||||
static void Rmt_PutIconToAddNewQuestions (void)
|
||||
{
|
||||
extern const char *Txt_New_question;
|
||||
extern const char *Txt_Add_questions;
|
||||
|
||||
/***** Put form to create a new question *****/
|
||||
Lay_PutContextualLink (ActEdiOneGamQst,NULL,Rmt_PutParams,
|
||||
"plus64x64.png",
|
||||
Txt_New_question,NULL,
|
||||
Txt_Add_questions,NULL,
|
||||
NULL);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**************** Put button to add a new question to game *****************/
|
||||
/***************** Put button to add new questions to game *******************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Rmt_PutButtonToCreateNewQuestion (void)
|
||||
static void Rmt_PutButtonToAddNewQuestions (void)
|
||||
{
|
||||
extern const char *Txt_New_question;
|
||||
extern const char *Txt_Add_questions;
|
||||
|
||||
Act_FormStart (ActEdiOneGamQst);
|
||||
Rmt_PutParams ();
|
||||
Btn_PutConfirmButton (Txt_New_question);
|
||||
Btn_PutConfirmButton (Txt_Add_questions);
|
||||
Act_FormEnd ();
|
||||
}
|
||||
|
||||
|
|
25
swad_text.c
25
swad_text.c
|
@ -2823,6 +2823,27 @@ const char *Txt_Another_user_s_profile =
|
|||
"Perfil de outro usuário";
|
||||
#endif
|
||||
|
||||
const char *Txt_Add_questions =
|
||||
#if L==1
|
||||
"Afegir preguntes";
|
||||
#elif L==2
|
||||
"Fügen Fragen";
|
||||
#elif L==3
|
||||
"Add questions";
|
||||
#elif L==4
|
||||
"Añadir preguntas";
|
||||
#elif L==5
|
||||
"Ajouter questions";
|
||||
#elif L==6
|
||||
"Añadir preguntas"; // Okoteve traducción
|
||||
#elif L==7
|
||||
"Aggiungere domande";
|
||||
#elif L==8
|
||||
"Dodaj pytania";
|
||||
#elif L==9
|
||||
"Adicionar questões";
|
||||
#endif
|
||||
|
||||
const char *Txt_Add_this_ID =
|
||||
#if L==1
|
||||
"Afegir aquest ID";
|
||||
|
@ -2837,9 +2858,9 @@ const char *Txt_Add_this_ID =
|
|||
#elif L==6
|
||||
"Añadir este ID"; // Okoteve traducción
|
||||
#elif L==7
|
||||
"Aggiungi questa carta d'identità";
|
||||
"Aggiungere questa carta d'identità";
|
||||
#elif L==8
|
||||
"Add this ID"; // Potrzebujesz tlumaczenie
|
||||
"Dodaj ten identyfikator";
|
||||
#elif L==9
|
||||
"Adicionar este nº identif.";
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user