diff --git a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/ManageLabelsForPersonGenerator.java b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/ManageLabelsForPersonGenerator.java index b2f0923e3..d91462130 100644 --- a/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/ManageLabelsForPersonGenerator.java +++ b/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/ManageLabelsForPersonGenerator.java @@ -249,7 +249,7 @@ private List getExistingSortedLanguageNamesList() { private void addFormSpecificData(EditConfigurationVTwo config, VitroRequest vreq) { ArrayList existingLabels = this.getExistingLabels(config.getSubjectUri(), vreq); - //Get all language codes/labels in the system, and this list is sorted by language name + //Get language codes/labels for existing labels, and this list is sorted by language name List> locales = this.getLocales(vreq, existingLabels); //Get code to label hashmap - we use this to get the language name for the language code returned in the rdf literal HashMap localeCodeToNameMap = this.getFullCodeToLanguageNameMap(locales);