ant-design-blazor/components/locale-provider/Locale.cs
James Yeung c9656ca227 feat(module: image): add image component (#1038)
* feat(module: image): add image

* add image preview

* add locale
2021-01-25 02:05:18 +08:00

51 lines
1.2 KiB
C#

using System.Globalization;
using System.Text.Json.Serialization;
using AntDesign.Form.Locale;
namespace AntDesign.Locales
{
public class Locale
{
[JsonPropertyName("locale")]
public string LocaleName { get; set; }
public CultureInfo CurrentCulture => new CultureInfo(LocaleName);
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; }
public ConfirmLocale Confirm { get; set; }
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; }
public ImageLocale Image { get; set; }
}
}