When user enters kata trainer with a language that they have solved the kata in, the button to the solution page at the bottom says "View Solutions":
Otherwise it says "Unlock Solutions":
However, this button text isn't updated when user switches language from one language which they've solved the kata with to one that they haven't, and vice versa, unless the page is refreshed. This includes their special handling (e.g clicking "Unlock Solutions" will cause a prompt about forfeiting the kata to appear)
When user enters kata trainer with a language that they have solved the kata in, the button to the solution page at the bottom says "View Solutions":
Otherwise it says "Unlock Solutions":
However, this button text isn't updated when user switches language from one language which they've solved the kata with to one that they haven't, and vice versa, unless the page is refreshed. This includes their special handling (e.g clicking "Unlock Solutions" will cause a prompt about forfeiting the kata to appear)