Correct translation key #1090

This commit is contained in:
DianaXWiki 2025-02-25 19:07:59 +02:00
parent 020f0d20a6
commit fc99a53d34
3 changed files with 3 additions and 2 deletions

View File

@ -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;
});

View File

@ -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}",

View File

@ -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 () {