Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes
This commit is contained in:
parent
b11a755ba8
commit
c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions
|
@ -208,7 +208,7 @@ function locale_translate_batch_import($file, array $options, &$context) {
|
|||
// Update the seek and the number of items in the $options array().
|
||||
$options['seek'] = $context['sandbox']['parse_state']['seek'];
|
||||
$options['items'] = $context['sandbox']['parse_state']['chunk_size'];
|
||||
$report = GetText::fileToDatabase($file, $options);
|
||||
$report = Gettext::fileToDatabase($file, $options);
|
||||
// If not yet finished with reading, mark progress based on size and
|
||||
// position.
|
||||
if ($report['seek'] < filesize($file->uri)) {
|
||||
|
|
Reference in a new issue