Fix translation keys

pull/1/head
yflory 6 years ago
parent 85380b64cf
commit f9162d41f7

@ -58,7 +58,7 @@
display: flex;
align-items: center;
&> span.cp-avatar {
.avatar_main(50px);
.avatar_main(30px);
}
&> span {
margin-right: 10px;

@ -127,18 +127,20 @@ define([
href: '#'
}, Messages.requestEdit_viewPad);
var verified = h('p.cp-notifications-requestedit-verified');
var $verified = $(verified);
if (priv.friends && priv.friends[msg.author]) {
var f = priv.friends[msg.author];
var $verified = $(verified);
$verified.append(h('span.fa.fa-certificate'));
var $avatar = $(h('span.cp-avatar')).appendTo($verified);
$verified.append(h('p', Messages._getKey('requestEdit_verified', [f.displayName])));
$verified.append(h('p', Messages._getKey('requestEdit_fromFriend', [f.displayName])));
common.displayAvatar($avatar, f.avatar, f.displayName);
} else {
$verified.append(Messages.requestEdit_fromStranger);
}
var div = h('div', [
h('p', Messages._getKey('requestEdit_confirm', [msg.content.title, msg.content.displayName])),
h('p', Messages._getKey('requestEdit_confirm', [msg.content.title, msg.content.user.displayName])),
verified,
link
]);
@ -156,7 +158,7 @@ define([
defaultDismiss(common, data)();
}, {
ok: Messages.friendRequest_accept,
cancel: Messages.requestEdit_later
cancel: Messages.later
});
};

Loading…
Cancel
Save