includes/clientside/static/l10n.js
changeset 1196 704ba4b9819b
parent 780 f65e35566b63
child 1227 bdac73ed481e
equal deleted inserted replaced
1195:449fdd113eb0 1196:704ba4b9819b
    17   {
    17   {
    18     // load the language file
    18     // load the language file
    19     load_show_win('strings');
    19     load_show_win('strings');
    20     console.info('Loading language ' + lang_id + ' via AJAX synchronous request');
    20     console.info('Loading language ' + lang_id + ' via AJAX synchronous request');
    21     var ajax = ajaxMakeXHR();
    21     var ajax = ajaxMakeXHR();
    22     var uri = makeUrlNS('Special', 'LangExportJSON/' + lang_id);
    22     var uri = makeUrlNS('Special', 'LangExportJSON/' + lang_id, enano_version);
    23     ajax.open('GET', uri, false);
    23     ajax.open('GET', uri, false);
    24     ajax.send(null);
    24     ajax.send(null);
    25     if ( ajax.readyState == 4 && ajax.status == 200 )
    25     if ( ajax.readyState == 4 && ajax.status == 200 )
    26     {
    26     {
    27       eval_global(ajax.responseText);
    27       eval_global(ajax.responseText);