diff --git a/common/static/coffee/spec/discussion/view/discussion_view_spec_helper.coffee b/common/static/coffee/spec/discussion/view/discussion_view_spec_helper.coffee index b53f1612f4..26ce947e92 100644 --- a/common/static/coffee/spec/discussion/view/discussion_view_spec_helper.coffee +++ b/common/static/coffee/spec/discussion/view/discussion_view_spec_helper.coffee @@ -22,7 +22,7 @@ class @DiscussionViewSpecHelper expect(button.hasClass("is-checked")).toBe(user.voted(model)) expect(button.attr("aria-checked")).toEqual(user.voted(model).toString()) expect(button.find(".vote-count").text()).toMatch("^#{model.get('votes').up_count} Votes?$") - expect(button.find(".sr.js-sr-vote-count").text()).toMatch("^currently #{model.get('votes').up_count} votes?$") + expect(button.find(".sr.js-sr-vote-count").text()).toMatch("^there are currently #{model.get('votes').up_count} votes?$") @checkRenderVote = (view, model) -> view.render() diff --git a/common/static/coffee/src/discussion/views/discussion_content_view.coffee b/common/static/coffee/src/discussion/views/discussion_content_view.coffee index bd92462615..69dd205a57 100644 --- a/common/static/coffee/src/discussion/views/discussion_content_view.coffee +++ b/common/static/coffee/src/discussion/views/discussion_content_view.coffee @@ -113,7 +113,7 @@ if Backbone? numVotes = votes.up_count button.find(".js-sr-vote-count").html( interpolate( - ngettext("currently %(numVotes)s vote", "currently %(numVotes)s votes", numVotes), + ngettext("there is currently %(numVotes)s vote", "there are currently %(numVotes)s votes", numVotes), {numVotes: numVotes}, true ) diff --git a/lms/templates/discussion/_underscore_templates.html b/lms/templates/discussion/_underscore_templates.html index 97643c5b58..66f1404fa8 100644 --- a/lms/templates/discussion/_underscore_templates.html +++ b/lms/templates/discussion/_underscore_templates.html @@ -525,7 +525,7 @@ ${primaryAction("follow", "star", _("Follow"), _("Follow"), _("Unfollow"))} ## Vote counts are populated by JS - ${_("Vote")} + ${_("Vote for this post,")}