mirror of https://github.com/django/django.git
Marked missing part of warning footer for translation in SelectFilter2.js.
This commit is contained in:
parent
e03083917d
commit
b4c1569eae
|
@ -118,7 +118,7 @@ Requires core.js and SelectBox.js.
|
||||||
|
|
||||||
const warning_footer = quickElement('div', selector_chosen, '', 'class', 'list-footer-display');
|
const warning_footer = quickElement('div', selector_chosen, '', 'class', 'list-footer-display');
|
||||||
quickElement('span', warning_footer, '', 'id', field_id + '_list-footer-display-text');
|
quickElement('span', warning_footer, '', 'id', field_id + '_list-footer-display-text');
|
||||||
quickElement('span', warning_footer, ' (click to clear)', 'class', 'list-footer-display__clear');
|
quickElement('span', warning_footer, ' ' + gettext('(click to clear)'), 'class', 'list-footer-display__clear');
|
||||||
|
|
||||||
const clear_all = quickElement('a', selector_chosen, gettext('Remove all'), 'title', interpolate(gettext('Click to remove all chosen %s at once.'), [field_name]), 'href', '#', 'id', field_id + '_remove_all_link');
|
const clear_all = quickElement('a', selector_chosen, gettext('Remove all'), 'title', interpolate(gettext('Click to remove all chosen %s at once.'), [field_name]), 'href', '#', 'id', field_id + '_remove_all_link');
|
||||||
clear_all.className = 'selector-clearall';
|
clear_all.className = 'selector-clearall';
|
||||||
|
|
Loading…
Reference in New Issue