Skip to content
Snippets Groups Projects
Commit c40292c0 authored by Dave Reid's avatar Dave Reid
Browse files

Fixed dt() not used.

parent a6c9c0a6
No related branches found
No related tags found
3 merge requests!33Issue #2416897 by Dave Reid: Allow disabling output of lastmod, changefreq,...,!32Issue #2416897 by Dave Reid: Allow disabling output of lastmod, changefreq,...,!3Issue #2244449 by Chris Burge, Dave Reid, philsward, ecvandenberg: Use...
...@@ -58,7 +58,7 @@ function drush_xmlsitemap_rebuild() { ...@@ -58,7 +58,7 @@ function drush_xmlsitemap_rebuild() {
// Build a list of rebuildable link types. // Build a list of rebuildable link types.
$rebuild_types = xmlsitemap_get_rebuildable_link_types(); $rebuild_types = xmlsitemap_get_rebuildable_link_types();
if (empty($rebuild_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. // Run the batch process.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment