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,5 +1,6 @@
|
||||
"""Ermittelt, welche Objekte zu einem Export-Scope (Standort, Lokation, Mandant, Mandantengruppe) gehören."""
|
||||
from django.db.models import Q
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from circuits.models import Circuit
|
||||
from dcim.models import Device, Location, PowerFeed, Rack, Site
|
||||
@@ -16,10 +17,10 @@ SCOPE_MODELS = {
|
||||
}
|
||||
|
||||
SCOPE_LABELS = {
|
||||
"site": "Standort",
|
||||
"location": "Lokation",
|
||||
"tenant": "Mandant",
|
||||
"tenantgroup": "Mandantengruppe",
|
||||
"site": _("Site"),
|
||||
"location": _("Location"),
|
||||
"tenant": _("Tenant"),
|
||||
"tenantgroup": _("Tenant group"),
|
||||
}
|
||||
|
||||
NONE = Q(pk__in=[])
|
||||
|
||||
Reference in new issue
Block a user