From 3de9a03ab54d0ba29ba3b7c0efa99b57b9fbff0a Mon Sep 17 00:00:00 2001 From: Brian Lowe Date: Wed, 16 Jun 2021 21:54:48 +0300 Subject: [PATCH] Update comment --- .../generators/ManageLabelsForPersonGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b2f0923e..d9146213 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 @@ public class ManageLabelsForPersonGenerator extends BaseEditConfigurationGenerat 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);