Merge pull request #4600 from jsilvanus/master

FEATURE: Split Reply-button into 'Reply Post' and 'Reply Topic'
This commit is contained in:
Régis Hanol 2017-01-26 10:56:41 +01:00 committed by GitHub
commit f46f8ffe06
3 changed files with 9 additions and 5 deletions

View File

@ -68,8 +68,8 @@
{{d-button class="btn-primary create" {{d-button class="btn-primary create"
icon="reply" icon="reply"
action=replyToPost action=replyToPost
label="topic.reply.title" label="topic.reply.topic.title"
title="topic.reply.help"}} title="topic.reply.topic.help"}}
{{/if}} {{/if}}
{{plugin-outlet name="after-topic-footer-main-buttons" {{plugin-outlet name="after-topic-footer-main-buttons"

View File

@ -135,7 +135,7 @@ registerButton('reply', attrs => {
if (!attrs.canCreatePost) { return; } if (!attrs.canCreatePost) { return; }
if (!attrs.mobileView) { if (!attrs.mobileView) {
args.label = 'topic.reply.title'; args.label = 'topic.reply.post.title';
} }
return args; return args;

View File

@ -1554,8 +1554,12 @@ en:
remove_banner: "Remove Banner Topic" remove_banner: "Remove Banner Topic"
reply: reply:
title: 'Reply' post:
help: 'begin composing a reply to this topic' title: 'Reply'
# help i.e. tooltop is at controls.reply
topic:
title: 'Reply'
help: 'begin composing a reply to this topic'
clear_pin: clear_pin:
title: "Clear pin" title: "Clear pin"