mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +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
38 lines
954 B
C#
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; }
|
|
}
|
|
}
|