From 9de6edcfe677018007ca2b178f015578a77d6e13 Mon Sep 17 00:00:00 2001 From: Johannes Keyser Date: Sun, 1 Oct 2017 18:11:23 +0200 Subject: [PATCH] i18n, msgfmt: Flag percent symbol in ugettext, fixes issue #1039 Signed-off-by: Johannes Keyser --- plinth/modules/storage/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plinth/modules/storage/views.py b/plinth/modules/storage/views.py index 45d16077a..8d3e72aba 100644 --- a/plinth/modules/storage/views.py +++ b/plinth/modules/storage/views.py @@ -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))