1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Marked missing part of warning footer for translation in SelectFilter2.js.

This commit is contained in:
Marc Picaud 2024-08-12 18:23:21 +01:00 committed by GitHub
parent e03083917d
commit b4c1569eae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,7 +118,7 @@ Requires core.js and SelectBox.js.
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, ' (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');
clear_all.className = 'selector-clearall';