i18n, msgfmt: Flag percent symbol in ugettext, fixes issue #1039

Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
This commit is contained in:
Johannes Keyser 2017-10-01 18:11:23 +02:00 committed by James Valleroy
parent f5f0f7e791
commit 9de6edcfe6
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -90,6 +90,7 @@ def warn_about_low_disk_space(request):
free_bytes = size_bytes * (100 - perc_used) / 100
message = format_lazy(
# Translators: xgettext:no-python-format
_('Warning: Low space on system partition ({percent_used}% used, '
'{free_space} free).'),
percent_used=perc_used, free_space=_format_bytes(free_bytes))