feat(dictionary): add Hachidori backend support (#266)

This commit is contained in:
sudacode authored and GitHub committed 2026-10-24 21:08:18 -07:00
1 parent e690ffba07
commit cbaa4626e1
143 files changed
+5564 -305

No files matched your search

+2 -2
View File
@@ -230,12 +230,12 @@ async function loadYomitanAnkiDeckName(): Promise<void> {
state.yomitanAnkiDeckNameError = null;
} else {
state.yomitanAnkiDeckName = '';
state.yomitanAnkiDeckNameError = result.error ?? 'Failed to read Yomitan Anki deck.';
state.yomitanAnkiDeckNameError = result.error ?? 'Failed to read the dictionary Anki deck.';
}
} catch (error) {
state.yomitanAnkiDeckName = '';
state.yomitanAnkiDeckNameError =
error instanceof Error ? error.message : 'Failed to read Yomitan Anki deck.';
error instanceof Error ? error.message : 'Failed to read the dictionary Anki deck.';
} finally {
state.yomitanAnkiDeckNameLoading = false;
requestRender();