ant-design-blazor/components/modal/confirmDialog/ConfirmLocale.cs

52 lines
1.3 KiB
C#
Raw Normal View History

// 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; } = "OK";
/// <summary>
/// Cancel button text
/// </summary>
public string CancelText { get; set; } = "Cancel";
/// <summary>
/// Yes button text
/// </summary>
public string YesText { get; set; } = "Yes";
/// <summary>
/// No button text
/// </summary>
public string NoText { get; set; } = "No";
/// <summary>
/// Retry button text
/// </summary>
public string RetryText { get; set; } = "Retry";
/// <summary>
/// Abort button text
/// </summary>
public string AbortText { get; set; } = "Abort";
/// <summary>
/// Ignore button text
/// </summary>
public string IgnoreText { get; set; } = "Ignore";
}
}