ant-design-blazor/components/table/TableLocale.cs
2021-04-16 00:08:28 +08:00

71 lines
2.0 KiB
C#

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