I18n через jsonb-поля
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace Pf2eModel.Model.Common.I18n;
|
||||
|
||||
public class LocaleItem(LocaleType type, string value)
|
||||
{
|
||||
public LocaleType Locale { get; set; } = type;
|
||||
|
||||
public string Value { get; set; } = value;
|
||||
|
||||
public LocaleItem(KeyValuePair<string, string> item) : this(LocaleExtension.GetTypeByString(item.Key), item.Value) { }
|
||||
}
|
||||
Reference in New Issue
Block a user