(Like all of the patches which I'm currently posting, this is based on #1164578: Port and extend tests so that one needs to be commited first as this one mit not apply cleanly otherwise)

There are currently a few bogus @todo strings in permission and token descriptions. That's bad because they are added to the i18n database and are supposed to be translated.

That's kinda pointless, they should either be removed or a proper description should be added if necessary.

The attached patch removes them and also a few @todo's in comments which are obviously resolved.

CommentFileSizeAuthor
#4 todo2.patch4.45 KBberdir
todo.patch4.34 KBberdir

Comments

simon georges’s picture

Thanks for the effort!

Maybe some of them (the one on tokens, for example) should rather be converted to comments in code (having them in translated strings doesn't make any sense), what do you think ?

berdir’s picture

Probably, the tokens needs to be improved anyway.

For example, it would probably make sense to add a 'node' token to the newsletter issue which allows to access all node tokens. I also have a patch to replace the custom token list with the token_tree from token.module, which I'll post when I find the time (I was working on these issues without having internet access and am now going trough them when I have time to publish patches).

simon georges’s picture

Status: Needs review » Needs work

Ok, changing to needs work to rework the todo into comments.

berdir’s picture

Status: Needs work » Needs review
StatusFileSize
new4.45 KB

Ok, added the todo.

simon georges’s picture

Status: Needs review » Fixed

Thanks, committed.

Status: Fixed » Closed (fixed)

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