Fix bad translation key in profile

pull/1/head
yflory 6 years ago
parent 28c8834fa4
commit 8641eca34b

@ -187,7 +187,7 @@ define([
var friends = common.getMetadataMgr().getPrivateData().friends; var friends = common.getMetadataMgr().getPrivateData().friends;
if (friends[data.curvePublic]) { if (friends[data.curvePublic]) {
$(h('p.cp-app-profile-friend', Messages.profile_friend)).insertAfter(APP.$friend); $(h('p.cp-app-profile-friend', Messages._getKey('profile_friend', [data.name]))).insertAfter(APP.$friend);
APP.$friend.remove(); APP.$friend.remove();
return; return;
} }

Loading…
Cancel
Save