Change translations warning about being disabled but modified to be better phased

This commit is contained in:
libraryaddict 2021-05-23 11:42:44 +12:00
parent 42f04766b1
commit f22b4e65c7
1 changed files with 3 additions and 4 deletions

View File

@ -117,16 +117,15 @@ public enum TranslateType {
}
}
}
if (diff > 0 && !DisguiseConfig.isUseTranslations()) {
DisguiseUtilities.getLogger().info(diff + " translated strings, but translations has been disabled in config. Is this intended?");
}
} catch (Exception e) {
e.printStackTrace();
}
if (LibsPremium.isPremium() && DisguiseConfig.isUseTranslations()) {
DisguiseUtilities.getLogger().info("Loaded " + translated.size() + " translations for " + name() + " with " + diff + " changed");
} else if (diff > 0 && !DisguiseConfig.isUseTranslations()) {
DisguiseUtilities.getLogger()
.info("Translations are disabled in libsdisguises.yml, but you modified " + diff + " messages in the translations. Is this intended?");
}
}