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 authored and James Valleroy committed 2017-10-02 05:21:54 -04:00
1 parent f5f0f7e791
commit 9de6edcfe6
1 file changed
+1
+1
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))