* UIComboDataGridViewItem: 增加多语翻译
This commit is contained in:
parent
4727af34cd
commit
70eb76fa9e
@ -216,6 +216,16 @@ namespace Sunny.UI
|
||||
/// 今天
|
||||
/// </summary>
|
||||
public static string Today = "今天";
|
||||
|
||||
/// <summary>
|
||||
/// 搜索
|
||||
/// </summary>
|
||||
public static string Search = "搜索";
|
||||
|
||||
/// <summary>
|
||||
/// 清除
|
||||
/// </summary>
|
||||
public static string Clear = "清除";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -271,6 +281,9 @@ namespace Sunny.UI
|
||||
|
||||
UILocalize.Today = "Today";
|
||||
|
||||
UILocalize.Search = "Search";
|
||||
UILocalize.Clear = "Clear";
|
||||
|
||||
UIStyles.Translate();
|
||||
}
|
||||
|
||||
@ -323,6 +336,9 @@ namespace Sunny.UI
|
||||
|
||||
UILocalize.Today = "今天";
|
||||
|
||||
UILocalize.Search = "搜索";
|
||||
UILocalize.Clear = "清除";
|
||||
|
||||
UIStyles.Translate();
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,24 @@
|
||||
/******************************************************************************
|
||||
* SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
|
||||
* CopyRight (C) 2012-2023 ShenYongHua(沈永华).
|
||||
* QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
|
||||
*
|
||||
* Blog: https://www.cnblogs.com/yhuse
|
||||
* Gitee: https://gitee.com/yhuse/SunnyUI
|
||||
* GitHub: https://github.com/yhuse/SunnyUI
|
||||
*
|
||||
* SunnyUI.dll can be used for free under the GPL-3.0 license.
|
||||
* If you use this code, please keep this note.
|
||||
* 如果您使用此代码,请保留此说明。
|
||||
******************************************************************************
|
||||
* 文件名称: UIComboDataGridViewItem.cs
|
||||
* 文件说明: 表格选择框弹出窗体
|
||||
* 当前版本: V3.1
|
||||
* 创建日期: 2020-01-01
|
||||
*
|
||||
* 2023-03-29: V3.3.3 增加多语翻译
|
||||
******************************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@ -62,6 +83,8 @@ namespace Sunny.UI
|
||||
{
|
||||
btnOK.Text = UILocalize.OK;
|
||||
btnCancel.Text = UILocalize.Cancel;
|
||||
btnClear.Text = UILocalize.Clear;
|
||||
btnSearch.Text = UILocalize.Search;
|
||||
}
|
||||
|
||||
public bool ShowButtons
|
||||
|
Loading…
x
Reference in New Issue
Block a user