mirror of
https://github.com/Hopiu/django.git
synced 2026-05-13 18:13:09 +00:00
Fixed #31172 -- Added note to translators for yesno filter.
This commit is contained in:
parent
f75af5b67b
commit
0538da08c5
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue