Version 21.102: Jun 28, 2022 Subtitles in menus is got from text of actions.

This commit is contained in:
acanas 2022-06-28 11:13:50 +02:00
parent 2fef64ca85
commit 1676353a6f
5 changed files with 3 additions and 2110 deletions

View File

@ -3916,20 +3916,6 @@ const char *Act_GetTitleAction (Act_Action_t 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 *********************/
/*****************************************************************************/

View File

@ -1786,7 +1786,6 @@ void (*Act_GetFunctionPosteriori (Act_Action_t Action)) (void);
const char *Act_GetIcon (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);
void Act_AdjustActionWhenNoUsrLogged (void);

View File

@ -606,11 +606,12 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
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 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: Jun 23, 2022 Changes in calendar.
Some messages translated. (331107 lines)

View File

@ -245,7 +245,6 @@ void Mnu_WriteMenuThisTab (void)
{
IsTheSelectedAction = (NumAct == Act_GetSuperAction (Gbl.Action.Act));
// Title = Act_GetSubtitleAction (NumAct);
Title = Act_GetActionText (NumAct);
/***** Begin option *****/

File diff suppressed because it is too large Load Diff