Translation:His cousin bought a nice restaurant in a city like this.
'His cousin bought a nice restaurant in a town like this' should be accepted, but currently isn't.
At https://glosbe.com/cs/en/hezk%C3%BD, "lovely" IS one of the translations of "hezký," though it's pretty far down the list. If you get this exercise again and the right button is available (at the moment it's not...), report it as My Answer Should Be Accepted. That will flag it for the volunteers, and it may be added as a correct translation.