Missing context in string translations

Created on 2 January 2025, 13 days ago

Problem/Motivation

Currently we have some string translations with t() using context and some are not using it.

We should change the existing string translation functions to use context.

One example with correct context is https://git.drupalcode.org/project/piwik_pro/-/blob/1.1.x/src/PiwikProSn....

Note that this could lead to missing translations for previous users because the source string changes. The impact should be minimal because most of the translated texts are only visible in the admin interface.

Steps to reproduce

-

Proposed resolution

Add context to all string translations to make them easier to translate for the Piwik PRO specific context.

Remaining tasks

Add context to all string translations.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

1.2

Component

Code

Created by

🇫🇮Finland heikkiy Oulu

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