added translations, added confirm messages instead of alerts