Praise the child and you praise the mother.
Note: So, the mother gets all of the credit when the child turns out well. Presumably fathers are entitled to all of the fault when children go bad.
Note also: The two verbs in this seanfhocal are in the  imperative/order form (mol) and  the present habitual (molann). Although in Béarla these forms are identical (praise), Irish maintains very distinctive forms.