Skip to content

Commit

Permalink
Merge pull request #4600 from jsilvanus/master
Browse files Browse the repository at this point in the history
FEATURE: Split Reply-button into 'Reply Post' and 'Reply Topic'
  • Loading branch information
ZogStriP committed Jan 26, 2017
2 parents 43a8a7c + 810176b commit f46f8ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
Expand Up @@ -68,8 +68,8 @@
{{d-button class="btn-primary create"
icon="reply"
action=replyToPost
label="topic.reply.title"
title="topic.reply.help"}}
label="topic.reply.topic.title"
title="topic.reply.topic.help"}}
{{/if}}

{{plugin-outlet name="after-topic-footer-main-buttons"
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/discourse/widgets/post-menu.js.es6
Expand Up @@ -135,7 +135,7 @@ registerButton('reply', attrs => {
if (!attrs.canCreatePost) { return; }

if (!attrs.mobileView) {
args.label = 'topic.reply.title';
args.label = 'topic.reply.post.title';
}

return args;
Expand Down
8 changes: 6 additions & 2 deletions config/locales/client.en.yml
Expand Up @@ -1554,8 +1554,12 @@ en:
remove_banner: "Remove Banner Topic"

reply:
title: 'Reply'
help: 'begin composing a reply to this topic'
post:
title: 'Reply'
# help i.e. tooltop is at controls.reply
topic:
title: 'Reply'
help: 'begin composing a reply to this topic'

clear_pin:
title: "Clear pin"
Expand Down

0 comments on commit f46f8ff

Please sign in to comment.