summaryrefslogtreecommitdiff
path: root/actions/repeat.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-04-26 02:43:33 -0400
committerEvan Prodromou <evan@status.net>2010-04-26 02:43:33 -0400
commit5c05cd2b1a93d360bde7cb7dfc9ba39e5a5a7624 (patch)
tree5b4092e365023c7729fcdd8260431d3ffb28b519 /actions/repeat.php
parent14adb7cc41e3d5d4e543c1f13f7a60d3cadb5c71 (diff)
parentd7d3a50d8751f071aa95541813af1d190e71430e (diff)
Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
Diffstat (limited to 'actions/repeat.php')
-rw-r--r--actions/repeat.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/repeat.php b/actions/repeat.php
index e112496bc..893cae4ff 100644
--- a/actions/repeat.php
+++ b/actions/repeat.php
@@ -54,21 +54,21 @@ class RepeatAction extends Action
$this->user = common_current_user();
if (empty($this->user)) {
- $this->clientError(_("Only logged-in users can repeat notices."));
+ $this->clientError(_('Only logged-in users can repeat notices.'));
return false;
}
$id = $this->trimmed('notice');
if (empty($id)) {
- $this->clientError(_("No notice specified."));
+ $this->clientError(_('No notice specified.'));
return false;
}
$this->notice = Notice::staticGet('id', $id);
if (empty($this->notice)) {
- $this->clientError(_("No notice specified."));
+ $this->clientError(_('No notice specified.'));
return false;
}
@@ -80,14 +80,14 @@ class RepeatAction extends Action
$token = $this->trimmed('token-'.$id);
if (empty($token) || $token != common_session_token()) {
- $this->clientError(_("There was a problem with your session token. Try again, please."));
+ $this->clientError(_('There was a problem with your session token. Try again, please.'));
return false;
}
$profile = $this->user->getProfile();
if ($profile->hasRepeated($id)) {
- $this->clientError(_("You already repeated that notice."));
+ $this->clientError(_('You already repeated that notice.'));
return false;
}