I think there are other ways to solve this. Aren't we able to use the same dialog for success and error? Doesn't this work because of the translation?

Do you mind if I try a patch?