ant-design-blazor/components/pagination/PaginationLocale.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

38 lines
954 B
C#

using System.Text.Json.Serialization;
namespace AntDesign
{
public class PaginationLocale
{
[JsonPropertyName("items_per_page")]
public string ItemsPerPage { get; set; }
[JsonPropertyName("jump_to")]
public string JumpTo { get; set; }
[JsonPropertyName("jump_to_confirm")]
public string JumpToConfirm { get; set; }
[JsonPropertyName("page")]
public string Page { get; set; }
[JsonPropertyName("prev_page")]
public string PrevPage { get; set; }
[JsonPropertyName("next_page")]
public string NextPage { get; set; }
[JsonPropertyName("prev_5")]
public string Prev5 { get; set; }
[JsonPropertyName("next_5")]
public string Next5 { get; set; }
[JsonPropertyName("prev_3")]
public string Prev3 { get; set; }
[JsonPropertyName("next_3")]
public string Next3 { get; set; }
}
}