Merge branch 'feat/i18n' into main
Bring the English/German translation up to date with main. Conflicts are resolved in favour of main's features (rack photos, floor plans, CPU & RAM, virtualization clusters, location overview, merged disk table), with their texts now translatable and added to the German catalogue. Bump version to 0.17.0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
38b3ec2a27
37 files changed
+2093
-419
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