Files
mrb-netbox-topology-views/netbox_topology_views/__init__.py
T
MrBlakeandClaude Opus 5.5 cce6e21a09 feat(i18n): translate UI to English and German
Use English as source language for all user-visible strings, wrap them for
translation and ship a German catalog. Add a test that keeps the README's
NetBox range in sync with min_version/max_version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 21:25:38 +01:00

29 lines
788 B
Python

from django.utils.translation import gettext_lazy as _
from netbox.plugins import PluginConfig
class TopologyViewsConfig(PluginConfig):
name = "netbox_topology_views"
verbose_name = _("Topology views")
description = _("A plugin to render topology maps")
version = "4.5.2"
author = "Mattijs Vanhaverbeke, Codex & Claude"
author_email = "[email protected]"
base_url = "netbox_topology_views"
min_version = "4.7.0"
max_version = "4.7.99"
required_settings = []
default_settings = {
"static_image_directory": "netbox_topology_views/img",
"allow_coordinates_saving": False,
"always_save_coordinates": False,
}
def ready(self):
from . import signals
super().ready()
config = TopologyViewsConfig