Re-label "StreamField blocks" option in block picker to "Blocks"

pull/10264/head
Thibaud Colas 2023-03-22 09:10:44 +00:00 zatwierdzone przez Sage Abdullah
rodzic 9288f3940c
commit ca83e5a34f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
3 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -25,6 +25,7 @@ Changelog
* Allow customising icons for snippets via `SnippetViewSet.icon` (Daniel Kirkham, Sage Abdullah)
* Allow customising the base URL and URL namespace for snippet views (Sage Abdullah)
* Allow customising the number of items per page for snippet listing views (Sage Abdullah)
* Re-label "StreamField blocks" option in block picker to "Blocks" (Thibaud Colas)
* Fix: Ensure `label_format` on StructBlock gracefully handles missing variables (Aadi jindal)
* Fix: Adopt a no-JavaScript and more accessible solution for the 'Reset to default' switch to Gravatar when editing user profile (Loveth Omokaro)
* Fix: Ensure `Site.get_site_root_paths` works on cache backends that do not preserve Python objects (Jaap Roes)

Wyświetl plik

@ -326,7 +326,7 @@ class BoundDraftailWidget {
new DraftailInsertBlockCommand(this, blockDef, addSibling, split),
);
return {
label: group || gettext('StreamField blocks'),
label: group || gettext('Blocks'),
type: `streamfield-${group}`,
items: blockControls,
};

Wyświetl plik

@ -40,6 +40,7 @@ Support for adding custom validation logic to StreamField blocks has been formal
* Allow customising icons for snippets via `SnippetViewSet.icon` (Daniel Kirkham, Sage Abdullah)
* Allow customising the base URL and URL namespace for snippet views (Sage Abdullah)
* Allow customising the number of items per page for snippet listing views (Sage Abdullah)
* Re-label "StreamField blocks" option in block picker to "Blocks" (Thibaud Colas)
### Bug fixes