Problem/Motivation

It is possible to define per view labels for operations. However, they cannot be translated.
config/schema/views_bulk_operations.data_types.schema.yml defines them as strings.

Steps to reproduce

Install VBO module on multilingual site.
Create an override label on some view, and try to translate this label.

Proposed resolution

Fix schema to use translatable configs.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon 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:

Comments

andriy khomych created an issue. See original summary.

andriy khomych’s picture

Status: Active » Needs review
StatusFileSize
new995 bytes

Attached patch.

andriy khomych’s picture

ammaletu’s picture

Status: Needs review » Reviewed & tested by the community

This patch has been proposed four years ago here: https://www.drupal.org/project/views_bulk_operations/issues/3067460#comm...

I tested it with the changes and was then able to translate the button through the GUI.

graber’s picture

Status: Reviewed & tested by the community » Fixed

Looks good, thank you.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.