[development] Re: [drupal:dries] /modules contact.module

Karthik narakasura at gmail.com
Sat Jan 14 20:59:05 UTC 2006


> Now, the contact.module is the *only* module which completely moves
> the <p>aragraph tags and <ul>, <li> tags right outside the whole
> translatable string. When I proposed this before, there was a lot of
> noise around this. It wasn't acceptable, logical and not the right
> way todo it.

So the idea is to allow for changes in mark-up via .po files?

Also, I don't see the mark-up being consistently included inside t()
calls in other modules either - a simple grep produced 112 lines
(mostly in hook_help) that would be violating the <p> tags inside t()
calls rule, and I'm sure there are more. So I'm not certain what the
best practices are in this regard.

Anyways, I really haven't looked into all this in detail - but if you
can link me to some documentation on this, that will be excellent. I
don't see anything related mentioned under "coding standards" in the
handbook.

Thanks in advance :)
-K


More information about the development mailing list