ant-design-blazor/components/locale-provider/Locale.cs
James Yeung bd34858efd feat: support for globalization & localization (#578)
* 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
2020-09-07 22:46:50 +08:00

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; }
}
}