From 97988496c9d79128f84c5655de239b4a09e59106 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Thu, 11 May 2023 09:59:07 +0200 Subject: [PATCH] [Translation] Translated the menu and header --- application/language/english/menu_lang.php | 78 +++++++++++ application/views/interface_assets/header.php | 132 +++++++++--------- system/core/Controller.php | 5 + 3 files changed, 149 insertions(+), 66 deletions(-) create mode 100644 application/language/english/menu_lang.php diff --git a/application/language/english/menu_lang.php b/application/language/english/menu_lang.php new file mode 100644 index 00000000..5a2ebcb2 --- /dev/null +++ b/application/language/english/menu_lang.php @@ -0,0 +1,78 @@ +
- Cloudlog Developer Mode + Cloudlog lang->line('menu_badge_developer_mode'); ?> @@ -60,28 +60,28 @@ diff --git a/system/core/Controller.php b/system/core/Controller.php index ac27989f..7f18885c 100644 --- a/system/core/Controller.php +++ b/system/core/Controller.php @@ -84,6 +84,11 @@ class CI_Controller { $this->load =& load_class('Loader', 'core'); $this->load->initialize(); + + $this->lang->load(array( + 'menu' + )); + log_message('info', 'Controller Class Initialized'); }