Skip to content

Commit

Permalink
chore: sourceLanguage ja
Browse files Browse the repository at this point in the history
  • Loading branch information
yossydev committed Nov 17, 2024
1 parent d088ed1 commit 9f5ad9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/islands/TranslatorButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const TranslatorButton: FC<Props> = ({ 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);
Expand Down

0 comments on commit 9f5ad9b

Please sign in to comment.