From 9e01f9240a8641e20c51353dff054afd53f73629 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 5 Sep 2024 16:39:00 +0200 Subject: 🌐 localization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_warehouse/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archaeological_warehouse') diff --git a/archaeological_warehouse/views.py b/archaeological_warehouse/views.py index 0ce6f8763..3bbf522dc 100644 --- a/archaeological_warehouse/views.py +++ b/archaeological_warehouse/views.py @@ -59,6 +59,7 @@ from archaeological_warehouse.wizards import ( ContainerModificationWizard, ContainerDeletionWizard, ) +from overload_translation.utils import pgettext_lazy get_container = get_item( models.Container, "get_container", "container", search_form=forms.ContainerSelect @@ -513,7 +514,7 @@ class QAContainerMoveForm(QAItemForm): model = models.Container form_class = forms.QAContainerMoveForm icon = "fa fa-arrow-right" - page_name = _("Move") + page_name = pgettext_lazy("action", "Move") template_name = "ishtar/forms/qa_container_move.html" base_url = "container-qa-move" -- cgit v1.2.3