mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 08:51:27 +08:00
bd34858efd
* feat: add locale * feat: add locale interfaces * fix: add locale interfaces for components * fix: use local classes instead of interfaces * feat: implement the locale provider * feat: make some components to support localization * fix: default language * fix: test * chore: remove the useless reference
40 lines
932 B
C#
40 lines
932 B
C#
using AntDesign.Form.Locale;
|
|
|
|
namespace AntDesign.Locales
|
|
{
|
|
public class Locale
|
|
{
|
|
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 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; }
|
|
}
|
|
}
|