Skip to content

Commit

Permalink
Merge pull request #842 from oxygen-dioxide/phonemizer-group
Browse files Browse the repository at this point in the history
Sort language groups of phonemizers alphabetically
  • Loading branch information
stakira authored Sep 16, 2023
2 parents f1fbe70 + 3a311b2 commit e52c289
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OpenUtau/ViewModels/TrackHeaderViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ public void RefreshPhonemizers() {
items.Add(new MenuItemViewModel() {
Header = $"{ThemeManager.GetString("tracks.more")} ...",
Items = DocManager.Inst.PhonemizerFactories.GroupBy(factory => factory.language)
.OrderBy(group => group.Key)
.Select(group => new MenuItemViewModel() {
Header = (group.Key is null) ? "General" : group.Key,
Items = group.Select(factory => new MenuItemViewModel() {
Expand Down

0 comments on commit e52c289

Please sign in to comment.