2020-11-25 11:08:12 +08:00
|
|
|
|
using System.Globalization;
|
|
|
|
|
using System.Text.Json.Serialization;
|
2020-09-08 16:43:44 +08:00
|
|
|
|
using AntDesign.Form.Locale;
|
2020-09-07 22:46:50 +08:00
|
|
|
|
|
|
|
|
|
namespace AntDesign.Locales
|
|
|
|
|
{
|
|
|
|
|
public class Locale
|
|
|
|
|
{
|
2020-09-08 16:43:44 +08:00
|
|
|
|
[JsonPropertyName("locale")]
|
|
|
|
|
public string LocaleName { get; set; }
|
|
|
|
|
|
2020-11-25 11:08:12 +08:00
|
|
|
|
public CultureInfo CurrentCulture => new CultureInfo(LocaleName);
|
|
|
|
|
|
2020-09-07 22:46:50 +08:00
|
|
|
|
public PaginationLocale Pagination { get; set; }
|
|
|
|
|
|
|
|
|
|
public DatePickerLocale DatePicker { get; set; }
|
|
|
|
|
|
|
|
|
|
public TimePickerLocale TimePicker { get; set; }
|
|
|
|
|
|
|
|
|
|
public DatePickerLocale Calendar { get; set; }
|
|
|
|
|
|
|
|
|
|
public TableLocale Table { get; set; }
|
|
|
|
|
|
|
|
|
|
public ModalLocale Modal { get; set; }
|
|
|
|
|
|
2020-12-29 23:34:18 +08:00
|
|
|
|
public ConfirmLocale Confirm { get; set; }
|
|
|
|
|
|
2020-09-07 22:46:50 +08:00
|
|
|
|
public PopconfirmLocale Popconfirm { get; set; }
|
|
|
|
|
|
|
|
|
|
public TransferLocale Transfer { get; set; }
|
|
|
|
|
|
|
|
|
|
public SelectLocale Select { get; set; }
|
|
|
|
|
|
|
|
|
|
public UploadLocale Upload { get; set; }
|
|
|
|
|
|
|
|
|
|
public GlobalLocale Global { get; set; }
|
|
|
|
|
|
|
|
|
|
public PageHeaderLocale PageHeader { get; set; }
|
|
|
|
|
|
|
|
|
|
public EmptyLocale Empty { get; set; }
|
|
|
|
|
|
|
|
|
|
public IconLocale Icon { get; set; }
|
|
|
|
|
|
|
|
|
|
public TextLocale Text { get; set; }
|
|
|
|
|
|
|
|
|
|
public FormLocale Form { get; set; }
|
2021-01-25 02:05:18 +08:00
|
|
|
|
|
|
|
|
|
public ImageLocale Image { get; set; }
|
2020-09-07 22:46:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|