mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
1bdece0ea8
* feat(module: modal): add Modal locale * feat(module: confirm): locale support for zh-cn, en-us * docs: add the demo of override locale's custom text * feat: locale's json files add confirm configuration * fix: custom ButtonProps override Button[1,2,3]Text or OK(Cancel)Text * docs: using InvokeAsync to invoke StateHasChanged * docs(module: modal): add override locale de
52 lines
1.2 KiB
C#
52 lines
1.2 KiB
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace AntDesign
|
|
{
|
|
/// <summary>
|
|
/// Confirm dialog locale
|
|
/// </summary>
|
|
public class ConfirmLocale
|
|
{
|
|
/// <summary>
|
|
/// OK button text
|
|
/// </summary>
|
|
public string OkText { get; set; }
|
|
|
|
/// <summary>
|
|
/// Cancel button text
|
|
/// </summary>
|
|
public string CancelText { get; set; }
|
|
|
|
/// <summary>
|
|
/// Yes button text
|
|
/// </summary>
|
|
public string YesText { get; set; }
|
|
|
|
/// <summary>
|
|
/// No button text
|
|
/// </summary>
|
|
public string NoText { get; set; }
|
|
|
|
/// <summary>
|
|
/// Retry button text
|
|
/// </summary>
|
|
public string RetryText { get; set; }
|
|
|
|
/// <summary>
|
|
/// Abort button text
|
|
/// </summary>
|
|
public string AbortText { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ignore button text
|
|
/// </summary>
|
|
public string IgnoreText { get; set; }
|
|
}
|
|
}
|