commit 7236bd800339322b49172664ca5cfd642e4c166c Author: emma peel emma.peel@riseup.net Date: Fri Apr 23 11:48:19 2021 +0000
add l10n QA script and needed library --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9622aed..00f07ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,7 @@ pages: - pip3 install babel - pip3 install wheel - pip3 install lektor + - pip3 install pofile - echo 'checking out translations' - rm -rf i18n - git clone https://git.torproject.org/translation.git i18n @@ -33,5 +34,5 @@ pages: - translations check_l10n_links: stage: test - script: - - 'test-links=$(grep -r "] (" i18n/*.po >&2 && echo "TEST FAILED: Broken links")' + script: + - l10n/bin/check_markdown_links.py i18n/
tor-commits@lists.torproject.org