FEATURE: Split Reply-button into 'Reply Post' and 'Reply Topic'

This commit is contained in:
Juha Leinonen 2016-12-13 03:53:01 +02:00
parent 98fd77fb6c
commit 817f4cd0fc
3 changed files with 9 additions and 5 deletions

View File

@ -49,8 +49,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 "after-topic-footer-main-buttons" tagName="span"}} {{plugin-outlet "after-topic-footer-main-buttons" tagName="span"}}

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

@ -1542,8 +1542,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"