remove debug codes
This commit is contained in:
parent
e2dd39dfdd
commit
0e6320e5a3
4
base.php
4
base.php
|
@ -140,12 +140,8 @@ function localize($phrase, $count=-1) {
|
||||||
$lang_file_en = 'lang/' . 'Localization_en.json';
|
$lang_file_en = 'lang/' . 'Localization_en.json';
|
||||||
}
|
}
|
||||||
$lang_file_content = file_get_contents($lang_file);
|
$lang_file_content = file_get_contents($lang_file);
|
||||||
//var_dump($lang_file);
|
|
||||||
//var_dump($lang_file_content);
|
|
||||||
/* Load the language file as a JSON object and transform it into an associative array */
|
/* Load the language file as a JSON object and transform it into an associative array */
|
||||||
$translations = json_decode($lang_file_content, true);
|
$translations = json_decode($lang_file_content, true);
|
||||||
//var_dump($translations['boolean.no']);
|
|
||||||
//var_dump($translations['authors.title']);
|
|
||||||
if ($lang_file_en)
|
if ($lang_file_en)
|
||||||
{
|
{
|
||||||
$lang_file_content = file_get_contents($lang_file_en);
|
$lang_file_content = file_get_contents($lang_file_en);
|
||||||
|
|
Loading…
Reference in a new issue