Language: Fix language variables in admin page

pull/5665/head
Yannick Warnier 4 months ago
parent 983ba90154
commit b33f2722cd
  1. 8
      src/CoreBundle/Controller/Admin/IndexBlocksController.php
  2. 18
      translations/messages.en.po
  3. 18
      translations/messages.pot

@ -151,7 +151,7 @@ class IndexBlocksController extends BaseController
$items[] = [ $items[] = [
'class' => 'item-user-import', 'class' => 'item-user-import',
'url' => $this->generateUrl('legacy_main', ['name' => 'admin/user_import.php']), 'url' => $this->generateUrl('legacy_main', ['name' => 'admin/user_import.php']),
'label' => $this->translator->trans('Import users listImport users list'), 'label' => $this->translator->trans('Import users list'),
]; ];
$items[] = [ $items[] = [
'class' => 'item-user-import-update', 'class' => 'item-user-import-update',
@ -494,19 +494,19 @@ class IndexBlocksController extends BaseController
$items[] = [ $items[] = [
'class' => 'item-lti-admin', 'class' => 'item-lti-admin',
'url' => $this->generateUrl('chamilo_lti_admin'), 'url' => $this->generateUrl('chamilo_lti_admin'),
'label' => $this->translator->trans('External tools'), 'label' => $this->translator->trans('External tools (LTI)'),
]; ];
$items[] = [ $items[] = [
'class' => 'item-contact-category-admin', 'class' => 'item-contact-category-admin',
'url' => $this->generateUrl('chamilo_contact_category_index'), 'url' => $this->generateUrl('chamilo_contact_category_index'),
'label' => $this->translator->trans('Contact categories'), 'label' => $this->translator->trans('Contact form categories'),
]; ];
$items[] = [ $items[] = [
'class' => 'item-system-template-admin', 'class' => 'item-system-template-admin',
'url' => $this->generateUrl('legacy_main', ['name' => 'admin/settings.php', 'category' => 'Templates']), 'url' => $this->generateUrl('legacy_main', ['name' => 'admin/settings.php', 'category' => 'Templates']),
'label' => $this->translator->trans('System Templates'), 'label' => $this->translator->trans('System templates'),
]; ];
return $items; return $items;

@ -27657,3 +27657,21 @@ msgstr "Closed sessions"
msgid "Add training sessions to categories" msgid "Add training sessions to categories"
msgstr "Add training sessions to categories" msgstr "Add training sessions to categories"
msgid "News from Chamilo"
msgstr "News from Chamilo"
msgid "System templates"
msgstr "System templates"
msgid "Contact form categories"
msgstr "Contact form categories"
msgid "External tools (LTI)"
msgstr "External tools (LTI)"
msgid "Add course"
msgstr "Add course"
msgid "Add a user to a course"
msgstr "Add a user to a course"

@ -27656,3 +27656,21 @@ msgstr ""
msgid "Add training sessions to categories" msgid "Add training sessions to categories"
msgstr "" msgstr ""
msgid "News from Chamilo"
msgstr ""
msgid "System templates"
msgstr ""
msgid "Contact form categories"
msgstr ""
msgid "External tools (LTI)"
msgstr ""
msgid "Add course"
msgstr ""
msgid "Add a user to a course"
msgstr ""

Loading…
Cancel
Save