equal
deleted
inserted
replaced
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 } |