diff --git a/potx.inc b/potx.inc
index 8aebf14..24bcce5 100644
--- a/potx.inc
+++ b/potx.inc
@@ -290,6 +290,8 @@ function _potx_process_file($file_path, $strip_prefix = 0, $save_callback = '_po
     // This does not support context even in Drupal 7.
     _potx_find_t_calls($file_name, $save_callback, '_locale_import_message', POTX_STRING_BOTH);
   }
+  // dt() in drush does not support context either.
+  _potx_find_t_calls($file_name, $save_callback, 'dt');
 
   if ($api_version > POTX_API_5) {
     // Watchdog calls have both of their arguments translated from Drupal 6.x.
diff --git a/tests/potx.test b/tests/potx.test
index 4583733..2b06d23 100644
--- a/tests/potx.test
+++ b/tests/potx.test
@@ -170,6 +170,9 @@ class PotxTestCase extends DrupalWebTestCase {
     // Context support added.
     $this->assertMsgIDContext('Test string in context', 'Test context');
 
+    // Drush support.
+    $this->assertMsgID('This could have been in a drush file');
+
     // Look at installer strings.
     $this->parseFile($filename, POTX_API_7, POTX_STRING_INSTALLER);
     $this->assertMsgID('Installer only test string');
diff --git a/tests/potx_test_7.module b/tests/potx_test_7.module
index 377b668..7dd96a8 100644
--- a/tests/potx_test_7.module
+++ b/tests/potx_test_7.module
@@ -50,6 +50,8 @@ function potx_test_7_page() {
 
   st('Installer string in context', array(), array('context' => 'Installer context'));
   $t('Dynamic string in context', array(), array('context' => 'Dynamic context'));
+
+  dt('This could have been in a drush file');
 }
 
 function potx_test_7_perm() {
