Make category translatable

Created on 11 August 2025, 14 days ago

Problem/Motivation

In all Tamper plugins the category is currently defined as a plain string. But according to the annotation, it should be a translatable string:

/**
 * The category under which the tamper plugin should be listed in the UI.
 *
 * @var \Drupal\Core\Annotation\Translation
 *
 * @ingroup plugin_translatable
 */
public $category = '';

Proposed resolution

Go through all Tamper plugins and add @Translation() to the category property.

Remaining tasks

  • Commit.

User interface changes

Category's get translated in the UI. In some languages, some plugins may be displayed higher or lower on the list.

API changes

Technically not an API change, but category should now always be translatable.

Data model changes

None.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇳🇱Netherlands megachriz

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