Fix translation issues and add tests to detect them in CI
Summary
Fix a few minor issues in the translation files generation.
Add a check in the CI to detect this kind of errors that are only reported as warnings by xgettext.
Resolves #1441 (closed)
Checklist
Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:
-
the subject for all commits is concise and explicative -
the message for all commits explains the reason for the change -
the source is properly formatted -
any relevant documentation is up to date -
you have added unit tests if applicable