Pārlūkot izejas kodu

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

Hasan Ramezani 5 gadi atpakaļ
vecāks
revīzija
0538da08c5
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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: