Good question. I assume educa was chosen for this sentence because it rolls off the tongue better than disciplina and it’s also more general. In this context, educar is understood as raising a child properly, giving them adequate instruction and guidance. Disciplinar is also covered within educar, and typically refers more specifically to corrective actions. I agree that as it currently is, the English translation is not ideal – it’ll be marked for review