kopia lustrzana https://github.com/wagtail/wagtail
Mark wagtailforms-date-filter-placeholder for translation
rodzic
da067679cd
commit
ff9ef9068b
|
@ -6,6 +6,7 @@ Changelog
|
|||
|
||||
* Use minified versions of jQuery and jQuery UI in the admin. Total savings without compression 371 KB (Tom Dyson)
|
||||
* Hooks can now specify the order in which they are run (Gagaro)
|
||||
* Fix: Marked 'Date from' / 'Date to' strings in wagtailforms for translation (Vorlif)
|
||||
|
||||
|
||||
1.9 (xx.xx.xxxx) - IN DEVELOPMENT
|
||||
|
|
|
@ -210,6 +210,7 @@ Contributors
|
|||
* Martey Dodoo
|
||||
* David Ray
|
||||
* Alasdair Nicol
|
||||
* Vorlif
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -20,6 +20,8 @@ Other features
|
|||
Bug fixes
|
||||
~~~~~~~~~
|
||||
|
||||
* Marked 'Date from' / 'Date to' strings in wagtailforms for translation (Vorlif)
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
======================
|
||||
|
|
|
@ -112,11 +112,11 @@ class FormBuilder(object):
|
|||
class SelectDateForm(django.forms.Form):
|
||||
date_from = django.forms.DateTimeField(
|
||||
required=False,
|
||||
widget=django.forms.DateInput(attrs={'placeholder': 'Date from'})
|
||||
widget=django.forms.DateInput(attrs={'placeholder': _('Date from')})
|
||||
)
|
||||
date_to = django.forms.DateTimeField(
|
||||
required=False,
|
||||
widget=django.forms.DateInput(attrs={'placeholder': 'Date to'})
|
||||
widget=django.forms.DateInput(attrs={'placeholder': _('Date to')})
|
||||
)
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue