From 6c042cc16f522e7c50ee6ff6e306fb563b651181 Mon Sep 17 00:00:00 2001 From: Jamie Date: Fri, 14 Jun 2024 20:19:00 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20Fix=20typo=20(#769?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/recipes/google-translate-integration.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/recipes/google-translate-integration.mdx b/docs/docs/recipes/google-translate-integration.mdx index 359af264..b53b88a2 100644 --- a/docs/docs/recipes/google-translate-integration.mdx +++ b/docs/docs/recipes/google-translate-integration.mdx @@ -174,7 +174,7 @@ const localSource = sourceFile(defaultSourceLang); final[section][word] = destlSource[section][word] } else { console.log(' >>> ' + section + ' ' + words[word]); - const newWord = await trasnlate(words[word], local); + const newWord = await translate(words[word], local); console.log(' ### translated to ' + newWord); final[section][word] = newWord; }