feat(i18n): translate UI and import messages to English with German catalogue

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]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-10-26 21:26:52 +01:00
1 parent 409b239fca
commit 72e04fe086
21 files changed
+713 -156

No files matched your search

+3 -3
View File
@@ -140,7 +140,7 @@ def test_update_releases_exact_rack_occupant_and_places_imported_device(placemen
assert (occupant.rack, occupant.position, occupant.face) == (rack, None, None)
assert (imported.rack, imported.position, imported.face) == (rack, Decimal("31.0"), "front")
assert len(warnings) == 1
assert f"Zielgerät(e) {occupant.pk} (Existing)" in warnings[0]
assert f"target device(s) {occupant.pk} (Existing)" in warnings[0]
def test_skip_keeps_occupant_and_leaves_imported_device_unpositioned(placement_schema):
@@ -165,7 +165,7 @@ def test_skip_keeps_occupant_and_leaves_imported_device_unpositioned(placement_s
assert (occupant.rack, occupant.position, occupant.face) == (rack, Decimal("31.0"), "front")
assert (imported.rack, imported.position, imported.face) == (rack, None, None)
assert len(warnings) == 1
assert "wurde ohne Position im Rack gespeichert" in warnings[0]
assert "was saved without a rack position" in warnings[0]
def test_fail_reports_rack_conflict_before_database_constraint(placement_schema):
@@ -177,7 +177,7 @@ def test_fail_reports_rack_conflict_before_database_constraint(placement_schema)
imported = PlacementDevice.objects.create(name="Imported", device_type=device_type)
record_id, resolved, _, resolver, compatibility, placement = placement_context(imported, rack)
with pytest.raises(ImportConflictError, match="Rackplatzkonflikt.*Rack R01"):
with pytest.raises(ImportConflictError, match="Rack position conflict.*Rack R01"):
_apply_device_placements(
[(record_id, placement)],
resolved,