Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
23 Dec 2008 at 23:53 UTC
Updated:
9 Jan 2009 at 11:40 UTC
Jump to comment: Most recent file
After an illuminating thread on the translators' list, we decided it'd be nice to backport some of the PHPDoc fixes from the t() function in D6 into D5. The docs were nicely fleshed out, even though the function itself changed very little. I'm working on a patch now, stay tuned.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 350708_t_docs_formatting.1.d7.patch | 3.02 KB | dww |
| #1 | 350708_t_docs_formatting.1.d6.patch | 3.02 KB | dww |
| #1 | 350708_t_docs_backport.1.d5.patch | 6.82 KB | dww |
Comments
Comment #1
dwwThis is the entire D6 version of the PHPdoc comment, except I stripped out the D6-only changes:
- url() args in an example.
- the D6-only $langcode argument.
I also fixed a few lingering formatting problems from the D6 and HEAD version, included in the D5 patch, and attached here as separate patches for D6 and HEAD (the D6 patch applies to HEAD with fuzz, but it was easy to generate a clean patch). I don't think the usual "rule" about committing in HEAD and backporting applies to doc formatting patches, and the most important part is getting the content into the D5 version, so I'm leaving the version of this as 5.x-dev.
Thanks,
-Derek
Comment #2
drummCommitted to 5.x.
Comment #3
drummComment #4
dries commentedCommitted to DRUPAL-6 and CVS HEAD. Thanks dww!
Comment #5
dwwNo problem, thanks Drumm and Dries. Happy holidays! :)