Skip to content

[Issue] Allow translations for Login as Customer button #32972

Open
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #32392: Allow translations for Login as Customer button


Description (*)

The Login As Customer module adds a button to the customer edit page in the Admin panel.

The text "Login as Customer" can not be translated even though it is defined as "translatable" in the module's di.xml. Therefore it does not display well in other language versions.

This pull request fixes this behaviour and makes translation of the button possible.

image

Manual testing scenarios (*)

  1. Switch admin's user account to a different language (e.g. cs_CZ)
  2. Add translation to the Login as Customer string.
  3. The button is translated

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    Pull Request In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions