Parcourir la source

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

Hasan Ramezani il y a 5 ans
Parent
commit
0538da08c5
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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: