Add Weblate check for matching number of opening/closing square brackets

emmapeel
2025-09-08T14:00:15Z

_Originally created by @emmapeel on [#15454 (Redmine)](https://public-redmine-archive.tails.boum.org/code/issues/15454)_

Our beautiful translators are human after all, and sometimes they don’t
copy the ikiwiki syntax quite right.

A sim...

Originally created by @emmapeel on #15454 (Redmine)

Our beautiful translators are human after all, and sometimes they don’t copy the ikiwiki syntax quite right.

A simple check could be added to make sure the source and target strings have the same amount of [ and ] characters.

Reasoning:

- If there is an error on the number of brackets, ikiwiki will build without errors but the interface will be broken.