Closed (duplicate)
Project:
Coder
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2009 at 08:02 UTC
Updated:
1 Aug 2009 at 21:44 UTC
When i have installed drush & coder and i want install another module with drush i have this problem:
$ drush real_name
Fatal error: Call to undefined function t() in drupal/sites/all/modules/coder/coder.drush.inc on line 10
Drush command could not be completed. [error]
This patch fix the problem:
--- coder.drush.inc.orig 2009-07-03 10:01:05.000000000 +0200
+++ coder.drush.inc 2009-07-03 10:01:13.000000000 +0200
@@ -7,7 +7,7 @@
function coder_drush_command() {
$items['coder'] = array(
'callback' => 'coder_drush_review',
- 'description' => t('Run code reviews'),
+ 'description' => 'Run code reviews',
);
return $items;
}
tschüss!!!
| Comment | File | Size | Author |
|---|---|---|---|
| coder.drush_.inc_fix_problem_with_drush.patch | 350 bytes | jcdenton.dm |
Comments
Comment #1
stella commentedDuplicate of #455722: use of t() in coder.drush.inc line 10 should be replaced with dt()
Comment #2
starbow commented#455722: use of t() in coder.drush.inc line 10 should be replaced with dt() is marked as fixed for the 5.x branch, but this bug is alive an well in 6.x-1.0, and just ate up a couple hours of my day tracking it down. Can we get the fix in the 6.x branch? Think of the children.
Comment #3
stella commentedIt should be fixed in the 6.x dev branches (1.x and 2.x) too. Please follow up in #455722: use of t() in coder.drush.inc line 10 should be replaced with dt() if there is still an issue, re-marking this as a duplicate.