Modules should not be using t() in hook_schema. For more details, see these notes about When to use st(), t() and get_t() in install and update functions.
For a number of reasons (see http://drupal.org/node/332123), including website performance and the desire avoid encouraging translators to spend time on work of possibly limited value, Drupal 7 and also Drupal 6.9 and later no longer use t() on these strings. You should include schema table and field descriptions as verbatim strings without wrapping them in localization code.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 484500-nodequeue_install_cleanup.patch | 8.78 KB | amateescu |
| #2 | 484500-nodequeue_install_cleanup-D6.patch | 11.09 KB | amateescu |
| #2 | 484500-nodequeue_install_cleanup-D7.patch | 8.78 KB | amateescu |
| #1 | nodequeue.install.484500.patch | 7.92 KB | jaydub |
| #1 | smartqueue.install.484500.patch | 2.15 KB | jaydub |
Comments
Comment #1
jaydub commentedPatch attached to address this.
Comment #2
amateescu commentedFurther cleaned up the .install files for 6.x-2.x and master branches.
The 7.x patch also removes hook_update_N() functions from the 5.x branch. We don't expect anyone to upgrade from 5.x to 7.x, right? :)
Comment #4
amateescu commentedRe-upload the 7.x patch for testing.
Comment #5
dave reidLooks good to me
Comment #6
amateescu commentedThanks, commited to 6.x and 7.x.
http://drupalcode.org/project/nodequeue.git/commit/51fb1b8
http://drupalcode.org/project/nodequeue.git/commit/2312641