Skip to content

Commit

Permalink
Fix the voice label produced by the voice manager
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo authored and kaikreuzer committed Nov 16, 2016
1 parent a3946cb commit 70ff83d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ public Collection<ParameterOption> getParameterOptions(URI uri, String param, Lo
List<ParameterOption> options = new ArrayList<>();
for (Voice voice : getAllVoices()) {
ParameterOption option = new ParameterOption(voice.getUID(),
voice.getLabel() + " (" + voice.getLocale().getDisplayLanguage() + ")");
voice.getLabel() + " - " + voice.getLocale().getDisplayName());
options.add(option);
}
return options;
Expand Down

0 comments on commit 70ff83d

Please sign in to comment.