Issue #1832946 by Sutharsan, Jose Reyero, Gábor Hojtsy, Wim Leers, vijaycs85:...
Issue #1832946 by Sutharsan, Jose Reyero, Gábor Hojtsy, Wim Leers, vijaycs85: Runtime translation download fallback works different from installer translation download fallback
// Example match: 8.0.0-dev => 8.0.x (Drupal core)
$data['info']['version']=$matches[1].'x';
}
}
if(!empty($release['version'])){
$data['info']['version']=$release['version'];
}
unset($release);
}
// For every project store information.
$data+=array(
'name'=>$name,
@@ -96,6 +76,7 @@ function locale_translation_build_projects() {
'server_pattern'=>isset($data['info']['interface translation server pattern'])&&$data['info']['interface translation server pattern']?$data['info']['interface translation server pattern']:$default_server['pattern'],
'status'=>!empty($data['project_status'])?1:0,
);
$project=(object)$data;
$projects[$name]=$project;
@@ -117,8 +98,6 @@ function locale_translation_build_projects() {