i18n: extract strings from underscore templates

JIRA: FOR-400
This commit is contained in:
jsa
2014-01-15 00:24:55 -05:00
parent e634586882
commit 168445f7c8
2 changed files with 106 additions and 43 deletions

View File

@@ -174,6 +174,14 @@ if Backbone?
content.addClass("resolved")
if thread.get('read')
content.addClass("read")
if thread.get('unread_comments_count') > 0
content.find('.comments-count').addClass("unread").attr(
"data-tooltip",
interpolate(
ngettext('%(unread_count)s new comment', '%(unread_count)s new comments', {'unread_count': thread.get('unread_comments_count')}),
[thread.get('unread_comments_count')]
)
)
@highlight(content)
@@ -473,4 +481,4 @@ if Backbone?
error: () =>
$('input.email-setting').attr('checked','checked')