fix: remove undefined showTranslationFallbackNotice function call

- Removed call to showTranslationFallbackNotice(language) which was undefined
- Console warning already logs the fallback behavior
- Prevents ReferenceError when loading translated documents
- Related to glossary translation fallback handling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
TheFlow 2025-11-01 11:11:38 +13:00
parent 4620329fe0
commit e208b1cea3

View file

@ -655,8 +655,8 @@ async function loadDocument(slug, lang = null) {
const enData = await enResponse.json();
if (enData.success) {
// Show notification that translation isn't available
showTranslationFallbackNotice(language);
// Translation not available - falling back to English
// (console warning already logged above)
const fallbackData = enData;
fallbackData.document.language = 'en';
fallbackData.document.fallback = true;