The language key always lowercase

Change it in bulk using simple php code
This commit is contained in:
danpros 2024-01-08 10:43:48 +07:00
commit d8128c6ae6
21 changed files with 5506 additions and 5776 deletions

View file

@ -69,6 +69,7 @@ function error($code, $message)
function i18n($key, $value = null)
{
static $_i18n = array();
$key = strtolower($key);
if ($key === 'source') {
if (file_exists($value))