Untranslatable text due to missing t() function wrappers.

Created on 7 November 2023, about 1 year ago
Updated 19 June 2024, 5 months ago

Problem/Motivation

Certain texts in the validation messages weren't wrapped in t() functions and as such are missing translations.

Proposed resolution

Wrap the strings in t() functions, so translations can be provided.

🐛 Bug report
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

🇧🇪Belgium siemen_hermans

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @siemen_hermans
  • 🇧🇪Belgium siemen_hermans

    Providing a patch for version 4.0.x

  • Status changed to Needs work 7 months ago
  • 🇺🇸United States Kristen Pol Santa Cruz, CA, USA

    Thanks for the issue and patch.

    There are formatting issues. Please run this against the Drupal code style checker.

  • First commit to issue fork.
  • @diwakar07 opened merge request.
  • Status changed to Needs review 7 months ago
  • 🇮🇳India diwakar07

    Added missing t() function and tested the file through phpcs.
    Please review the MR.

  • 🇫🇷France mably

    Are you really sure that you need to translate strings here?

    It works fine in french as is.

  • 🇮🇳India sourav_paul Kolkata

    @Diwakar07 I've checked the password policy translation in Spanish & french

    Its working fine...

    No need to add t() translation...

    french translation :

    Spanish translation:

  • Status changed to Closed: works as designed 5 months ago
  • 🇮🇳India sourav_paul Kolkata

    Closing this ticket as it works as designed...

Production build 0.71.5 2024