Fixed typos in edit-text widget

Thanks @grayeul