mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 03:57:38 +08:00
7a1ae1a285
* 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>
75 lines
2.1 KiB
C#
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";
|
|
}
|
|
}
|