unify keys that say 'X is/is not in your contacts'
parent
beaea7bb74
commit
cd586b626d
|
@ -4602,10 +4602,10 @@ define([
|
|||
var f = priv.friends[curve];
|
||||
$verified.append(h('span.fa.fa-certificate'));
|
||||
var $avatar = $(h('span.cp-avatar')).appendTo($verified);
|
||||
$verified.append(h('p', Messages._getKey('requestEdit_fromFriend', [f.displayName])));
|
||||
$verified.append(h('p', Messages._getKey('isContact', [f.displayName])));
|
||||
common.displayAvatar($avatar, f.avatar, f.displayName);
|
||||
} else {
|
||||
$verified.append(Messages._getKey('requestEdit_fromStranger', [name]));
|
||||
$verified.append(Messages._getKey('isNotContact', [name]));
|
||||
}
|
||||
return verified;
|
||||
};
|
||||
|
|
|
@ -1086,7 +1086,8 @@
|
|||
"profile_addLink": "Add a link to your website",
|
||||
"profile_info": "Other users can find your profile through your avatar in document user lists.",
|
||||
"profile_friendRequestSent": "Contact request pending...",
|
||||
"profile_friend": "{0} is your friend",
|
||||
"isContact": "{0} is in your contacts",
|
||||
"isNotContact": "{0} is <b>not</b> in your contacts",
|
||||
"notification_padShared": "{0} has shared a pad with you: <b>{1}</b>",
|
||||
"notification_fileShared": "{0} has shared a file with you: <b>{1}</b>",
|
||||
"notification_folderShared": "{0} has shared a folder with you: <b>{1}</b>",
|
||||
|
@ -1138,8 +1139,6 @@
|
|||
"requestEdit_button": "Request edit rights",
|
||||
"requestEdit_dialog": "Are you sure you'd like to ask the owner of this pad for the ability to edit?",
|
||||
"requestEdit_confirm": "{1} has asked for the ability to edit the pad <b>{0}</b>. Would you like to grant them access?",
|
||||
"requestEdit_fromFriend": "You are friends with {0}",
|
||||
"requestEdit_fromStranger": "You are <b>not</b> friends with {0}",
|
||||
"requestEdit_viewPad": "Open the pad in a new tab",
|
||||
"later": "Decide later",
|
||||
"requestEdit_request": "{1} wants to edit the pad <b>{0}</b>",
|
||||
|
|
|
@ -201,7 +201,7 @@ define([
|
|||
// Add friend message
|
||||
APP.$friend.append(h('p.cp-app-profile-friend', [
|
||||
h('i.fa.fa-address-book'),
|
||||
Messages._getKey('profile_friend', [name])
|
||||
Messages._getKey('isContact', [name])
|
||||
]));
|
||||
if (!friends[data.curvePublic].notifications) { return; }
|
||||
// Add unfriend button
|
||||
|
|
Loading…
Reference in New Issue