Sfoglia il codice sorgente

17522 enable localization of user preference form

Arthur Hanson 1 anno fa
parent
commit
6d0a3485a1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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