Skip to content

Commit 3dd7acc

Browse files
committed
doc: 更新文档
1 parent d0ef03b commit 3dd7acc

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

src/BootstrapBlazor.Server/Components/Samples/Lights.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@
9494
<Light Color="Color.Warning" IsFlat="true"></Light>
9595
</div>
9696
<div class="col-12 col-sm-4 col-md-3 col-lg-auto">
97-
<Light Color="Color.Primary" IsFlat="true"></Light>
97+
<Light Color="Color.Primary" IsFlat="true" IsFlash="true"></Light>
9898
</div>
9999
<div class="col-12 col-sm-4 col-md-3 col-lg-auto">
100-
<Light Color="Color.Secondary" IsFlat="true"></Light>
100+
<Light Color="Color.Secondary" IsFlat="true" IsFlash="true"></Light>
101101
</div>
102102
<div class="col-12 col-sm-4 col-md-3 col-lg-auto">
103-
<Light Color="Color.Dark" IsFlat="true"></Light>
103+
<Light Color="Color.Dark" IsFlat="true" IsFlash="true"></Light>
104104
</div>
105105
</div>
106106
<div class="row g-3 light-sm">

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,12 +485,14 @@
485485
"LightsNormalTitle": "common usage",
486486
"LightsNormalIntro": "for status indication",
487487
"LightsFlashingTitle": "flicker",
488-
"LightsFlashingIntro": "Flash the light by setting the property <code>IsFlash</code>",
488+
"LightsFlashingIntro": "Flash the light by setting the parameter <code>IsFlash</code>",
489489
"LightsColorTitle": "discoloration",
490-
"LightsColorIntro": "Color the light by setting the value of the property <code>Color</code>",
490+
"LightsColorIntro": "Color the light by setting the value of the parameter <code>Color</code>",
491491
"LightsTooltipTextTitle": "prompt text",
492492
"LightsTooltipTextIntro": "By setting the value of the attribute <code>TooltipText</code> to make the <code>tooltip</code> text prompt when the mouse hovers over the indicator light",
493-
"TooltipText": "I am prompt text message"
493+
"TooltipText": "I am prompt text message",
494+
"LightsFlatTitle": "Flat",
495+
"LightsFlatIntro": "Make the indicator light flat by setting the parameter <code>IsFlat</code>"
494496
},
495497
"BootstrapBlazor.Server.Components.Samples.Charts.Index": {
496498
"Chart": "Chart",

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,9 @@
490490
"LightsColorIntro": "通过设置属性 <code>Color</code> 值使指示灯进行变色",
491491
"LightsTooltipTextTitle": "提示文字",
492492
"LightsTooltipTextIntro": "通过设置属性 <code>TooltipText</code> 值使鼠标悬浮指示灯上时提示 <code>tooltip</code> 文字",
493-
"TooltipText": "我是提示文字信息"
493+
"TooltipText": "我是提示文字信息",
494+
"LightsFlatTitle": "扁平化",
495+
"LightsFlatIntro": "通过设置属性 <code>IsFlat</code> 使指示灯扁平化"
494496
},
495497
"BootstrapBlazor.Server.Components.Samples.Charts.Index": {
496498
"Chart": "Chart 图表",

0 commit comments

Comments
 (0)