Просмотр исходного кода

17522 enable localization of user preference form

Arthur Hanson 1 год назад
Родитель
Сommit
6d0a3485a1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      netbox/netbox/preferences.py

+ 1 - 1
netbox/netbox/preferences.py

@@ -1,5 +1,5 @@
 from django.conf import settings
-from django.utils.translation import gettext as _
+from django.utils.translation import gettext_lazy as _
 
 from netbox.registry import registry
 from users.preferences import UserPreference