mirror of https://github.com/acanas/swad-core.git
Version 21.102: Jun 28, 2022 Subtitles in menus is got from text of actions.
This commit is contained in:
parent
2fef64ca85
commit
1676353a6f
|
@ -3916,20 +3916,6 @@ const char *Act_GetTitleAction (Act_Action_t Action)
|
||||||
return Txt_MENU_TITLE[Act_GetTab (Action)][Act_GetIndexInMenu (Action)];
|
return Txt_MENU_TITLE[Act_GetTab (Action)][Act_GetIndexInMenu (Action)];
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
|
||||||
/****************** Get the subtitle associated to an action *****************/
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
const char *Act_GetSubtitleAction (Act_Action_t Action)
|
|
||||||
{
|
|
||||||
extern const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB];
|
|
||||||
|
|
||||||
if (Action < 0 || Action >= Act_NUM_ACTIONS)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
return Txt_MENU_SUBTITLE[Act_GetTab (Action)][Act_GetIndexInMenu (Action)];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/********************* Get text for action from database *********************/
|
/********************* Get text for action from database *********************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -1786,7 +1786,6 @@ void (*Act_GetFunctionPosteriori (Act_Action_t Action)) (void);
|
||||||
const char *Act_GetIcon (Act_Action_t Action);
|
const char *Act_GetIcon (Act_Action_t Action);
|
||||||
|
|
||||||
const char *Act_GetTitleAction (Act_Action_t Action);
|
const char *Act_GetTitleAction (Act_Action_t Action);
|
||||||
const char *Act_GetSubtitleAction (Act_Action_t Action);
|
|
||||||
const char *Act_GetActionText (Act_Action_t Action);
|
const char *Act_GetActionText (Act_Action_t Action);
|
||||||
|
|
||||||
void Act_AdjustActionWhenNoUsrLogged (void);
|
void Act_AdjustActionWhenNoUsrLogged (void);
|
||||||
|
|
|
@ -606,11 +606,12 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
|
||||||
|
|
||||||
TODO: Attach pdf files in multimedia.
|
TODO: Attach pdf files in multimedia.
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 21.101 (2022-06-28)"
|
#define Log_PLATFORM_VERSION "SWAD 21.102 (2022-06-28)"
|
||||||
#define CSS_FILE "swad21.100.css"
|
#define CSS_FILE "swad21.100.css"
|
||||||
#define JS_FILE "swad21.100.js"
|
#define JS_FILE "swad21.100.js"
|
||||||
/*
|
/*
|
||||||
Version 21.101: Jun 28, 2022 Preparation for Turkish translation.. (331564 lines)
|
Version 21.102: Jun 28, 2022 Subtitles in menus is got from text of actions. (329462 lines)
|
||||||
|
Version 21.101: Jun 28, 2022 Preparation for Turkish translation. (331564 lines)
|
||||||
Version 21.100.1: Jun 24, 2022 Some messages translated to Turkish. (331273 lines)
|
Version 21.100.1: Jun 24, 2022 Some messages translated to Turkish. (331273 lines)
|
||||||
Version 21.100: Jun 23, 2022 Changes in calendar.
|
Version 21.100: Jun 23, 2022 Changes in calendar.
|
||||||
Some messages translated. (331107 lines)
|
Some messages translated. (331107 lines)
|
||||||
|
|
|
@ -245,7 +245,6 @@ void Mnu_WriteMenuThisTab (void)
|
||||||
{
|
{
|
||||||
IsTheSelectedAction = (NumAct == Act_GetSuperAction (Gbl.Action.Act));
|
IsTheSelectedAction = (NumAct == Act_GetSuperAction (Gbl.Action.Act));
|
||||||
|
|
||||||
// Title = Act_GetSubtitleAction (NumAct);
|
|
||||||
Title = Act_GetActionText (NumAct);
|
Title = Act_GetActionText (NumAct);
|
||||||
|
|
||||||
/***** Begin option *****/
|
/***** Begin option *****/
|
||||||
|
|
2092
swad_text.c
2092
swad_text.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue