Problem/Motivation

The Mixpanel settings form uses a plain PHP string for the Debug mode checkbox title. Consequently, the label cannot be translated and remains English on localized administration pages.

Steps to reproduce

1. Enable a non-English administration language.
2. Visit /admin/config/services/mixpanel.
3. Observe that “Debug mode” remains untranslated.

Proposed resolution

Wrap the label with $this->t().

Environment

  • Drupal 11.3.11
  • PHP 8.3

Issue fork mixpanel-3605104

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

dkmishra created an issue. See original summary.

dkmishra’s picture

Status: Active » Needs review
darvanen’s picture

Status: Needs review » Reviewed & tested by the community

Thanks

  • 3f5f3a44 committed on 2.x
    Issue #3605104: Fixed the translatable configuration error
    
darvanen’s picture

Status: Reviewed & tested by the community » Fixed

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

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

Maintainers, credit people who helped resolve this issue.