From b705410113754238b4d690264d1398ac88cee98a Mon Sep 17 00:00:00 2001 From: hocgin Date: Mon, 4 Mar 2024 21:50:10 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E=E5=8A=9F=E8=83=BD](develop)?= =?UTF-8?q?:=20Google=20i18n=20=E7=BF=BB=E8=AF=91=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Translate/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Translate/index.tsx b/src/Translate/index.tsx index d4cdda62..5ccea097 100644 --- a/src/Translate/index.tsx +++ b/src/Translate/index.tsx @@ -38,6 +38,7 @@ export const XTranslate = () => { script.defer = true; script.crossOrigin = 'anonymous'; // https:/translate.google.com/translate_a/element.js?cb=loadGoogleTranslate + // script.src = `//cdn.hocgin.top/icons/gtranslate.js?&cb=GoogleTranslateElementInit`; script.src = `//translate.google.com/translate_a/element.js?&cb=GoogleTranslateElementInit`; script.onload = onload; script.onerror = console.warn;