For the translation: "When a sparrow wants to find a mate, it simply spreads its tail and dances! When a peacock has an inclination to love, it sings its heart out".
I think it should be the other way around according to the original text. "孔雀想谈恋爱时，就开屏跳舞!" describes the peacock spreading its tail and dancing rather than the sparrow.