mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge remote-tracking branch 'origin/user-settings-ui-improvements' into 2026-autumn-test
This commit is contained in:
commit
1055df00f2
@ -162,6 +162,8 @@ define(req, function(AppConfig, Default, Language) {
|
||||
Messages.contacts_noFriendsInfo = 'Start by adding a contact to begin a conversation.';
|
||||
Messages.settings_profileShare = 'Share profile'; // XXX
|
||||
Messages.admin_logoType_error = 'The logo image file type is not allowed'; // XXX
|
||||
Messages.settings_profileShare = 'Share profile';
|
||||
Messages.copy = 'Copy';
|
||||
|
||||
return Messages;
|
||||
|
||||
|
||||
@ -217,10 +217,10 @@ define([
|
||||
var $pubInput = $('<input>', { 'type': 'text', 'value': userHref, 'id': 'publicKey' });
|
||||
var $copyButton = $(h('button.btn.btn-primary.cp-settings-publickey-copy', {
|
||||
'type': 'button',
|
||||
'aria-label': Messages.profile_copyKey
|
||||
'aria-label': Messages.copy
|
||||
}, [
|
||||
Icons.get('copy'),
|
||||
h('span.cp-button-name', Messages.profile_copyKey)
|
||||
h('span.cp-button-name', Messages.copy)
|
||||
])).click(function () {
|
||||
Clipboard.copy(userHref, function (err) {
|
||||
if (!err) { UI.log(Messages.genericCopySuccess); }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user