While updating a translation, I ran into a Weblate issue which I reported to the Weblate team.
In short, when the “consecutive duplicated words” check is enforced, I am unable to submit a correct translation on a specific string, as the check ignores the presence of a placeholder.
According to the Weblate team this is not trivial to fix, so I convey here their suggestion to tweak our Weblate settings:
As for the enforced checks, I recommend using that only for critical errors such as missing format strings, not for style errors, which still might want to be overridden by translators.
That something can also be a markup. Either directly as Hello <strong>world</strong> or indirectly as printf("This is a %slink%s", "<a href...>", "</a>").
I think we can either make this specific check not-enforced, or remove this check from this specific string.
I think I would make it not-enforced, because a double word is much more noticeable (and thus more likely to be corrected) than a double space, missing exclamation mark, etc.