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
Ability to delete a translation key #3128
Comments
Wonder if you can set it to |
Setting them to null would help reduce bloat, but we should still support removing keys. |
Removed the Triaged label since this issue is not in a Project. |
@abbyad All issues need some Status label or they will come up for triage again. IMO it doesn't need to be in a project to be triaged. |
Yeah unfortunately this is an issue with all our settings, hopefully it'll be fixed by medic/cht-conf#113 For now I think just add the button and we'll sort out the rest later. |
Also, refactor translation related code to take into account new structure. #3128
For AT:
|
Would you like to have a second look at this on your local @wtekeu . This is what happened when I tested this. I added a new translation and when I deleted it, there were errors both in the UI and in the console. I clicked delete again and translations were deleted but the key stayed. Then I tried to edit that translation and lo and behold the app crashes - and it is down as I type this. Whether it is related or a rather unfortunate coincidence, I cannot tell! Might be also related to #5062 ... Didn't take any screenshots or error logs as I was expecting to repeat this a couple of times to confirm.
|
LGTM. |
Thanks @garethbowen . At the moment, for shipped translations, the |
Hide the translation delete button when the user edits a generic translation. Only custom translations can be deleted. #3128
LGTM... |
As a configurer I want to be able to delete unused translation keys so that they don't bloat the instance.
Once a translation key has been added it is not possible to remove it. This makes it not only difficult to correct mistakes, but also difficult to remove labels that may have been included with the default configuration that are not being used.
We could have an UI for removing individual keys, but there are occasions that we'd want to delete multiple keys at once, which could perhaps be done by re-importing the translations with the unused keys removed.
The text was updated successfully, but these errors were encountered: