forked from GNUsocial/gnu-social
'Comment' -> 'Reply' in inline comment/reply messages
This commit is contained in:
parent
5fd9767e80
commit
5a404ee713
@ -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
2
js/util.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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());
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user