minor: Tag a string for translation.

This commit is contained in:
Rohitt Vashishtha
2020-07-02 19:47:42 +05:30
committed by Tim Abbott
parent 834abefdb9
commit a47a3defa9

View File

@@ -3,8 +3,8 @@ const render_draft_table_body = require('../templates/draft_table_body.hbs');
function set_count(count) {
const draft_count = count.toString();
$(".compose_drafts_button").text(i18n.t(
'Drafts (__draft_count__)', {draft_count: draft_count}));
const text = i18n.t('Drafts (__draft_count__)', {draft_count: draft_count});
$(".compose_drafts_button").text(text);
}
const draft_model = (function () {