Hi everyone,
We're currently implementing this module on a big french portal (thnak you fot the great recent work taht has been made since D6 port by the way) and have noticed some minor code mistakes when translating module strings.
Use of spaces in ! token names within drupal_set_message(t(),'error') makes it impossible to use good localization on theses strings
Attached is a patch I've made which seems to solve this issue (not a big deal)
Best regards and see you in Paris (if you find this patch useful, vote for this session ;-) http://paris2009.drupalcon.org/session/state-drupal-modules-french-trans... )
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 521166-token_misuse.patch | 1.47 KB | slybud |
| #1 | 521166-token_misuse.patch | 1.46 KB | slybud |
Comments
Comment #1
slybud commentedComment #2
slybud commentedOops I forgot one t() !
new patch attached
Comment #3
sivaji_ganesh_jojodae commentedThanks slybud your patch has been committed.