Skip to content

Commit

Permalink
Merge pull request #16 from PepperDash/feature/alpha-sort
Browse files Browse the repository at this point in the history
feature:add option to sort languages alphabetically
  • Loading branch information
TrevorPayne authored Oct 29, 2021
2 parents 0914e34 + bd06069 commit 7c66a25
Show file tree
Hide file tree
Showing 2 changed files with 377 additions and 364 deletions.
2 changes: 2 additions & 0 deletions epi-utilities-i18n/I18NLanguagesConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ namespace PepperDash.Utilities
public class I18NUtilityConfiguration
{
public string DefaultLocale { get; set; }
public bool SortAlphabetically { get; set; }
}

public class I18NLanguagesConfiguration
Expand All @@ -15,6 +16,7 @@ public class I18NLanguagesConfiguration
public I18NLanguagesConfiguration()
{
LanguageDefinitions = new Dictionary<string, LanguageDefinition>();

}
}

Expand Down
Loading

0 comments on commit 7c66a25

Please sign in to comment.