Преглед изворни кода

17522 enable localization of user preference form

Arthur Hanson пре 1 година
родитељ
комит
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