diff options
author | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-08 06:05:19 -0400 |
---|---|---|
committer | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-08 06:05:19 -0400 |
commit | 4d65b99c68fee83fe461b9d8d6db86a844f2a431 (patch) | |
tree | b4150e76baed3a63b12aae2c42d29fd0b3a74d33 /actions/shownotice.php | |
parent | 0f502b8d8656bf9f1340611893dd0e4d736aeea3 (diff) |
Translate a few more strings.
darcs-hash:20080708100519-533db-b326ea0bb16ea6c8244cfd00a0dd639d0553dd21.gz
Diffstat (limited to 'actions/shownotice.php')
-rw-r--r-- | actions/shownotice.php | 6 |
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.'); + } } |