summaryrefslogtreecommitdiff
path: root/actions/shownotice.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/shownotice.php')
-rw-r--r--actions/shownotice.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php
index 5b125c25b..6e6dcb2c2 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -42,7 +42,7 @@ class ShownoticeAction extends StreamAction {
# Looks like we're good; show the header
- common_show_header($profile->nickname."'s status on ".common_exact_date($notice->created),
+ common_show_header(sprintf(_('%1$s\'s status on %2$s'), $profile->nickname, common_exact_date($notice->created)),
NULL, $profile,
array($this, 'show_top'));
@@ -60,4 +60,8 @@ class ShownoticeAction extends StreamAction {
common_notice_form();
}
}
+
+ function no_such_notice() {
+ common_user_error('No such notice.');
+ }
}