Wrap all user-visible strings for translation, ship a complete German catalogue, align the NetBox version range (4.4.0-4.7.x) with the README and add a test that keeps them in sync. Co-Authored-By: Claude Opus 5.5 <[email protected]>
8 lines
244 B
Python
8 lines
244 B
Python
import django
|
|
from django.conf import settings
|
|
|
|
# The importer tests load modules without NetBox; gettext still needs configured settings.
|
|
if not settings.configured:
|
|
settings.configure(USE_I18N=True, LANGUAGE_CODE="en")
|
|
django.setup()
|