includes/lang.php
changeset 593 4f9bec0d65c1
parent 590 03a60844c7c5
child 607 935f3799b654
equal deleted inserted replaced
592:27377179fe58 593:4f9bec0d65c1
   628       // Or if it's the installer, no use in refetching, so just fail.
   628       // Or if it's the installer, no use in refetching, so just fail.
   629       if ( defined('IN_ENANO_INSTALL') )
   629       if ( defined('IN_ENANO_INSTALL') )
   630       {
   630       {
   631         return $string_id;
   631         return $string_id;
   632       }
   632       }
   633       profiler_log('Language(' . $this->lang_code . '): refetching due to missing string: ' . $string_id);
       
   634       $this->fetch();
   633       $this->fetch();
       
   634       profiler_log('Language(' . $this->lang_code . '): refetched due to missing string: ' . $string_id);
   635       if ( isset($this->strings[$category]) && isset($this->strings[$category][$string_name]) )
   635       if ( isset($this->strings[$category]) && isset($this->strings[$category][$string_name]) )
   636       {
   636       {
   637         $found = true;
   637         $found = true;
   638         $string = $this->strings[$category][$string_name];
   638         $string = $this->strings[$category][$string_name];
   639       }
   639       }