Skip to content

Commit

Permalink
Update samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/js…
Browse files Browse the repository at this point in the history
…f/convert/EventLogConverter.java

Co-authored-by: Sam Ottenhoff <ottenhoff@longsight.com>
  • Loading branch information
danielmerino and ottenhoff authored Oct 17, 2024
1 parent ac9a99e commit 8e2e5bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public String getAsString(FacesContext arg0, UIComponent arg1, Object arg2) {
}
boolean isTranslationString = text.contains("_");
// This provides retro compatibility, translation strings will be displayed in the locale, DB strings will be displayed as is.
return isTranslationString ? eventLogMessages.getString(text) : text;
return text.contains("_") ? eventLogMessages.getString(text) : text;
}

}

0 comments on commit 8e2e5bc

Please sign in to comment.