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):
- Ensure that the abbreviation plugin is attached to a CKEditor, e.g., by editing
/admin/config/content/formats/manage/basic_html - Create a node that has a text field with support for the CKEditor, e.g.,
/node/add/page. - 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
Implement the proposed solution and create a merge request.- 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.
Issue fork ckeditor_abbreviation-3475238
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3475238-remove-button-label
changes, plain diff MR !9
Comments
Comment #3
watergate commentedI've opened the proposed merge request.
Comment #6
boromino commented