Browse Source

Fixed #31172 -- Added note to translators for yesno filter.

Hasan Ramezani 5 years ago
parent
commit
0538da08c5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      django/template/defaultfilters.py

+ 1 - 0
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: