-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translate severity levels and module names in result page #463
Translate severity levels and module names in result page #463
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with the 'fr' locale and it works as expected.
'system': $localize `System`, | ||
'basic': $localize `Basic`, | ||
'address': $localize `Address`, | ||
'connectivity': $localize `Connectivity`, | ||
'consistency': $localize `Consistency`, | ||
'delegation': $localize `Delegation`, | ||
'dnssec': $localize `DNSSEC`, | ||
'nameserver': $localize `Nameserver`, | ||
'syntax': $localize `Syntax`, | ||
'zone': $localize `Zone`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a list of the current modules. What is a new module name comes, e.g. the name of a custom module?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That’s a limitation of the current design. Shouldn’t these module names be moved over to Zonemaster::Engine, eventually?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If custom module names just show up untranslated, it is fine. If they disappear, it is not fine
I think we should consider moving it to Engine later but it is fine to have it in GUI for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My approval is based on the assumption that names of custom modules are just untranslated, and not creating any other issue
cee19dc
This was not the case and should now be fixed.
I implemented this based on the decision taken in #86 to only translate in Gui but I guess this issue is a bit old now and things have changed since ^^ |
I think that is fine for now. We can take the next step later. |
@tgreenx and @marc-vanderwal, please re-review. |
v2024.1 Release testingFollowed the "How to Test" section, using the |
Purpose
Translate severity levels and module names
Context
Fixes #86
Changes
How to test this PR