ant-design-blazor/components/table/TableLocale.cs
SmallY 7a1ae1a285 feat(module: table): add TheSameDateWith condition operator for DateTime column (#1856)
* use date in datetime filter

* fix spelling errors

* Restore changes and add Date and Month FilterCompareOperator

* hide time when filter date or month

* Remove the month FilterCompareOperator

* add locale data

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-08-22 23:03:47 +08:00

75 lines
2.1 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; } = new();
}
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 NotContains { get; set; } = "Not 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";
public string TheSameDateWith { get; set; } = "The Same Date With";
}
}