New support: fix missing translation key

This commit is contained in:
yflory 2024-02-27 17:22:12 +01:00
parent 037ee005bf
commit b7f70e98e0
1 changed files with 3 additions and 2 deletions

View File

@ -2928,7 +2928,8 @@ Example
Messages.admin_supportAdd = "Add a contact to the support team";
Messages.admin_supportRotateNotify = "Warning: new keys have been generated but an unenexpected error prevented the system to send them to the moderators. You may have to remove and re-add all the other moderators";
create['support-new'] = function () {
const $div = makeBlock('support-new'); // Msg.admin_supportNewHint, .admin_supportNewTitle
const $block = makeBlock('support-new'); // Msg.admin_supportNewHint, .admin_supportNewTitle
const $div = $(h('div')).appendTo($block);
let supportKey = ApiConfig.supportMailboxKey;
let edPublic = common.getMetadataMgr().getPrivateData().edPublic; // My edPublic
let refresh = function () {};
@ -3164,7 +3165,7 @@ Example
});
};
refresh();
return $div;
return $block;
};
create['support-init'] = function () {
var $div = makeBlock('support-init'); // Msg.admin_supportInitHint, .admin_supportInitTitle