Skip to content

Commit c926462

Browse files
committed
doc: 增加在线协作示例菜单
1 parent d03f5fe commit c926462

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

src/BootstrapBlazor.Server/Components/Layout/TutorialsNavMenu.razor.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ protected override async Task OnInitializedAsync()
105105
{
106106
Text = Localizer["AdminSummary"],
107107
Url = "tutorials/admin",
108+
},
109+
new()
110+
{
111+
Text = Localizer["OnlineSheet"],
112+
Url = "tutorials/online-sheet",
108113
}
109114
]);
110115
}

src/BootstrapBlazor.Server/Locales/en-US.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"WaterfallSummary": "Waterfall",
2222
"TranslateSummary": "Translate",
2323
"DrawingSummary": "Drawing",
24-
"AdminSummary": "Admin"
24+
"AdminSummary": "Admin",
25+
"OnlineSheet": "UniverSheet"
2526
},
2627
"BootstrapBlazor.Server.Components.Components.Pre": {
2728
"LoadingText": "Loading ...",
@@ -7017,5 +7018,9 @@
70177018
"ToastOnReadyContent": "The sheet is ready for push data.",
70187019
"PluginTitle": "Plugins",
70197020
"PluginIntro": "Set custom plugins by setting the <code>Plugins</code> parameter"
7021+
},
7022+
"BootstrapBlazor.Server.Components.Samples.Tutorials.OnlineSheet": {
7023+
"ToastOnReadyTitle": "Collaboration Notification",
7024+
"ToastOnReadyContent": "After 4 seconds the table is updated by other writers to change the content"
70207025
}
70217026
}

src/BootstrapBlazor.Server/Locales/zh-CN.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"WaterfallSummary": "瀑布流图片 Waterfall",
2222
"TranslateSummary": "翻译工具 Translate",
2323
"DrawingSummary": "画图 Drawing",
24-
"AdminSummary": "中台 Admin"
24+
"AdminSummary": "中台 Admin",
25+
"OnlineSheet": "在线表格 UniverSheet"
2526
},
2627
"BootstrapBlazor.Server.Components.Components.Pre": {
2728
"LoadingText": "正在加载 ...",
@@ -7017,5 +7018,9 @@
70177018
"ToastOnReadyContent": "表格组件已就绪,可进行后续数据推送等操作",
70187019
"PluginTitle": "自定义插件",
70197020
"PluginIntro": "通过设置 <code>Plugins</code> 参数设置自己的插件"
7021+
},
7022+
"BootstrapBlazor.Server.Components.Samples.Tutorials.OnlineSheet": {
7023+
"ToastOnReadyTitle": "在线表格协作通知",
7024+
"ToastOnReadyContent": "4 秒后表格更新其他写作人员更改内容"
70207025
}
70217026
}

0 commit comments

Comments
 (0)