summaryrefslogtreecommitdiff
path: root/actions/noticesearch.php
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-10 01:10:35 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-10 01:10:35 -0400
commitce2b174c4a083128cd14154d0f6c61e19d5cb229 (patch)
tree696fb99c6a85e785ca57f1fd4c6bbc0d04efa2b1 /actions/noticesearch.php
parent8fe61b0b9266d6b3ca2786c84287d24a3ae1f4ef (diff)
More _t( to _( and sprintfs in new code
darcs-hash:20080710051035-533db-4a3d824a50545b8a291a81059dcbb97487a13630.gz
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r--actions/noticesearch.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/actions/noticesearch.php b/actions/noticesearch.php
index 0a9f4c37f..d4de61a90 100644
--- a/actions/noticesearch.php
+++ b/actions/noticesearch.php
@@ -27,12 +27,12 @@ define(NOTICES_PER_PAGE, 20);
class NoticesearchAction extends SearchAction {
function get_instructions() {
- return _t('Search for notices on %%site.name%% by their contents. ' .
+ return _('Search for notices on %%site.name%% by their contents. ' .
'Separate search terms by spaces; they must be 3 characters or more.');
}
function get_title() {
- return _t('Text search');
+ return _('Text search');
}
function show_results($q, $page) {
@@ -62,7 +62,7 @@ class NoticesearchAction extends SearchAction {
}
common_element_end('ul');
} else {
- common_element('p', 'error', _t('No results'));
+ common_element('p', 'error', _('No results'));
}
common_pagination($page > 1, $cnt > NOTICES_PER_PAGE,
@@ -78,7 +78,7 @@ class NoticesearchAction extends SearchAction {
'href' => common_local_url('noticesearchrss',
array('q' => $q)),
'type' => 'application/rss+xml',
- 'title' => _t('Search Stream Feed')));
+ 'title' => _('Search Stream Feed')));
}
}
@@ -124,14 +124,14 @@ class NoticesearchAction extends SearchAction {
common_text(' (');
common_element('a', array('class' => 'inreplyto',
'href' => $replyurl),
- _t('in reply to...'));
+ _('in reply to...'));
common_text(')');
}
common_element_start('a',
array('href' => common_local_url('newnotice',
array('replyto' => $profile->nickname)),
'onclick' => 'doreply("'.$profile->nickname.'"); return false',
- 'title' => _t('reply'),
+ 'title' => _('reply'),
'class' => 'replybutton'));
common_raw('&rarr;');
common_element_end('a');