YOU SAID:
it ended when you said goodbye
INTO JAPANESE
あなたがさよならを言ったときそれは終わった
BACK INTO ENGLISH
It was over when you said goodbye
INTO JAPANESE
あなたがさよならを言ったとき、それは終わった
BACK INTO ENGLISH
It was over when you said goodbye
That didn't even make that much sense in English.