Hi!
On 20.11.19 13:45, Joaquín Serna wrote:
> I tend to try and fix them, but sometimes there are errors I don't know what to do with.
>
> For example:
> ERROR: wiki/src/doc.es.po:
> i18nspector is not happy:
> E: inconsistent-trailing-newlines msgid ' [[!traillink Mac|reset/mac]]\n'
>
> It means that the doc.po and doc.es.po have different number of newlines at the end of the string but emmapeel fixed it about 20 hours ago. [1]
>
> Maybe instead of sending it to this list, it would be more useful to send it to the commiter, the translations reviewers or even the language's own mailing list (even though not all the langs have their own)
I like the idea to
- send it to the committer
- send a copy to the admins of the platform
- not send these emails here anymore
The script which does this check is
tails.git:submodules/jenkins-tools/slaves/lint_po
On the long term, would it be possible to run these checks before a
commit/push with errors happens? I remember that the idea was in the
past that every committer would run this on their machine via an
obligatory Git hook and the Weblate VM would also run it (it does). I
guess hefee and intrigeri could refresh my memory here.
cheers,
u.