[PR #17888] [MERGED] Fixes #17884: Fix translation support for certain tab headings #15222

Closed
opened 2025-12-30 00:20:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17888
Author: @jeremystretch
Created: 10/29/2024
Status: Merged
Merged: 10/30/2024
Merged by: @jeremystretch

Base: developHead: 17884-tab-translations


📝 Commits (1)

  • 70acb9a Fixes #17884: Fix translation support for certain tab headings

📊 Changes

6 files changed (+5065 additions, -5765 deletions)

View changed files

📝 netbox/dcim/views.py (+1 -1)
📝 netbox/ipam/views.py (+1 -1)
📝 netbox/netbox/views/generic/feature_views.py (+1 -1)
📝 netbox/tenancy/views.py (+1 -1)
📝 netbox/translations/en/LC_MESSAGES/django.po (+5060 -5760)
📝 netbox/virtualization/views.py (+1 -1)

📄 Description

Fixes: #17884

  • Replace gettext() with gettext_lazy()
  • Update source translation strings

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/17888 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 10/29/2024 **Status:** ✅ Merged **Merged:** 10/30/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `17884-tab-translations` --- ### 📝 Commits (1) - [`70acb9a`](https://github.com/netbox-community/netbox/commit/70acb9a388bf2aae3918de5714cf4d4f147764bc) Fixes #17884: Fix translation support for certain tab headings ### 📊 Changes **6 files changed** (+5065 additions, -5765 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/views.py` (+1 -1) 📝 `netbox/ipam/views.py` (+1 -1) 📝 `netbox/netbox/views/generic/feature_views.py` (+1 -1) 📝 `netbox/tenancy/views.py` (+1 -1) 📝 `netbox/translations/en/LC_MESSAGES/django.po` (+5060 -5760) 📝 `netbox/virtualization/views.py` (+1 -1) </details> ### 📄 Description ### Fixes: #17884 - Replace `gettext()` with `gettext_lazy()` - Update source translation strings --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:20:42 +01:00
adam closed this issue 2025-12-30 00:20:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15222