Ignore:
Timestamp:
10/26/10 16:57:38 (9 years ago)
Author:
grum
Message:

Fix load language bug + update en_UK lang file

Location:
extensions/ASearchEngine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/ASearchEngine/ase_pip.class.inc.php

    r7328 r7404  
    5050  public function load_lang() 
    5151  { 
    52     global $lang; 
     52    global $template; 
    5353 
    5454    load_language('plugin.lang', ASE_PATH); 
     55    load_language('rbuilder.lang', GPC_PATH); 
    5556  } 
    5657 
     
    6768    add_event_handler('loc_begin_page_header', array(&$this->css2, 'applyCSS'), 9); // have to be loaded before other css file (event level from GPCCore=10) 
    6869    add_event_handler('blockmanager_apply', array(&$this, 'blockmanagerApply'), 55); 
     70    add_event_handler('user_init', array(&$this, 'load_lang')); 
    6971  } 
    7072 
  • extensions/ASearchEngine/language/en_UK/plugin.lang.php

    r7374 r7404  
    11<?php 
    22 
    3 $lang['To install this plugin, you need to install Grum Plugin Classes %s before']="Pour installer ce plugin, vous devez au préalable installer le plugin Grum Plugin Classes %s"; 
     3$lang['To install this plugin, you need to install Grum Plugin Classes %s before']="To install this plugin, you need to install Grum Plugin Classes %s before"; 
    44 
    55$lang['ase_release']='r'; 
Note: See TracChangeset for help on using the changeset viewer.