mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-02 03:59:14 +08:00
test(Configuration): update test for check docs.json (#4107)
* doc: 移除 doc 配置 * doc: 补全本地化 * test: 更新单元测试 * test: 更新单元测试 --------- Co-authored-by: YSMC-W <ysmc_w@163.com> Co-authored-by: YSMC-W <505496523@qq.com>
This commit is contained in:
parent
86ebfab548
commit
4ee8dd7065
@ -4735,7 +4735,8 @@
|
||||
"BootstrapIcon": "Bootstrap Icons",
|
||||
"MaterialIcon": "Material Icons",
|
||||
"ElementIcon": "Element Icon",
|
||||
"DrawerService": "DrawerService"
|
||||
"DrawerService": "DrawerService",
|
||||
"SortableList": "SortableList"
|
||||
},
|
||||
"BootstrapBlazor.Server.Components.Samples.Table.TablesHeader": {
|
||||
"TablesHeaderTitle": "Header grouping function",
|
||||
@ -5149,8 +5150,8 @@
|
||||
"TablesEditInjectDataServiceTips2": "Implementation principle and usage introduction",
|
||||
"TablesEditInjectDataServiceTips3": "custom data service",
|
||||
"TablesEditInjectDataServiceTips4": "After enabling the use of the injected data service, you can set the component individually by setting the <code>DataServices</code> parameter, if the instance provided by the internal use of the injected service is not set",
|
||||
"TablesVisibleNormalTitle": "Editor Visible/Hidden",
|
||||
"TablesVisibleNormalIntro": "If the <code>IsVisibleWhenAdd</code> or <code>IsVisibleWhenEdit</code> property is set to <code>false</code>, hide this column when creating or updating. In this example, the <b>New</b> pop-up window does not display <b>Count</b> <b>Edit</b> Pop up window does not display <b>Complete</b> edit the item",
|
||||
"TablesVisibleTitle": "Editor Visible/Hidden",
|
||||
"TablesVisibleIntro": "If the <code>IsVisibleWhenAdd</code> or <code>IsVisibleWhenEdit</code> property is set to <code>false</code>, hide this column when creating or updating. In this example, the <b>New</b> pop-up window does not display <b>Count</b> <b>Edit</b> Pop up window does not display <b>Complete</b> edit the item",
|
||||
"TablesReadonlyColumnTitle": "Readonly Column",
|
||||
"TablesReadonlyColumnIntro": "By setting <code>Field</code> and <code>FieldName</code>",
|
||||
"TablesReadonlyColumnDescription": "Corresponding database calculated columns, or model read-only attributes",
|
||||
@ -5599,8 +5600,8 @@
|
||||
"DialogButtonText": "Dialog"
|
||||
},
|
||||
"BootstrapBlazor.Server.Components.Samples.Table.TablesAttribute": {
|
||||
"TablesFixedHeaderTitle": "AutoGenerateClassAttribute/AutoGenerateColumnAttribute",
|
||||
"TablesFixedHeaderDesc": "You can save a lot of code by using AutoGenerateClassAttribute or AutoGenerateColumnAttribute",
|
||||
"TableAttributeTitle": "AutoGenerateClassAttribute/AutoGenerateColumnAttribute",
|
||||
"TableAttributeDescription": "By using feature tags, you can save a lot of code",
|
||||
"AutoGenerateClassAttribute": "AutoGenerateClassAttribute",
|
||||
"AutoGenerateColumnAttribute": "AutoGenerateColumnAttribute",
|
||||
"AutoGenerateClassP1": "1. Usage",
|
||||
|
@ -75,7 +75,6 @@
|
||||
"empty": "Empties",
|
||||
"eye-dropper": "EyeDroppers",
|
||||
"export-pdf-button": "ExportPdfButtons",
|
||||
"fa-icon": "FAIcons",
|
||||
"file-icon": "FileIcons",
|
||||
"flip-clock": "FlipClocks",
|
||||
"file-viewer": "FileViewers",
|
||||
@ -100,8 +99,6 @@
|
||||
"locator": "Locators",
|
||||
"logout": "Logouts",
|
||||
"icon": "BootstrapBlazorIcons",
|
||||
"icon-park": "IconParks",
|
||||
"ant-design-icon": "AntDesignIconList",
|
||||
"image-viewer": "ImageViewers",
|
||||
"input-number": "InputNumbers",
|
||||
"input": "Inputs",
|
||||
@ -167,7 +164,6 @@
|
||||
"tab": "Tabs",
|
||||
"tag": "Tags",
|
||||
"textarea": "TextAreas",
|
||||
"theme-provider": "ThemeProviders",
|
||||
"time-picker": "TimePickers",
|
||||
"timeline": "Timelines",
|
||||
"timer": "Timers",
|
||||
@ -220,7 +216,6 @@
|
||||
"clipboard-service": "Clipboards",
|
||||
"image-cropper": "ImageCroppers",
|
||||
"barcode-generator": "BarcodeGenerators",
|
||||
"zip-archive": "ZipArchives",
|
||||
"sortable-list": "SortableLists"
|
||||
},
|
||||
"video": {
|
||||
|
@ -115,8 +115,8 @@ public partial class MenuTest
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData("en", "zh")]
|
||||
[InlineData("zh", "en")]
|
||||
[InlineData("en-US", "zh-CN")]
|
||||
[InlineData("zh-CN", "en-US")]
|
||||
public void Localizer_Compare(string sourceLanguage, string targetLanguage)
|
||||
{
|
||||
using var configZh = new ConfigurationManager();
|
||||
|
Loading…
Reference in New Issue
Block a user