netbox/netbox
Jason Novinger 9e13d89baa Fixes #20766: Prevent translation of code/commands in error templates
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
2025-11-14 16:24:17 -06:00
..
account Apply fix to user view as well 2025-06-03 08:58:16 -04:00
circuits Fixes #20755: Limit Provider search scope (#20763) 2025-11-07 08:27:54 -06:00
core Closes #20774: used gettext_lazy instead gettext (#20782) 2025-11-10 21:54:35 -06:00
dcim Closes #20774: used gettext_lazy instead gettext (#20782) 2025-11-10 21:54:35 -06:00
extras Fixes #20660: Optimize loading of custom script modules from remote storage (#20783) 2025-11-10 22:47:02 -06:00
ipam feat(tables): Add ContactsColumnMixin to multiple tables 2025-10-28 13:34:27 -04:00
netbox Closes #20774: used gettext_lazy instead gettext (#20782) 2025-11-10 21:54:35 -06:00
project-static Release v4.4.6 2025-11-11 09:58:09 -05:00
reports
scripts
templates Fixes #20766: Prevent translation of code/commands in error templates 2025-11-14 16:24:17 -06:00
tenancy feat(views): Add FilterSet support to BulkRenameView 2025-10-24 14:43:35 +02:00
translations Release v4.4.6 2025-11-11 09:58:09 -05:00
users fix(users): Normalize actions in cloned objects init 2025-11-10 09:50:41 -05:00
utilities Merge pull request #20725 from netbox-community/20645-bulk-upload 2025-11-06 13:42:52 -05:00
virtualization Closes #20774: used gettext_lazy instead gettext (#20782) 2025-11-10 21:54:35 -06:00
vpn feat(tables): Add ContactsColumnMixin to multiple tables 2025-10-28 13:34:27 -04:00
wireless feat(views): Add FilterSet support to BulkRenameView 2025-10-24 14:43:35 +02:00
generate_secret_key.py Change Interpreter in shebang to python3 2023-02-27 14:09:10 -05:00
manage.py Fix ambiguous shebang in netbox/manage.py. 2024-10-24 09:04:49 -04:00
release.yaml Release v4.4.6 2025-11-11 09:58:09 -05:00