mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
c9656ca227
* feat(module: image): add image * add image preview * add locale
51 lines
1.2 KiB
C#
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; }
|
|
}
|
|
}
|