Ticket #3410: ticket-3410.diff
File ticket-3410.diff, 1.1 KB (added by , 18 years ago) |
---|
-
django/conf/locale/de/LC_MESSAGES/django.po
a b msgid "Duplicate values are not allowed. 2021 2021 msgstr "Doppelte Werte sind hier nicht erlaubt." 2022 2022 2023 2023 #: core/validators.py:364 2024 msgid "This value must be between % s and %s."2025 msgstr "Dieser Wert muss zwischen % s und %s sein."2024 msgid "This value must be between %(lower)s and %(upper)s." 2025 msgstr "Dieser Wert muss zwischen %(lower)s und %(upper)s sein." 2026 2026 2027 2027 #: core/validators.py:366 2028 2028 msgid "This value must be at least %s." -
django/core/validators.py
a b class NumberIsInRange(object): 361 361 self.lower, self.upper = lower, upper 362 362 if not error_message: 363 363 if lower and upper: 364 self.error_message = gettext("This value must be between % s and %s.") % (lower, upper)364 self.error_message = gettext("This value must be between %(lower)s and %(upper)s.") % {'lower': lower, 'upper': upper} 365 365 elif lower: 366 366 self.error_message = gettext("This value must be at least %s.") % lower 367 367 elif upper: