(39:45) And when Allah is mentioned alone, the hearts of those who do not believe in the Hereafter shrink with aversion, but when those [worshipped] other than Him are mentioned, immediately they rejoice.
Muhammad Taqi-ud-Din al-Hilali and Muhammad Muhsin Khan,
(39:45) And when Allah Alone is mentioned, the hearts of those who believe not in the Hereafter are filled with disgust (from the Oneness of Allah and when those (whom they obey or worship) besides Him [like all false deities other than Allah, it may be a Messenger like ‘Iesa (Jesus) – son of Maryam (Mary), ‘Uzair (Ezra), an angel, a pious man, a jinn, or any other creature even idols, graves of religious people, saints, priests, monks, etc.] are mentioned, behold, they rejoice!
Mohammed Marmaduke William Pickthall
(39:45) And when Allah alone is mentioned, the hearts of those who believe not in the Hereafter are repelled, and when those (whom they worship) beside Him are mentioned, behold! they are glad.
Abdullah Yusuf Ali
(39:45) When Allah, the One and Only, is mentioned, the hearts of those who believe not in the Hereafter are filled with disgust and horror; but when (gods) other than He are mentioned, behold, they are filled with joy!
Mohammad Habib Shakir
(39:45) And when Allah alone is mentioned, the hearts of those who do not believe in the hereafter shrink, and when those besides Him are mentioned, lo! they are joyful.
Dr. Ghali
(39:45) And when Allah is mentioned alone, the hearts of the ones who do not believe in the Hereafter get disgusted, and when the ones apart from Him are mentioned, only then are they glad at the tidings
Ali Unal
(39:45) When God as One (and only God) is mentioned, the hearts of those who do not believe in the Hereafter recoil in aversion; but when those (whom they worship) apart from Him are mentioned, they are surely gladdened.
Amatul Rahman Omar
(39:45) When (the name of) Allâh alone is mentioned, the hearts of those who do not believe in the Hereafter shrink with aversion but when (the names of) those who are below His high station are mentioned, behold they are at once filled with joy.
Literal
(39:45) And if God was mentioned/remembered alone (the) hearts/minds (of) those who do not believe with the end (other life) became uptight/repulsed , and if those from other than Him were mentioned/remembered then they are announcing good news/rejoicing .
Ahmed Ali
(39:45) When God alone is mentioned the hearts of those who do not believe in the life to come, are filled with resentment. But when others are mentioned apart from God, they begin to rejoice.
A. J. Arberry
(39:45) When God is mentioned alone, then shudder the hearts of those who believe not in the Hereafter, but when those apart from Him are mentioned behold, they rejoice.
Abdul Majid Daryabadi
(39:45) And when Allah alone is mentioned, then shrink with eversion the hearts of those who believe not in the Hereafter, and when those beside Him are mentioned, lo! they rejoice.
Maulana Mohammad Ali
(39:45) say: Allah’s is the intercession altogether. His is the kingdom of the heavens and the earth. Then to Him you will be returned.
Muhammad Sarwar
(39:45) When one God is mentioned, the hearts of those who do not believe in the Day of Judgment begin to shrink, but when the idols are mentioned, they rejoice.
Hamid Abdul Aziz
(39:45) And when Allah, the One and Only, is mentioned, the heart of those who do not believe in the Hereafter shrink, and when those besides Him are mentioned, lo! They are joyful.
Faridul Haque
(39:45) And when Allah the One God is mentioned, the hearts of those who do not believe in the Hereafter get constricted
Talal Itani
(39:45) When God alone is mentioned, the hearts of those who do not believe in the Hereafter shrink with resentment. But when those other than Him are mentioned, they become filled with joy.
Ahmed Raza Khan
(39:45) And when Allah the One God is mentioned, the hearts of those who do not believe in the Hereafter get constricted; and when others (false deities) besides Him are mentioned, they rejoice!
Wahiduddin Khan
(39:45) When God alone is named, the hearts of those who do not believe in the Hereafter shrink with aversion, but when others are named instead of Him, they are filled with joy.
Safi-ur-Rahman al-Mubarakpuri
(39:45) And when Allah Alone is mentioned, the hearts of those who believe not in the Hereafter are filled with disgust and when those besides Him are mentioned, behold, they rejoice!
Ali Quli Qarai
(39:45) When Allah is mentioned alone, [thereat] shrink away the hearts of those who do not believe in the Hereafter, but when others are mentioned besides Him, behold, they rejoice!
Hasan al-Fatih Qaribullah and Ahmad Darwish
(39:45) When Allah is mentioned alone, the hearts of those who do not believe in the Everlasting Life shrink in aversion. But when those, other than Him, are mentioned, see, they are filled with glad tidings.
That is translated surah Az Zumar ayat 45 (QS 39: 45) in arabic and english text, may be useful.