Mahina will play with other dogs perfectly fine! She's never growled at them, she wants to play with every dog she sees!
When it comes to people if theres someone walking a distance away and she sees them she'll growl and bark! I always give her a stern no (not too loud as I've heard that can make them think your barking along with them) or that sound that Ceaser Millan makes. Nothing works, only if I remove her from the area so she can't see.
I don't want her to be barking or growling at people. Is it possible she's learning this from the other dog (I'm always at my boyfriends house and their dog always barks at people walking by and runs away when they approach.

) I've also have brought her around many people so she can get used to them.
What can I do? She's fine if people approach her and will sniff them but barks at them from a distance.