diff --git a/core/modules/locale/locale.bulk.inc b/core/modules/locale/locale.bulk.inc index 8a9c2fe..7e9b8c9 100644 --- a/core/modules/locale/locale.bulk.inc +++ b/core/modules/locale/locale.bulk.inc @@ -141,7 +141,8 @@ function locale_translate_import_form_submit($form, &$form_state) { drupal_set_message(t('The translation import of %filename is done.', $variables)); watchdog('locale', 'The translation import of %filename is done.', $variables); - } catch (Exception $exc) { + } + catch (Exception $exc) { drupal_set_message(print_r($exc, TRUE)); $variables = array('%filename' => $file->filename); drupal_set_message(t('The translation import of %filename failed.', $variables), 'error'); @@ -412,7 +413,8 @@ function locale_translate_batch_import($filepath, &$context) { locale_translate_update_file_history($file); $context['results']['files'][$filepath] = $filepath; $context['results']['stats'][$filepath] = $report; - } catch (Exception $exception) { + } + catch (Exception $exception) { $context['results']['files'][$filepath] = $filepath; $context['results']['failed_files'][$filepath] = $filepath; }