mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-15 21:24:07 +02:00
Version 15.40.7
This commit is contained in:
parent
a52373a117
commit
8c294883af
|
@ -111,11 +111,12 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.40.6 (2015/11/19)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.40.7 (2015/11/20)"
|
||||
|
||||
// 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 15.40.7: Nov 20, 2015 New help button to register students in courses without them. (187319 lines)
|
||||
Version 15.40.6: Nov 20, 2015 New button to register students in courses without them.
|
||||
New buttons to create institution, centre, degree and course. (187285 lines)
|
||||
Version 15.40.5: Nov 19, 2015 Code refactoring in degrees. (187274 lines)
|
||||
|
|
18
swad_help.c
18
swad_help.c
|
@ -74,8 +74,8 @@ void Hlp_ShowHelpWhatWouldYouLikeToDo (void)
|
|||
extern const char *Txt_You_can_search_for_courses_select_them_and_request_your_enrollment_in_them;
|
||||
extern const char *Txt_If_you_can_not_find_your_institution_your_centre_your_degree_or_your_courses_you_can_create_them;
|
||||
extern const char *Txt_What_would_you_like_to_do;
|
||||
extern const char *Txt_Upload_my_picture;
|
||||
extern const char *Txt_Upload_photo;
|
||||
extern const char *Txt_Register_students_in_the_course_X;
|
||||
extern const char *Txt_Register_students;
|
||||
extern const char *Txt_Go_to_one_of_my_courses;
|
||||
extern const char *Txt_My_courses;
|
||||
extern const char *Txt_Sign_up;
|
||||
|
@ -97,6 +97,8 @@ void Hlp_ShowHelpWhatWouldYouLikeToDo (void)
|
|||
extern const char *Txt_Select_another_country;
|
||||
extern const char *Txt_Select_one_country;
|
||||
extern const char *Txt_Countries;
|
||||
extern const char *Txt_Upload_my_picture;
|
||||
extern const char *Txt_Upload_photo;
|
||||
extern const char *Txt_Log_in;
|
||||
extern const char *Txt_New_on_PLATFORM_Sign_up;
|
||||
extern const char *Txt_Create_account;
|
||||
|
@ -120,6 +122,18 @@ void Hlp_ShowHelpWhatWouldYouLikeToDo (void)
|
|||
{
|
||||
if (Gbl.Usrs.Me.MyCourses.Num) // I am enrolled in some courses
|
||||
{
|
||||
if (Gbl.CurrentCrs.Crs.CrsCod > 0 && // Course selected
|
||||
!Gbl.CurrentCrs.Crs.NumStds && // Current course has no students
|
||||
Gbl.Usrs.Me.UsrDat.RoleInCurrentCrsDB == Rol_TEACHER) // I am a teacher in current course
|
||||
{
|
||||
/* Request students enrollment */
|
||||
sprintf (Gbl.Title,Txt_Register_students_in_the_course_X,
|
||||
Gbl.CurrentCrs.Crs.ShortName);
|
||||
Hlp_ShowRowHelpWhatWouldYouLikeToDo (Gbl.Title,
|
||||
ActReqEnrSevStd,
|
||||
"BT_CONFIRM",Txt_Register_students);
|
||||
}
|
||||
|
||||
if (Gbl.CurrentAct != ActMyCrs) // I am not seeing the action to list my courses
|
||||
/* Request list my courses */
|
||||
Hlp_ShowRowHelpWhatWouldYouLikeToDo (Txt_Go_to_one_of_my_courses,
|
||||
|
|
21
swad_text.c
21
swad_text.c
|
@ -28318,6 +28318,27 @@ const char *Txt_Register_students =
|
|||
"Registrar estudantes";
|
||||
#endif
|
||||
|
||||
const char *Txt_Register_students_in_the_course_X = // Warning: it is very important to include %s in the following sentences
|
||||
#if L==0
|
||||
"Inscriure estudiants en l'assignatura <strong>%s</strong>";
|
||||
#elif L==1
|
||||
"Anmeldung Studenten im Kurs <strong>%s</strong>";
|
||||
#elif L==2
|
||||
"Register students in the course <strong>%s</strong>";
|
||||
#elif L==3
|
||||
"Inscribir estudiantes en la asignatura <strong>%s</strong>";
|
||||
#elif L==4
|
||||
"Inscrire étudiants dans la matière <strong>%s</strong>";
|
||||
#elif L==5
|
||||
"Inscribir estudiantes en la asignatura <strong>%s</strong>"; // Okoteve traducción
|
||||
#elif L==6
|
||||
"Registrare studenti nel corso <strong>%s</strong>";
|
||||
#elif L==7
|
||||
"Rejestracja studentów w kurs <strong>%s</strong>";
|
||||
#elif L==8
|
||||
"Registrar estudantes na disciplina <strong>%s</strong>";
|
||||
#endif
|
||||
|
||||
const char *Txt_Register_the_users_indicated_in_step_1 =
|
||||
#if L==0
|
||||
"Añadir (inscribir los usuarios indicados en el paso 1)"; // Necessita traduccio
|
||||
|
|
Loading…
Reference in New Issue
Block a user