-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Deployment Type
Self-hosted
NetBox Version
v4.0.0
Python Version
3.10
Steps to Reproduce
The empty_text in BaseTable is not translatable because it does not utilize gettext_lazy.
netbox/netbox/netbox/tables/tables.py
Lines 54 to 55 in 0cc2963
| if self.empty_text is None: | |
| self.empty_text = f"No {self._meta.model._meta.verbose_name_plural} found" |
Expected Behavior
empty_text can be translated
Observed Behavior
empty_text cannot be translated
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application

