'Comment' -> 'Reply' in inline comment/reply messages

This commit is contained in:
Brion Vibber 2011-03-03 12:26:07 -08:00
parent 5fd9767e80
commit 5a404ee713
4 changed files with 5 additions and 5 deletions

View File

@ -739,7 +739,7 @@ var SN = { // StatusNet
placeholder.click(function() {
SN.U.NoticeInlineReplyTrigger(notice);
});
placeholder.find('input').val(SN.msg('reply_comment'));
placeholder.find('input').val(SN.msg('reply_placeholder'));
list.append(placeholder);
},

2
js/util.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -325,10 +325,10 @@ class Action extends HTMLOutputter // lawsuit
$messages['showmore_tooltip'] = _m('TOOLTIP', 'Show more');
// TRANS: Inline reply form submit button: submits a reply comment.
$messages['reply_submit'] = _m('BUTTON', 'Comment');
$messages['reply_submit'] = _m('BUTTON', 'Reply');
// TRANS: Placeholder text for inline reply form. Clicking in this box will turn it into a mini notice form.
$messages['reply_comment'] = _m('Add a comment...');
$messages['reply_placeholder'] = _m('Write a reply...');
$messages = array_merge($messages, $this->getScriptMessages());

View File

@ -267,7 +267,7 @@ class ThreadedNoticeListMoreItem extends NoticeListItem
$notice = new Notice();
$notice->conversation = $id;
$n = $notice->count() - 1;
$msg = sprintf(_m('Show all %d comment', 'Show all %d comments', $n), $n);
$msg = sprintf(_m('Show %d reply', 'Show all %d replies', $n), $n);
$this->out->element('a', array('href' => $url), $msg);