Open
Description
As suggested by @rffontenelle on the R Contributors slack:
R-related projects tend to surround literal words with single quotes, like
'term'
, and they normally should not be translated. These are great candidates for a placeholder flag with regexp likeplaceholders:r"'\w+'"
(or maybe a better regexp) in the projects' settings. Once set, failing to translate keeping this placeholder unaltered will pop up a translation check warning, which could be dismissed by the translator in case of a false positive.More about translation checks: https://docs.weblate.org/en/latest/user/checks.html
More about customizing these flags: https://docs.weblate.org/en/latest/admin/checks.html#custom-checks