FIX: reply buttons and tooltips untranslated in all languages

This commit is contained in:
Neil Lalonde 2017-01-26 16:45:40 -05:00
parent 0e8808fbe8
commit 396526621b
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import Button from 'discourse/components/d-button';
export default Button.extend({
label: 'topic.reply.title',
label: 'topic.reply.topic.title',
icon: 'reply',
action: 'showLogin'
});

View File

@ -200,7 +200,7 @@
replyToPost=(action "replyToPost")
}}
{{else}}
{{d-button icon="reply" class="btn-primary" action="showLogin" label="topic.reply.title"}}
{{d-button icon="reply" class="btn-primary" action="showLogin" label="topic.reply.topic.title"}}
{{/if}}
{{/if}}

View File

@ -377,7 +377,7 @@ export default createWidget('topic-timeline', {
controls.push(this.attach('button', {
className: 'btn create',
icon: 'reply',
title: 'topic.reply.help',
title: 'topic.reply.topic.help',
action: 'replyToPost'
}));
}