String context not taken into account when retrieving a translation

Created on 5 October 2011, about 13 years ago
Updated 26 May 2024, 6 months ago

When the user wants to extract a .po file with translations, if there are two or more identical strings with different contexts and different translations, the translation fetched from database is the same for each string source.
The reason for this is, in the query to obtain the translation, in the WHERE clause:
- the context isn't checked.

I've attached a patch with a fix.

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡΄Romania Alex.Enciu

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024