WEB-865: Add translations for permission names using ngx-translate#3389
Merged
Merged
Conversation
…and entity, using ngx-translate and trimming API whitespace
IOhacker
approved these changes
Mar 16, 2026
IOhacker
left a comment
Contributor
There was a problem hiding this comment.
LGTM, in a follow up ticket the other languages can be translated
Member
Author
Sure I will follow the same approach for other languages too! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces enhancements to how permission names are displayed and searched within the Maker-Checker Tasks and View Role components. The changes leverage translation keys for more user-friendly and localized permission names, and update the search logic to use these improved names. Additionally, new translation entries for permissions have been added.
Improvements to permission name formatting and translation:
TranslateServiceinjection and updatedpermissionNameandformatNamemethods inConfigureMakerCheckerTasksComponentandViewRoleComponentto use translation keys for actions and entities, falling back to title-cased strings if translations are missing. This results in more readable and localized permission names throughout the UI. [1] [2] [3] [4]titleCasehelper method in both components to consistently format fallback names. [1] [2]Enhancements to permission search functionality:
ViewRoleComponentto use the improvedpermissionNamemethod for more accurate and user-friendly search results. [1] [2]Translation support:
en-US.json, supporting localization and improved readability of permission names.…and entity, using ngx-translate and trimming API whitespaceRelated issues and discussion
#WEB-865
After Video
System.-.Google.Chrome.2026-03-16.21-53-51.mp4
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
If you have multiple commits please combine them into one commit by squashing them.
Read and understood the contribution guidelines at
web-app/.github/CONTRIBUTING.md.