Commit d518596a authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot

Add missing closing quote in label_download.

parent d643d4c9
...@@ -1693,7 +1693,7 @@ ...@@ -1693,7 +1693,7 @@
var media = view.el.querySelector('.chat-msg .chat-msg-media'); var media = view.el.querySelector('.chat-msg .chat-msg-media');
expect(media.innerHTML.replace(/(\r\n|\n|\r)/gm, "")).toEqual( expect(media.innerHTML.replace(/(\r\n|\n|\r)/gm, "")).toEqual(
'<!-- src/templates/file.html -->'+ '<!-- src/templates/file.html -->'+
'<a target="_blank" rel="noopener" href="http://localhost/funny.pdf">Download: "funny.pdf</a>'); '<a target="_blank" rel="noopener" href="http://localhost/funny.pdf">Download "funny.pdf"</a>');
done(); done();
}); });
})); }));
......
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
} }
return tpl_file({ return tpl_file({
'url': url, 'url': url,
'label_download': __('Download: "%1$s', filename) 'label_download': __('Download "%1$s"', filename)
}) })
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment