forked from extern/egroupware
merging all translations in window.egw_lang, to not have to search n-arrays
This commit is contained in:
parent
0aa128b53e
commit
7dd54648b9
@ -46,8 +46,8 @@ if (!count(translation::$lang_arr))
|
||||
|
||||
|
||||
echo '
|
||||
if (typeof egw_lang == "undefined") egw_lang = {};
|
||||
egw_lang.'.$_GET['app'].' = '.json_encode(translation::$lang_arr);
|
||||
if (typeof window.egw_lang == "undefined") window.egw_lang = {};
|
||||
$j.extend(window.egw_lang, '.json_encode(translation::$lang_arr).');';
|
||||
|
||||
// Content-Lenght header is important, otherwise browsers dont cache!
|
||||
Header('Content-Length: '.ob_get_length());
|
Loading…
Reference in New Issue
Block a user