-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.11-RC2
-
None
See the attachment. The new lines are not localised even when there is a localised version available. (internation support sites add their language updates to the updater)
Bug created upon request of Bantu.
It's caused by this code:
Caused by this code in install/install_update.php from line 234:
|
// What about the language file? Got it updated? |
if (in_array('language/en/install.' . $phpEx, $this->update_info['files'])) |
{
|
$lang = array(); |
include($this->new_location . 'language/en/install.' . $phpEx); |
// only add new keys to user's language is english |
$new_keys = array_diff(array_keys($lang), array_keys($user->lang)); |
foreach ($new_keys as $i => $new_key) |
{
|
$user->lang[$new_key] = $lang[$new_key]; |
}
|
}
|