ant-design-blazor/components/modal/confirmDialog/ConfirmLocale.cs
Key Roche 4ad8e7ceab
docs: enhance documentation automation (#3013)
* Documentation automation. Build will generate documentation based on XML comments and attributes in the library. Translation will be done where necessary to generate the Chineese site.

Did some small code clean up on the way.
Removed or removed from public APIs:

AnchorLink.LinkDom
Button.RemoveAnimationAfter
Button.Icons - never used
Calendar.PrefixCls
All date pickers - method OnOkClick
Descriptions.Items
ListItem.PrefixName
AntList.PrefixName
ListItemMeta.PrefixName
Menu.Submenus
Menu.MenuItems
Transfer.ChildContent
Table.ColumnContext
Space.SetClass
Steps.Handler
Radio.OnClick

* Add Azure translation service. Requires adding your own key to a private appsettings JSON file to translate locally with it.

* Make translation services return null when unable to translate, have cache not cache it and return text asked to translate.

* Update documentation markdown file for new translation service

* Update DOCUMENTATION.md

* fix datepickerbase

* fix tree-select

* add docs for Flex and Watermark

* add zh

* add UserSecrets

* fix keywords

* fix button doc

* fix page

* fix internals visible to

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-08-25 14:37:41 +08:00

48 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.
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";
}
}