Commit c40292c0 authored by Dave Reid's avatar Dave Reid

Fixed dt() not used.

parent a6c9c0a6
......@@ -58,7 +58,7 @@ function drush_xmlsitemap_rebuild() {
// Build a list of rebuildable link types.
$rebuild_types = xmlsitemap_get_rebuildable_link_types();
if (empty($rebuild_types)) {
return drush_set_error("No link types are rebuildable.");
return drush_set_error(dt('No link types are rebuildable.'));
}
// Run the batch process.
......
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