Closed (works as designed)
Project:
Signup Status
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2008 at 14:22 UTC
Updated:
23 Dec 2008 at 05:41 UTC
Hi,
the name of the status codes aren't translated in the dropdown field under 'update options'. In signup_status_codes(), simply wrapped the name field with t().
| Comment | File | Size | Author |
|---|---|---|---|
| signup_status.patch | 419 bytes | olio |
Comments
Comment #1
dww@jrbeeman: Note, I've gone through something similar with signup.module. Even though putting variables inside t() is almost always wrong, there are rare cases (and this might be one of them) where it's ok. See #181272-2: can't translate labels on the signup form? for more info.
Comment #2
dwwHrm, nope. Sorry, olio. I just scanned through the signup_status code, and in this case, the names of the signup status codes are entirely user-generated input. They never appear in code, are never wrapped in t(), and therefore, don't qualify for using t() around them. You've run into one of the main limitations in the Drupal translation layer -- user-generated input. See http://api.drupal.org/api/function/t/6 for more: