diff --git a/app/islands/TranslatorButton.tsx b/app/islands/TranslatorButton.tsx index c6ab9df..f7b3c6e 100644 --- a/app/islands/TranslatorButton.tsx +++ b/app/islands/TranslatorButton.tsx @@ -42,7 +42,7 @@ const TranslatorButton: FC = ({ content }) => { ) { // biome-ignore lint: lint/suspicious/noExplicitAny const translator = await (self.translation as any).createTranslator({ - sourceLanguage: value, + sourceLanguage: "ja", targetLanguage: e.target.value, }); await translator.translate(content);