From 0538da08c576a5528312ade546c2f7c63489b811 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Tue, 17 Mar 2020 11:38:49 +0100 Subject: [PATCH] Fixed #31172 -- Added note to translators for yesno filter. --- django/template/defaultfilters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/template/defaultfilters.py b/django/template/defaultfilters.py index 2c5aeba7a0..0b009291dd 100644 --- a/django/template/defaultfilters.py +++ b/django/template/defaultfilters.py @@ -786,6 +786,7 @@ def yesno(value, arg=None): ========== ====================== ================================== """ if arg is None: + # Translators: Please do not add spaces around commas. arg = gettext('yes,no,maybe') bits = arg.split(',') if len(bits) < 2: