Don't include markup in "Enabled" translation

Created on 8 October 2024, about 1 month ago

Problem/Motivation

If site already has word "Enabled" translated the TFA Email OTP module require new translation for the string because markup is included in translation of this information.

Steps to reproduce

1: UI:
* Have Drupal with one or more languages and translation enabled
* Ensure there is a translation for string "Enabled"
* As a user, see /[LANG]/user/[UID]/security/tfa
* The translation for word "Enabled" is not shown on the page

2: String translations
* /admin/config/regional/translate show a translatable string <p><b>Enabled</b></p>

Proposed resolution

Don't include markup in t() function.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇫🇮Finland kirkkala Helsinki

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