peteeckel / netbox-plugin-dns

NetBox DNS is a NetBox plugin for managing DNS data.
https://pypi.org/project/netbox-plugin-dns
MIT License
204 stars 16 forks source link

Fixed translations for "Views" #461

Closed peteeckel closed 1 month ago

peteeckel commented 1 month ago

For some unclear reason, the German translation for "View" was correct while the one for "Views" was not available. manage.py makemessages -l de did not even create an entry in the translation table for "Views".

The "fix" is to remove the context and not use pgettext, which magically solved the issue. Not very satisfactory but since it's a minor issue let's leave it at that.