@((MarkupString)Localizer["Tips"].Value)
+Write method",
+ "BasicUsageTitle": "Basic Usage",
+ "CheckText": "Check",
+ "CleanText": "Clean",
+ "StreamUsageIntro": "Connect various streams by calling the Open method, this example simulates Shell and verifies input characters",
+ "StreamUsageTitle": "Stream Usage",
+ "SubTitle": "Terminal Component",
+ "TermDesc": "The Term component is a terminal component that establishes a connection with the stream via C# code. The Term component is then responsible for displaying interactive content. In this example, after establishing a connection with a simulated Stream instance in the backend, data is automatically displayed within the component when it is written. When the user enters a command within the component and presses Enter, the backend processes it and displays the result in the component.",
+ "TestText": "Test",
+ "Tips": "This component depends on the BootstrapBlazor.Term extension package. You need to reference it as follows",
+ "Title": "Terminal"
+ },
"BootstrapBlazor.Server.Components.Samples.TextAreas": {
"TextAreaAutoScroll": "Automatic scrolling",
"TextAreaBindWayBindValue": "The binding value",
diff --git a/src/BootstrapBlazor.Server/Locales/zh-CN.json b/src/BootstrapBlazor.Server/Locales/zh-CN.json
index bcc9036b00e..972c2fdd5a5 100644
--- a/src/BootstrapBlazor.Server/Locales/zh-CN.json
+++ b/src/BootstrapBlazor.Server/Locales/zh-CN.json
@@ -428,6 +428,7 @@
"Tag": "标签 Tag",
"TaskDashBoard": "任务管理器 TaskDashBoard",
"TcpSocketFactory": "套接字服务 ITcpSocketFactory",
+ "Terms": "终端 Terminal",
"Textarea": "多行文本框 Textarea",
"Theme": "组件主题",
"ThemeProvider": "主题服务 IThemeProvider",
@@ -5306,6 +5307,19 @@
"TaskBoardNormalTitle": "基本用法",
"TaskBoardTitle": "Task DashBoard 任务管理器"
},
+ "BootstrapBlazor.Server.Components.Samples.Terms": {
+ "BasicUsageIntro": "通过调用 Write 方法输出文本",
+ "BasicUsageTitle": "基础用法",
+ "CheckText": "查询命令(Check)",
+ "CleanText": "清空",
+ "StreamUsageIntro": "通过调用 Open 方法连接各种流,本例模拟 Shell 并回显输入字符",
+ "StreamUsageTitle": "流式处理",
+ "SubTitle": "命令行终端显示组件",
+ "TermDesc": "Term 组件是一个终端组件,通过 C# 代码与流建立联系,然后组件 Term 负责显示交互内容;本例中,与后台一个模拟 Stream 实例建立联系后,当有数据写入时自动显示在组件内,用户在组件内录入命令回车后,由后端处理回显在组件中",
+ "TestText": "测试命令 (Test)",
+ "Tips": "本组件依赖 BootstrapBlazor.Term 扩展包,需要依照下面步骤进行引用",
+ "Title": "Term 命令行"
+ },
"BootstrapBlazor.Server.Components.Samples.TextAreas": {
"TextAreaAutoScroll": "自动滚屏",
"TextAreaBindWayBindValue": "绑定值",
diff --git a/src/BootstrapBlazor.Server/docs.json b/src/BootstrapBlazor.Server/docs.json
index 5db8b80bd08..b13020255f9 100644
--- a/src/BootstrapBlazor.Server/docs.json
+++ b/src/BootstrapBlazor.Server/docs.json
@@ -260,7 +260,8 @@
"select-city": "SelectCities",
"select-province": "SelectProvinces",
"hik-vision": "HikVisions",
- "embed-pdf": "EmbedPDFs"
+ "embed-pdf": "EmbedPDFs",
+ "term": "Terms"
},
"video": {
"table": "BV1ap4y1x7Qn?p=1",