There are 2 cases of a missing "the":

    if (empty($forum_types)) {
      // The user is logged-in; but denied access to create any new forum content type.
      if ($user->uid) {
        $forum_types['disallowed'] = array('title' => t('You are not allowed to post new content in forum.'));
      }
      // The user is not logged-in; and denied access to create any new forum content type.
      else {
        $forum_types['login'] = array('title' => t('<a href="@login">Login</a> to post new content in forum.', array('@login' => url('user/login', array('query' => drupal_get_destination())))), 'html' => TRUE);
      }
    }

These messages should read:

You are not allowed to post new content in the forum.

and

Login to post new content in the forum.

CommentFileSizeAuthor
#1 forum_module_grammar.patch1.4 KBjhedstrom

Comments

jhedstrom’s picture

Status: Active » Needs review
StatusFileSize
new1.4 KB

And the patch.

mikey_p’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

webchick’s picture

Version: 7.x-dev » 6.x-dev

Committed to HEAD, thanks. :)

I'll move down to 6.x as well in case Gábor thinks this is worth breaking strings to fix there. Applies to 6.x with offset.

webchick’s picture

Also, I'm pretty sure "Grammar" is the best tag in the entire universe.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Well, committed to Drupal 6, thanks.

Status: Fixed » Closed (fixed)
Issue tags: -Grammar

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