Better Translation Error Information

This commit is contained in:
Konloch 2021-07-21 08:29:45 -07:00
parent 0203a13472
commit 87ff4bd291

View file

@ -115,7 +115,7 @@ public enum Language
//skip translating if the language config is missing the translation key //skip translating if the language config is missing the translation key
if(!translationMap.containsKey(text.key)) if(!translationMap.containsKey(text.key))
{ {
BCV.logE(true, "MISSING TRANSLATION KEY: " + text.key); BCV.logE(true, resourcePath + " -> " + text.key + " - Missing Translation Key");
continue; continue;
} }
@ -133,7 +133,7 @@ public enum Language
if(translatedComponents.getTranslatedComponentReference().runOnUpdate.isEmpty()) if(translatedComponents.getTranslatedComponentReference().runOnUpdate.isEmpty())
//&& TranslatedStrings.nameSet.contains(translation.name())) //&& TranslatedStrings.nameSet.contains(translation.name()))
{ {
BCV.logE(true, "Translation Reference " + translatedComponents.name() + " is missing component attachment, skipping..."); BCV.logE(true, "TranslatedComponents:" + translatedComponents.name() + " is missing component attachment, skipping...");
continue; continue;
} }