Use Drupal.t() correctly

Created on 20 December 2024, 4 months ago

Problem/Motivation

While working on Make the "add to cart" threshold configurable Active , it is observed that Drupal.t() is not used correctly in some parts of the code. This can lead to issues with translations and localization.
Refer to the discussion: https://git.drupalcode.org/project/project_browser/-/merge_requests/644#...

Steps to reproduce

  • Identify the parts of the codebase where Drupal.t() is implemented incorrectly.
  • Verify the functionality and localization behavior.

Proposed resolution

Audit the entire project for instances where Drupal.t() is used. Fix the incorrect implementations to ensure proper usage throughout the codebase.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India narendraR Jaipur, India

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