Update
This commit is contained in:
1 parent
a2a58510e3
commit
2cc2c8d82e
1 file changed
+4
-2
@@ -82,8 +82,10 @@ async function convertEnglishWordToKatakana(word: string): Promise<string> {
|
||||
// Fallback if wanakana fails
|
||||
}
|
||||
|
||||
// Fallback: simple phonetic approximation
|
||||
return approximateEnglishToKatakana(word);
|
||||
console.warn(
|
||||
`No conversion found for "${word}", using phonetic approximation.`,
|
||||
);
|
||||
return word;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user