Fixed I18n for yes/no in confirm-dialog

Nothing too fancy, but had to change the logic a bit for backwards compatibility, so please confirm changes!