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.
At the same time we can improve the form setting help texts and module readme.
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.
Issue fork piwik_pro-3496935
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
Comment #4
heikkiy commentedMR looks good.
Comment #5
heikkiy commentedComment #6
heikkiy commentedThis needs a new review because I made more changes to the project readme.
Comment #7
hartsak commentedComment #9
heikkiy commentedThis is now fixed and will be released in 1.2.0.