Commit 84cd084e authored by alexpott's avatar alexpott

Issue #2037613 by droplet: Fixed Use formatPlural to format plural strings.

parent b397954e
......@@ -151,7 +151,7 @@ Drupal.behaviors.ckeditorAdmin = {
redrawToolbarGradient();
}
// Post the update to the aria-live message element.
$messages.text(Drupal.t('row removed. @count row@plural remaining.', {'@count': ($rows.length - 1), '@plural': ((($rows.length - 1) === 1 ) ? '' : 's')}));
$messages.text(Drupal.formatPlural($rows.length - 1, 'row removed. 1 row remaining.', 'row removed. @count rows remaining.'));
event.preventDefault();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment