summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.module4
-rw-r--r--modules/comment/comment.test2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index b8e9a2a64..50531cefd 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -2195,11 +2195,11 @@ function theme_comment_post_forbidden($variables) {
if (variable_get('user_register', 1)) {
// Users can register themselves.
- return t('<a href="@login">Login</a> or <a href="@register">register</a> to post comments', array('@login' => url('user/login', array('query' => $destination)), '@register' => url('user/register', array('query' => $destination))));
+ return t('<a href="@login">Log in</a> or <a href="@register">register</a> to post comments', array('@login' => url('user/login', array('query' => $destination)), '@register' => url('user/register', array('query' => $destination))));
}
else {
// Only admins can add new users, no public registration.
- return t('<a href="@login">Login</a> to post comments', array('@login' => url('user/login', array('query' => $destination))));
+ return t('<a href="@login">Log in</a> to post comments', array('@login' => url('user/login', array('query' => $destination))));
}
}
}
diff --git a/modules/comment/comment.test b/modules/comment/comment.test
index 7e6495c6e..647f9d893 100644
--- a/modules/comment/comment.test
+++ b/modules/comment/comment.test
@@ -580,7 +580,7 @@ class CommentAnonymous extends CommentHelperCase {
));
$this->drupalGet('node/' . $this->node->nid);
$this->assertPattern('/<div ([^>]*?)id="comments"([^>]*?)>/', t('Comments were displayed.'));
- $this->assertLink('Login', 1, t('Link to login was found.'));
+ $this->assertLink('Log in', 1, t('Link to log in was found.'));
$this->assertLink('register', 1, t('Link to register was found.'));
}
}