From 2cc2c8d82e87fad069b3dfcd260e1742a73d204b Mon Sep 17 00:00:00 2001 From: Satsuki Akiba Date: Thu, 12 Jun 2025 00:26:47 +0900 Subject: [PATCH] Update --- services/text-converter.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/services/text-converter.ts b/services/text-converter.ts index 4858d5e..ac2652c 100644 --- a/services/text-converter.ts +++ b/services/text-converter.ts @@ -82,8 +82,10 @@ async function convertEnglishWordToKatakana(word: string): Promise { // Fallback if wanakana fails } - // Fallback: simple phonetic approximation - return approximateEnglishToKatakana(word); + console.warn( + `No conversion found for "${word}", using phonetic approximation.`, + ); + return word; } /**