mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Correct translation key #1090
This commit is contained in:
parent
020f0d20a6
commit
fc99a53d34
@ -13,6 +13,8 @@ define(['/common/translations/messages.js'], function (Messages) {
|
||||
// Replace the existing keys in your copied file here:
|
||||
// Messages.button_newpad = "New Rich Text Document";
|
||||
|
||||
Messages.profile_remove_avatar = "Remove this avatar"; // XXX
|
||||
|
||||
return Messages;
|
||||
});
|
||||
|
||||
|
||||
@ -212,7 +212,6 @@
|
||||
"canvas_imageEmbed": "Embed an image from your computer",
|
||||
"profileButton": "Profile",
|
||||
"profile_upload": " Upload a new avatar",
|
||||
"profile_remove_avatar": "Remove this avatar",
|
||||
"profile_uploadSizeError": "Error: your avatar must be smaller than {0}",
|
||||
"profile_uploadTypeError": "Error: your avatar type is not allowed. Allowed types are: {0}",
|
||||
"profile_error": "Error while creating your profile: {0}",
|
||||
|
||||
@ -374,7 +374,7 @@ define([
|
||||
|
||||
var $delButton = $('<button>', {
|
||||
'class': 'cp-app-profile-avatar-delete btn btn-danger fa fa-times',
|
||||
title: Messages.profile_remove_avatar //XX Remove this avatar
|
||||
title: Messages.profile_remove_avatar //XXX
|
||||
});
|
||||
$span.append($delButton);
|
||||
$delButton.click(function () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user