From 4e3ec86d8cb50836b4d84495742b620972c394f5 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 17 Jul 2019 13:26:04 +0200 Subject: [PATCH] Fix translation keys again --- www/common/notifications.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/notifications.js b/www/common/notifications.js index 2783ee686..80d3fb7a6 100644 --- a/www/common/notifications.js +++ b/www/common/notifications.js @@ -115,7 +115,7 @@ define([ // Display the notification content.getFormatText = function () { - return Messages._getKey('requestEdit_request', [msg.content.title, msg.content.displayName]); + return Messages._getKey('requestEdit_request', [msg.content.title, msg.content.user.displayName]); }; // if not archived, add handlers @@ -140,7 +140,7 @@ define([ } var div = h('div', [ - h('p', Messages._getKey('requestEdit_confirm', [msg.content.title, msg.content.user.displayName])), + UI.setHTML(h('p'), Messages._getKey('requestEdit_confirm', [msg.content.title, msg.content.user.displayName])), verified, link ]);