diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-12-30 11:10:08 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-12-30 11:10:08 +0100 |
commit | 0e4d14c37a337709e490e33081a869cb8ca0cb79 (patch) | |
tree | a5d6aa3dc284d5c1f74ea77a0486f33c6607ad35 | |
parent | a26055bca7e86e41c8022a3a2b19abb3a0f1404e (diff) | |
download | Ishtar-0e4d14c37a337709e490e33081a869cb8ca0cb79.tar.bz2 Ishtar-0e4d14c37a337709e490e33081a869cb8ca0cb79.zip |
⚡️ disable overload translation by default - 🐛 fix disable overload translation
-rw-r--r-- | archaeological_warehouse/views.py | 3 | ||||
-rw-r--r-- | example_project/settings.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/archaeological_warehouse/views.py b/archaeological_warehouse/views.py index 3bbf522dc..4b3f494d8 100644 --- a/archaeological_warehouse/views.py +++ b/archaeological_warehouse/views.py @@ -27,7 +27,7 @@ from django.views.generic.edit import FormView from django.http import HttpResponse, Http404, HttpResponseRedirect from django.shortcuts import redirect from django.urls import reverse -from ishtar_common.utils import ugettext_lazy as _ +from ishtar_common.utils import ugettext_lazy as _, pgettext_lazy from archaeological_warehouse import models from archaeological_warehouse import forms @@ -59,7 +59,6 @@ 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 diff --git a/example_project/settings.py b/example_project/settings.py index cc2e44b3d..726ccda8e 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -192,7 +192,7 @@ INSTALLED_APPS = [ # 'debug_toolbar', ] -USE_TRANSLATION_OVERLOAD = True +USE_TRANSLATION_OVERLOAD = False TRANSLATION_OVERLOAD_DEBUG = False SESSION_EXPIRE_AT_BROWSER_CLOSE = False |