Currently you need to test the button contents to know what was clicked:
But, when you TRANSLATE button contents, it’s getting a pain to test all contents.
Instead of testing the content of the button, it should be able to test the button ID.
CANCEL button should also be translatable.
Same for everywhere else a text can be translated I guess.