1
0
mirror of https://github.com/django/django.git synced 2025-04-04 13:36:42 +00:00

Refs #34619 -- Corrected selector description in the admin.

This commit is contained in:
Mariusz Felisiak 2025-03-26 21:59:32 +01:00 committed by GitHub
parent d5c19f9b32
commit 0d92428d77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-19 11:43-0500\n"
"POT-Creation-Date: 2025-03-25 15:04-0500\n"
"PO-Revision-Date: 2010-05-13 15:35+0200\n"
"Last-Translator: Django team\n"
"Language-Team: English <en@li.org>\n"
@ -46,7 +46,7 @@ msgstr ""
#: contrib/admin/static/admin/js/SelectFilter2.js:91
#, javascript-format
msgid "Remove selected chosen %s"
msgid "Remove selected %s"
msgstr ""
#: contrib/admin/static/admin/js/SelectFilter2.js:102

View File

@ -88,7 +88,7 @@ Requires core.js and SelectBox.js.
const remove_button = quickElement(
'button',
quickElement('li', selector_chooser),
interpolate(gettext('Remove selected chosen %s'), [field_name]),
interpolate(gettext('Remove selected %s'), [field_name]),
'id', field_id + '_remove',
'class', 'selector-remove'
);

View File

@ -19,7 +19,7 @@ QUnit.test('init', function(assert) {
assert.equal($('.selector-chooseall').prop("tagName"), "BUTTON");
assert.equal($('.selector-add').text(), "Choose selected things");
assert.equal($('.selector-add').prop("tagName"), "BUTTON");
assert.equal($('.selector-remove').text(), "Remove selected chosen things");
assert.equal($('.selector-remove').text(), "Remove selected things");
assert.equal($('.selector-remove').prop("tagName"), "BUTTON");
assert.equal($('.selector-clearall').text(), "Remove all things");
assert.equal($('.selector-clearall').prop("tagName"), "BUTTON");