mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 19:46:21 +05:30
The language key always lowercase
Change it in bulk using simple php code
This commit is contained in:
parent
e0cd34b5cf
commit
d8128c6ae6
21 changed files with 5506 additions and 5776 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue