Skip to content

Commit

Permalink
no longer throwing on missing translation-values
Browse files Browse the repository at this point in the history
  • Loading branch information
BlvckBytes committed Oct 6, 2024
1 parent 8e69d15 commit be8018b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ private void createEntries(LangKeyedSource source, ArrayList<TranslatedLangKeyed
for (var langKeyed : source.items()) {
var translationValue = getTranslationOrNull(langKeyed);

if (translationValue == null)
throw new IllegalStateException("Could not locate translation-value for key " + langKeyed.getLanguageFileKey());
if (translationValue == null) {
logger.warning("Could not locate translation-value for key " + langKeyed.getLanguageFileKey());
continue;
}

var normalizedTranslationValue = TranslatedLangKeyed.normalize(translationValue);

Expand Down

0 comments on commit be8018b

Please sign in to comment.