The description for a token that normally appears in the tokens help visible in some pages as a field set (the help text that is provided by Token via a theme function) sometimes uses a final period, sometimes it doesn't.
I am referring uniquely to the tokens provided by Tokens, not third-party modules.

Comments

avpaderno’s picture

Just to make an example, this is a partial list of tokens, and descriptions:

[book_id]       The id of the node's book parent.
[bookpath]      The titles of all parents in the node's book hierarchy.
[book-raw]      The unfiltered title of the node's book parent. WARNING - raw user input.
[bookpath-raw]  The unfiltered titles of all parents in the node's book hierarchy. WARNING - raw user input.
[comment-cid]   Comment ID
dave reid’s picture

Status: Active » Needs review
StatusFileSize
new9.29 KB

Patch that uses descriptions from D7 backported to clean-up these token help texts.

dave reid’s picture

Title: Period is not consistently used through the token description strings » Cleanup token descriptions and inconsistent use of punctuation
Assigned: Unassigned » dave reid
greggles’s picture

Status: Needs review » Reviewed & tested by the community

Seems good to me to use the texts from d7.

Thanks, guys!

dave reid’s picture

Status: Reviewed & tested by the community » Fixed
avpaderno’s picture

Status: Fixed » Needs work
+    $tokens['comment']['comment-author-mail-raw'] = t('The email address left by the comment author."');

There is an extra quotation mark after the period.

dave reid’s picture

Status: Needs work » Fixed

Thanks Kiam. Fixed in CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.