Commit c2c546fd authored by ZeiP's avatar ZeiP Committed by Dave Reid

Issue #1278880: Fixed untransatable string in xmlsitemap_sitemap_delete_form().

parent eba1e9ff
......@@ -230,7 +230,7 @@ function xmlsitemap_sitemap_delete_form(array $form, array &$form_state, stdClas
$count = (int) db_query("SELECT COUNT(smid) FROM {xmlsitemap_sitemap}")->fetchField();
if ($count === 1 && empty($_POST)) {
drupal_set_message('It is not recommended to delete the only XML sitemap.', 'error');
drupal_set_message(t('It is not recommended to delete the only XML sitemap.'), 'error');
}
$form['#sitemap'] = $sitemap;
......
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