From a28fa5e8c892fbe158e3c2f406de88bd7c571e4e Mon Sep 17 00:00:00 2001 From: Edd Baldry Date: Fri, 3 Nov 2017 13:14:10 +0000 Subject: [PATCH] Amends label for when user changes images closes #3955 --- CHANGELOG.txt | 1 + docs/releases/2.0.rst | 1 + wagtail/wagtailimages/widgets.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 2828b6570..41ad416c0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -14,6 +14,7 @@ Changelog * Added usage count to snippets (Kees Hink) * Moved usage count to the sidebar on the edit page (Kees Hink) * Explorer menu now reflects customisations to the page listing made via the `construct_explorer_page_queryset` hook and `ModelAdmin.exclude_from_explorer` property (Tim Heap) + * "Choose another image" button changed to "Change image" to avoid ambiguity (Edd Baldry) * Fix: Do not remove stopwords when generating slugs from non-ASCII titles, to avoid issues with incorrect word boundaries (Sævar Öfjörð Magnússon) * Fix: The PostgreSQL search backend now preserves ordering of the `QuerySet` when searching with `order_by_relevance=False` (Bertrand Bordage) * Fix: Using `modeladmin_register` as a decorator no longer replaces the decorated class with `None` (Tim Heap) diff --git a/docs/releases/2.0.rst b/docs/releases/2.0.rst index a31a1ccea..e0d277143 100644 --- a/docs/releases/2.0.rst +++ b/docs/releases/2.0.rst @@ -22,6 +22,7 @@ Other features * Added usage count to snippets (Kees Hink) * Moved usage count to the sidebar on the edit page (Kees Hink) * Explorer menu now reflects customisations to the page listing made via the `construct_explorer_page_queryset` hook and `ModelAdmin.exclude_from_explorer` property (Tim Heap) + * "Choose another image" button changed to "Change image" to avoid ambiguity (Edd Baldry) Bug fixes ~~~~~~~~~ diff --git a/wagtail/wagtailimages/widgets.py b/wagtail/wagtailimages/widgets.py index cfc2ab2b1..f10dbb431 100644 --- a/wagtail/wagtailimages/widgets.py +++ b/wagtail/wagtailimages/widgets.py @@ -11,7 +11,7 @@ from wagtail.wagtailimages import get_image_model class AdminImageChooser(AdminChooser): choose_one_text = _('Choose an image') - choose_another_text = _('Choose another image') + choose_another_text = _('Change image') link_to_chosen_text = _('Edit this image') def __init__(self, **kwargs):