English is now the source language for the dashboard, forms, menu, JavaScript progress texts and all import/export messages; a complete German catalogue ships as package data. Tenant-error detection also accepts the error code and the active-language message of netbox_utilities, and no longer imports netbox_utilities when it is installed but not enabled. A test keeps the README NetBox range in sync with min_version/max_version. Co-Authored-By: Claude Opus 5.5 <[email protected]>
12 lines
256 B
Python
12 lines
256 B
Python
from django.utils.translation import gettext_lazy as _
|
|
from netbox.plugins import PluginMenuItem
|
|
|
|
menu_items = (
|
|
PluginMenuItem(
|
|
link="plugins:netbox_export:dashboard",
|
|
link_text=_("Export / Import"),
|
|
staff_only=True,
|
|
),
|
|
)
|
|
|