-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
v13.5 - New Swedish translation crashes Umbraco, removed duplicate areas. #17059
Conversation
SV translations breaks Umbraco,
Hi there @madsoulswe, thank you for this contribution! 👍 While we wait for one of the Core Collaborators team to have a look at your work, we wanted to let you know about that we have a checklist for some of the things we will consider during review:
Don't worry if you got something wrong. We like to think of a pull request as the start of a conversation, we're happy to provide guidance on improving your contribution. If you realize that you might want to make some changes then you can do that by adding new commits to the branch you created for this work and pushing new commits. They should then automatically show up as updates to this pull request. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
"Crashes" might be the wrong word. But it crashes all valueconverters etc. |
HI @madsoulswe, Thanks a lot for spotting the issue and providing the fix 👍 Cheers! |
- Check if area exist before creating. - Use TryGetValue instead of ContainsKey
Thanks so much for the quick PR @madsoulswe this is helpful. I've reproduced the original issue and can confirm it's gone with this PR, also tested what happens if you have duplicate keys now and as predicted the first one will be used, which is perfect. Code looks good too, so I'll merge! Thanks again! #h5yr 👍 |
@nul800sebastiaan Thank you for the swift merge, appreciate it 🎉 And @madsoulswe ofc! |
New Swedish translation crashes Umbraco
Prerequisites
LocalizedTextService.GetAreaStoredTranslations crashes on duplicate area-keys
Description
Removed duplicate areas