<prompt> Translate the following text to EnglishMahakama hiyo imeacha kwa bunge kuamua kama wanandoa wa jinsia moja watapata haki hizi kupitia ndoa au ushirikiano wa ndani.  <response>: The court left it to the legislature to determine whether gay couples will get these rights through marriage or domestic partnership. 