feat(i18n): English source strings with German translation
All UI texts and generated document texts use gettext; exports follow the user's language. Adds a check that README and PluginConfig version ranges match. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
0d046f3a9d
commit
9dba7e07a0
35 files changed
+1841
-364
No files matched your search
@@ -1,19 +1,20 @@
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from netbox.plugins import PluginMenuButton, PluginMenuItem
|
||||
|
||||
menu_items = (
|
||||
PluginMenuItem(
|
||||
link="plugins:netbox_customer_export:select",
|
||||
link_text="Kundendokumentation",
|
||||
link_text=_("Customer Documentation"),
|
||||
permissions=["dcim.view_site"],
|
||||
),
|
||||
PluginMenuItem(
|
||||
link="plugins:netbox_customer_export:symbol_list",
|
||||
link_text="Topologie-Symbole",
|
||||
link_text=_("Topology Symbols"),
|
||||
permissions=["netbox_customer_export.view_topologysymbol"],
|
||||
buttons=(
|
||||
PluginMenuButton(
|
||||
link="plugins:netbox_customer_export:symbol_add",
|
||||
title="Hinzufügen",
|
||||
title=_("Add"),
|
||||
icon_class="mdi mdi-plus-thick",
|
||||
permissions=["netbox_customer_export.add_topologysymbol"],
|
||||
),
|
||||
@@ -21,12 +22,12 @@ menu_items = (
|
||||
),
|
||||
PluginMenuItem(
|
||||
link="plugins:netbox_customer_export:branding_list",
|
||||
link_text="Branding-Profile",
|
||||
link_text=_("Branding Profiles"),
|
||||
permissions=["netbox_customer_export.view_brandingprofile"],
|
||||
buttons=(
|
||||
PluginMenuButton(
|
||||
link="plugins:netbox_customer_export:branding_add",
|
||||
title="Hinzufügen",
|
||||
title=_("Add"),
|
||||
icon_class="mdi mdi-plus-thick",
|
||||
permissions=["netbox_customer_export.add_brandingprofile"],
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user