Skip to content

Commit 28b3d4a

Browse files
ArgoZhangmomijijin
andauthored
doc(RDKit): update sample code (#5072)
* doc: 更改参数 Value 为 Smiles * chore: bump version 9.0.2 * doc: 更新文档 Co-Authored-By: jin momiji <[email protected]> --------- Co-authored-by: jin momiji <[email protected]>
1 parent d5a6e70 commit 28b3d4a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<PackageReference Include="BootstrapBlazor.OnScreenKeyboard" Version="9.0.1" />
5454
<PackageReference Include="BootstrapBlazor.PdfReader" Version="9.0.0" />
5555
<PackageReference Include="BootstrapBlazor.Player" Version="9.0.0" />
56-
<PackageReference Include="BootstrapBlazor.RDKit" Version="9.0.1" />
56+
<PackageReference Include="BootstrapBlazor.RDKit" Version="9.0.2" />
5757
<PackageReference Include="BootstrapBlazor.SignaturePad" Version="9.0.0" />
5858
<PackageReference Include="BootstrapBlazor.Sortable" Version="9.0.1" />
5959
<PackageReference Include="BootstrapBlazor.Splitting" Version="9.0.1" />

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
<DemoBlock Title="@Localizer["RDKitNormalTitle"]"
1111
Introduction="@Localizer["RDKitNormalIntro"]"
1212
Name="Normal">
13-
<RDKit Value="CC(=O)Oc1ccccc1C(=O)O"></RDKit>
13+
<RDKit Smiles="CC(=O)Oc1ccccc1C(=O)O"></RDKit>
1414
</DemoBlock>
1515

1616
<DemoBlock Title="@Localizer["RDKitSizeTitle"]"
1717
Introduction="@Localizer["RDKitSizeIntro"]"
1818
Name="Size">
19-
<RDKit Value="CC(=O)Oc1ccccc1C(=O)O" Width="200" Height="100"></RDKit>
19+
<RDKit Smiles="CC(=O)Oc1ccccc1C(=O)O" Width="200" Height="100"></RDKit>
2020
</DemoBlock>
2121

2222
<DemoBlock Title="@Localizer["RDKitSmartsTitle"]"
@@ -32,5 +32,5 @@
3232
</div>
3333
</div>
3434
</section>
35-
<RDKit Value="CC(=O)Oc1ccccc1C(=O)O" Smarts="@Smarts"></RDKit>
35+
<RDKit Smiles="CC(=O)Oc1ccccc1C(=O)O" Smarts="@Smarts"></RDKit>
3636
</DemoBlock>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6843,7 +6843,7 @@
68436843
"RDKitTitle": "RDKit",
68446844
"RDKitDescription": "A powerful cheminformatics and molecule rendering toolbelt for Blazor, Powered by RDKit",
68456845
"RDKitNormalTitle": "Basic usage",
6846-
"RDKitNormalIntro": "Set the molecular formula through <code>Value</code> and draw the component",
6846+
"RDKitNormalIntro": "Set the molecular formula through <code>Smiles</code> and draw the component",
68476847
"RDKitSmartsTitle": "Smarts",
68486848
"RDKitSmartsIntro": "By setting the <code>Smarts</code> value, parts of the molecular formula can be highlighted",
68496849
"RDKitSmartsLabel": "Show Smarts",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6840,10 +6840,10 @@
68406840
"AttributeOnPostDataAsync": "Frame 加载页面传递过来的数据"
68416841
},
68426842
"BootstrapBlazor.Server.Components.Samples.RDKits": {
6843-
"RDKitTitle": "分子图组件",
6843+
"RDKitTitle": "RDKit 分子式组件",
68446844
"RDKitDescription": "RDKit 是一个开源的化学信息学工具包,用于分子建模和化学信息学",
68456845
"RDKitNormalTitle": "基础用法",
6846-
"RDKitNormalIntro": "通过 <code>Value</code> 设置分子式,组件画图",
6846+
"RDKitNormalIntro": "通过 <code>Smiles</code> 设置分子式,组件画图",
68476847
"RDKitSmartsTitle": "Smarts",
68486848
"RDKitSmartsIntro": "通过设置 <code>Smarts</code> 值,高亮显示部分分子式",
68496849
"RDKitSmartsLabel": "显示 Smarts",

0 commit comments

Comments
 (0)