Language: Fix language variables in sessions

pull/5665/head
Yannick Warnier 1 year ago
parent f05c6adff5
commit 983ba90154
  1. 2
      public/main/inc/lib/sessionmanager.lib.php
  2. 2
      public/main/session/session_list.php
  3. 9
      translations/messages.en.po
  4. 9
      translations/messages.pot

@ -9745,7 +9745,7 @@ class SessionManager
'url' => api_get_path(WEB_CODE_PATH).'session/session_list.php?list_type=close',
],
[
'content' => get_lang('Custom sessions'),
'content' => get_lang('Custom list'),
'url' => api_get_path(WEB_CODE_PATH).'session/session_list.php?list_type=custom',
],
/*[

@ -355,7 +355,7 @@ $actionsLeft = '<a href="'.api_get_path(WEB_CODE_PATH).'session/session_add.php"
Display::getMdiIcon('google-classroom', 'ch-tool-icon-gradient', null, 32, get_lang('Add a training session')).'</a>';
if (api_is_platform_admin()) {
$actionsLeft .= '<a href="'.api_get_path(WEB_CODE_PATH).'session/add_many_session_to_category.php">'.
Display::getMdiIcon('tab-plus', 'ch-tool-icon-gradient', null, 32, get_lang('Add a training sessionsInCategories')).'</a>';
Display::getMdiIcon('tab-plus', 'ch-tool-icon-gradient', null, 32, get_lang('Add training sessions to categories')).'</a>';
$actionsLeft .= '<a href="'.api_get_path(WEB_CODE_PATH).'session/session_category_list.php">'.
Display::getMdiIcon('file-tree-outline', 'ch-tool-icon-gradient', null, 32, get_lang('Sessions categories list')).'</a>';
}

@ -27648,3 +27648,12 @@ msgstr "Some more elements"
msgid "Student boss"
msgstr "Student boss"
msgid "All sessions"
msgstr "All sessions"
msgid "Closed sessions"
msgstr "Closed sessions"
msgid "Add training sessions to categories"
msgstr "Add training sessions to categories"

@ -27647,3 +27647,12 @@ msgstr ""
msgid "Student boss"
msgstr ""
msgid "All sessions"
msgstr ""
msgid "Closed sessions"
msgstr ""
msgid "Add training sessions to categories"
msgstr ""

Loading…
Cancel
Save