diff --git a/CustomApps/lyrics-plus/OptionsMenu.js b/CustomApps/lyrics-plus/OptionsMenu.js index 10f5d8605f..3bd13c6a9a 100644 --- a/CustomApps/lyrics-plus/OptionsMenu.js +++ b/CustomApps/lyrics-plus/OptionsMenu.js @@ -127,7 +127,12 @@ const TranslationMenu = react.memo(({ friendlyLanguage, hasTranslation, musixmat if (availableMusixmatchLanguages.length) { const musixmatchOptions = availableMusixmatchLanguages.reduce((acc, code) => { - const label = musixmatchDisplay.of(code) || code.toUpperCase(); + let label = ""; + try { + label = musixmatchDisplay.of(code) ?? code.toUpperCase(); + } catch (e) { + label = code.toUpperCase(); + } acc[`${musixmatchTranslationPrefix}${code}`] = `${label} (Musixmatch)`; return acc; }, {});