From 4d65b99c68fee83fe461b9d8d6db86a844f2a431 Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Tue, 8 Jul 2008 06:05:19 -0400 Subject: Translate a few more strings. darcs-hash:20080708100519-533db-b326ea0bb16ea6c8244cfd00a0dd639d0553dd21.gz --- actions/shownotice.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'actions/shownotice.php') 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.'); + } } -- cgit v1.2.3-54-g00ecf