1
0
mirror of https://github.com/django/django.git synced 2025-02-12 18:36:41 +00:00

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

This commit is contained in:
Hasan Ramezani 2020-03-17 11:38:49 +01:00 committed by GitHub
parent f75af5b67b
commit 0538da08c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: