mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-21 02:58:43 -06:00
Use blocktrans 'with' clause to pass literal code/commands as variables, preventing them from being translated. This fixes issues where commands like 'manage.py collectstatic' were incorrectly translated to nonsensical strings in non-English locales. Updated templates: - media_failure.html: manage.py collectstatic - programming_error.html: python3 manage.py migrate, SELECT VERSION() - import_error.html: requirements.txt, local_requirements.txt, pip freeze