From ca83e5a34f960ba53ccded45a59884eee054af60 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Wed, 22 Mar 2023 09:10:44 +0000 Subject: [PATCH] Re-label "StreamField blocks" option in block picker to "Blocks" --- CHANGELOG.txt | 1 + client/src/entrypoints/admin/telepath/widgets.js | 2 +- docs/releases/5.0.md | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 68e4be875e..e84fbea757 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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) diff --git a/client/src/entrypoints/admin/telepath/widgets.js b/client/src/entrypoints/admin/telepath/widgets.js index 9365dc333c..f622c85591 100644 --- a/client/src/entrypoints/admin/telepath/widgets.js +++ b/client/src/entrypoints/admin/telepath/widgets.js @@ -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, }; diff --git a/docs/releases/5.0.md b/docs/releases/5.0.md index 138fb97244..e62bd3a05b 100644 --- a/docs/releases/5.0.md +++ b/docs/releases/5.0.md @@ -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