Validate translations

Validate that translations are ok using msgfmt, so that no invalid
ones can be imported.
Closes-Bug: #1536214
Change-Id: Ic1f106684270a8f2197e0fb2a67d6fc00535ee65
This commit is contained in:
Andreas Jaeger
2016年01月20日 14:41:24 +01:00
committed by Andreas Jaeger
parent 74eac0b5ae
commit b18c5c3422

View File

@@ -33,6 +33,9 @@ install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstac
[testenv:pep8]
commands =
bash tools/flake8wrap.sh {posargs}
# Check that .po and .pot files are valid.
bash -c "find nova -type f -regex '.*\.pot?' -print0| \
xargs -0 -n 1 msgfmt --check-format -o /dev/null"
[testenv:pep8-constraints]
install_command = {[testenv:common-constraints]install_command}
Reference in New Issue
openstack/nova
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.