Better Translation Error Information
This commit is contained in:
parent
0203a13472
commit
87ff4bd291
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue