ant-design-blazor/components/table/TableLocale.cs

75 lines
2.1 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Text;
namespace AntDesign
{
public class TableLocale
{
2021-04-16 00:08:28 +08:00
public string FilterTitle { get; set; } = "Filter menu";
2021-04-16 00:08:28 +08:00
public string FilterConfirm { get; set; } = "OK";
2021-04-16 00:08:28 +08:00
public string FilterReset { get; set; } = "Reset";
public string FilterEmptyText { get; set; }
2021-04-16 00:08:28 +08:00
public string SelectAll { get; set; } = "Select current page";
2021-04-16 00:08:28 +08:00
public string SelectInvert { get; set; } = "Invert current page";
2021-04-16 00:08:28 +08:00
public string SelectionAll { get; set; } = "Select all data";
2021-04-16 00:08:28 +08:00
public string SortTitle { get; set; } = "Sort";
2021-04-16 00:08:28 +08:00
public string Expand { get; set; } = "Expand row";
2021-04-16 00:08:28 +08:00
public string Collapse { get; set; } = "Collapse row";
2021-04-16 00:08:28 +08:00
public string TriggerDesc { get; set; } = "Click sort by descend";
2021-04-16 00:08:28 +08:00
public string TriggerAsc { get; set; } = "Click sort by ascend";
2021-04-16 00:08:28 +08:00
public string CancelSort { get; set; } = "Click to cancel sort";
public FilterOptions FilterOptions { get; set; } = new();
}
public class FilterOptions
{
2021-04-16 00:08:28 +08:00
public string True { get; set; } = "True";
2021-04-16 00:08:28 +08:00
public string False { get; set; } = "False";
2021-04-16 00:08:28 +08:00
public string And { get; set; } = "And";
2021-04-16 00:08:28 +08:00
public string Or { get; set; } = "Or";
2021-04-16 00:08:28 +08:00
public new string Equals { get; set; } = "Equal";
2021-04-16 00:08:28 +08:00
public string NotEquals { get; set; } = "Not Equal";
2021-04-16 00:08:28 +08:00
public string Contains { get; set; } = "Contains";
public string NotContains { get; set; } = "Not Contains";
2021-04-16 00:08:28 +08:00
public string StartsWith { get; set; } = "Start With";
2021-04-16 00:08:28 +08:00
public string EndsWith { get; set; } = "End With";
2021-04-16 00:08:28 +08:00
public string GreaterThan { get; set; } = "Greater Than";
2021-04-16 00:08:28 +08:00
public string LessThan { get; set; } = "Less Than";
2021-04-16 00:08:28 +08:00
public string GreaterThanOrEquals { get; set; } = "Greater Than Or Equals";
2021-04-16 00:08:28 +08:00
public string LessThanOrEquals { get; set; } = "Less Than Or Equals";
2021-04-16 00:08:28 +08:00
public string IsNull { get; set; } = "Is Null";
2021-04-16 00:08:28 +08:00
public string IsNotNull { get; set; } = "Is Not Null";
public string TheSameDateWith { get; set; } = "The Same Date With";
}
}