translate-shell icon indicating copy to clipboard operation
translate-shell copied to clipboard

Google Spanish gendered translations have the wrong icon

Open emanuele6 opened this issue 7 months ago • 1 comments

$ trans -e google -t es 'we hate milk'
we hate milk

(♂) Nosotras odiamos la leche
(♀) Nosotros odiamos la leche

Translations of we hate milk
[ English -> Español ]

we hate milk
    Odiamos la leche, odiamos la leche

"Nosotras" is all-feminine "we", but is displayed next to (♂), and "Nosotros" is displayed next to (♀). They should be the other way around.

emanuele6 avatar Apr 10 '25 21:04 emanuele6

It seems the code is just expecting google translate to provide the masculine translation first, and the feminine translation second.

https://github.com/soimort/translate-shell/blob/dc67af4e66ca7b33381e5013204d954c86a6fe37/include/Translators/GoogleTranslate.awk#L271-L274

But it seems that actually the feminine translation is first, and the masculine translation is second; maybe it was changed recently.

A B
Image Image

emanuele6 avatar Apr 10 '25 21:04 emanuele6