QOL updates for profile meta
implement filterable meta for issue #158 update translations and use humanizer lib with datetime/timespan for issue #80
This commit is contained in:
@ -1,12 +1,23 @@
|
||||
using SharedLibraryCore.Interfaces;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
|
||||
namespace SharedLibraryCore.Localization
|
||||
{
|
||||
public class Layout
|
||||
{
|
||||
public string LocalizationName { get; set; }
|
||||
private string localizationName;
|
||||
public string LocalizationName
|
||||
{
|
||||
get => localizationName;
|
||||
set
|
||||
{
|
||||
localizationName = value;
|
||||
Culture = new CultureInfo(value);
|
||||
}
|
||||
}
|
||||
public TranslationLookup LocalizationIndex { get; set; }
|
||||
public CultureInfo Culture { get; private set; }
|
||||
|
||||
public Layout(Dictionary<string, string> set)
|
||||
{
|
||||
|
Reference in New Issue
Block a user