Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_list_view: Use translated form of "at" in timestamp tooltip.
Josh Klar465d0b2710ca
diff --git a/static/js/message_list_view.js b/static/js/message_list_view.jsindex d3101d50af2..b60510cb08b 100644--- a/static/js/message_list_view.js+++ b/static/js/message_list_view.js@@ -256,10 +256,12 @@ export class MessageListView {if (last_edit_timestamp !== undefined) {const last_edit_time = new Date(last_edit_timestamp * 1000);const today = new Date();- return (- timerender.render_date(last_edit_time, undefined, today)[0].textContent +- " at " +- timerender.stringify_time(last_edit_time)+ return $t(+ {defaultMessage: "{date} at {time}"},+ {+ date: timerender.render_date(last_edit_time, undefined, today)[0].textContent,+ time: timerender.stringify_time(last_edit_time),+ },);}return undefined;