Translatability
FrankT - July 4, 2009 - 15:54
| Project: | Registration Code |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
On page ?q=admin/user/regcodes/list the entries within the dropdown lists for the filter are not translatable.
The date in the column 'created' is hard coded in an english/american format. In my eyes it should match the users (?) date/time settings.

#1
I've added t() to the dropdown lists. I'm not sure what to do with the date though - I've put it in a universal format, yyyy/mm/dd, I can't use drupal's predefined formats because they're all too large and space is at a premium. I'm open to suggestions.
#2
Thanks so far. With regard to the date format - I'm not a (PHP) programmer but I thought of something like using the short date format defined on page admin/settings/date-time/formats; if there is a way to remove the time component the result would be fine.
Is there a way to have a translated string for 'yes' within the table on page admin/user/regcodes/list, too? The filter itself is fine now.
#3
No worries, this is all done and I've released a new version.