Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #18175 [Translation] Add support for fuzzy tags in PoFileLoader (…
…nud) This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #18175). Discussion ---------- [Translation] Add support for fuzzy tags in PoFileLoader | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #18161 | License | MIT | Doc PR | - The traditional gettext tools usually try to find similar strings when updating translations. This results in some strings having a translation but being marked as "fuzzy", even if the translation is not correct. The expected result when a string is marked as fuzzy is that it should not be used by the translation system. Using symfony, though, the translations were used, which could result in "funny" messages being displayed in the interface despite being often completely out of context. This commit discards messages in .po files that have a '#, fuzzy' flag. This commit can (and imo should) be back-ported as-is to the 2.x branch. Commits ------- 970b956 bug #18161 [Translation] Add support for fuzzy tags in PoFileLoader
- Loading branch information