Skip to content

Commit

Permalink
fix default with effect md lang
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Aug 6, 2021
1 parent adcbeb9 commit 015f3f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/edu/harvard/iq/dataverse/util/SystemConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,9 @@ private String getDefaultMetadataLanguageLabel(DvObjectContainer target) {
parent=parent.getOwner();
}
}
if(mlLabel.equals(DvObjectContainer.UNDEFINED_METADATA_LANGUAGE_CODE)) {
mlLabel = getDefaultMetadataLanguage();
}
if(fromAncestor) {
mlLabel = mlLabel + " " + BundleUtil.getStringFromBundle("dataverse.inherited");
} else {
Expand Down

0 comments on commit 015f3f5

Please sign in to comment.