Skip to content
Snippets Groups Projects
Commit 009724f2 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #584278 by cam8001, Dave Reid | moshe weitzman: Fixed pending updates always being plural.

parent 101d5209
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -86,7 +86,7 @@ function update_script_selection_form() {
'#markup' => '<p>The version of Drupal you are updating from has been automatically detected.</p>',
'#weight' => -5,
);
$form['start']['#title'] = strtr('!num pending updates', array('!num' => $count));
$form['start']['#title'] = format_plural($count, '1 pending update', '@count pending updates');
$form['has_js'] = array(
'#type' => 'hidden',
'#default_value' => FALSE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment