voldikss / coc-extensions

🌸 Collections of coc.nvim extensions maintained by @voldikss
122 stars 6 forks source link

Google's translation server API address has changed, need to fix #125

Closed bnse closed 2 years ago

bnse commented 2 years ago

https://github.com/voldikss/coc-extensions/blob/98c1c8e837589f800e750e197191c3d79e6d41a4/packages/coc-translator/src/translator/providers/google.ts#L65

if (/^zh/.test(targetLang)) host = 'translate.google.com.hk'

voldikss commented 2 years ago

thanks