Merge pull request #10416 from louyihua/underscore_ngettext

Fix underscore extraction error
This commit is contained in:
Sarina Canelake
2015-11-04 12:17:01 -05:00

View File

@@ -1,11 +1,7 @@
<div class="discussion-response"></div>
<a href="#" class="action-show-comments">
<%
var fmts = ngettext(
"Show Comment (%(num_comments)s)",
"Show Comments (%(num_comments)s)",
comments.length
);
var fmts = ngettext("Show Comment (%(num_comments)s)", "Show Comments (%(num_comments)s)", comments.length);
print(interpolate(fmts, {num_comments: comments.length}, true));
%>
<i class="icon fa fa-caret-down"></i>