We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b330e21 commit 912db01Copy full SHA for 912db01
docs/javascript/translate.js
@@ -37,7 +37,7 @@ function showGoogleTranslateBar() {
37
"https://wiki.gdevelop.io"
38
);
39
40
- const googleTradRegex = /translate\.google\.com/;
+ const googleTradRegex = /translate\.goog/;
41
const isGoogleTradPage = googleTradRegex.test(currentUrl);
42
if (isGoogleTradPage) {
43
// If the page is already a Google Translate page, we need to get the original URL.
0 commit comments