Remove button label is not translated

Created on 18 September 2024, about 2 months ago

Problem/Motivation

The label shown when hovering over the button to remove an abbreviation is not translated into the user's language.

Steps to reproduce

Assuming a standard Drupal installation, with a (interface) language that is not English and having this CKEditor Abbreviation module installed (of course):

  1. Ensure that the abbreviation plugin is attached to a CKEditor, e.g., by editing /admin/config/content/formats/manage/basic_html
  2. Create a node that has a text field with support for the CKEditor, e.g., /node/add/page.
  3. Hover over the button to insert an abbreviation and notice that regarding the language of the user interface, "Remove" is shown.

Proposed resolution

Use the Drupal.t functionality to also translate the "Remove" label.

Remaining tasks

  • Review the merge request.

User interface changes

When a translation of the word "Remove" is available in Drupal in the user's language, the label shown when hovering over the remove button is displayed in the user's language.

🐛 Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

🇳🇱Netherlands watergate

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024