diff --git a/core/modules/update/update.module b/core/modules/update/update.module
index 32bd2b9..580cb91 100644
--- a/core/modules/update/update.module
+++ b/core/modules/update/update.module
@@ -532,16 +532,16 @@ function _update_message_text($msg_type, $msg_reason, $report_link = FALSE, $lan
}
if ($report_link) {
if (update_manager_access()) {
- $linktext = t('See the available updates page for more information and to install your missing updates.', ['@available_updates' => \Drupal::url('update.report_update', [], ['language' => $language])], ['langcode' => $langcode]);
+ $available_updates_text = t('See the available updates page for more information and to install your missing updates.', array('@available_updates' => \Drupal::url('update.report_update', [], ['language' => $language])), array('langcode' => $langcode));
}
else {
- $linktext = t('See the available updates page for more information.', ['@available_updates' => \Drupal::url('update.status', [], ['language' => $language])], ['langcode' => $langcode]);
+ $available_updates_text = t('See the available updates page for more information.', array('@available_updates' => \Drupal::url('update.status', [], ['language' => $language])), array('langcode' => $langcode));
}
- return SafeMarkup::format('@text @linktext', ['@text' => $text, '@linktext' => $linktext]);
+ return SafeMarkup::format('@text @available_updates_text', ['@text' => $text, '@available_updates_text' => $available_updates_text]);
}
- else {
- // Anything in $text has been run through t() and marked as safe.
- return $text;
+ else {
+ // Anything in $text has been run through t() and marked as safe.
+ return $text;
}
}