mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 01:22:07 +01:00
Amends label for when user changes images closes #3955
This commit is contained in:
parent
d7180bec1a
commit
a28fa5e8c8
@ -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)
|
||||
|
@ -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
|
||||
~~~~~~~~~
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user