Skip to content

Commit f04a813

Browse files
committed
doc: 更新文档多语言键值
1 parent a0a8618 commit f04a813

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@
8989
</Modal>
9090
</div>
9191
<div class="col-12 col-sm-4 col-lg-auto">
92-
<Button OnClick="() => ExtraLargeModal.Toggle()">@Localizer["ModalsOversizedPopup"]</Button>
92+
<Button OnClick="() => ExtraLargeModal.Toggle()">@Localizer["ModalsOverSizedPopup"]</Button>
9393
<Modal @ref="ExtraLargeModal">
94-
<ModalDialog Size="Size.ExtraLarge" Title="@Localizer["ModalsOversizedPopup"]">
94+
<ModalDialog Size="Size.ExtraLarge" Title="@Localizer["ModalsOverSizedPopup"]">
9595
<BodyTemplate>
9696
<div>@Localizer["ModalsTitlePopupWindowText"]</div>
9797
</BodyTemplate>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@
389389
"ModalsDialogResizeIntro": "Resize the modal box by setting the <code>ShowResize</code> property",
390390
"ModalsSmallPopup": "small popup",
391391
"ModalsBigPopup": "big popup",
392-
"ModalsOversizedPopup": "Oversized pop-up window",
392+
"ModalsOverSizedPopup": "OverSized pop-up window",
393393
"ModalsSuperLargePopup": "super large pop-up window",
394394
"ModalsFullScreenSizeTitle": "Full screen popup",
395395
"ModalsFullScreenSizeIntro": "Just set the property <code>FullScreenSize</code>",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@
389389
"ModalsDialogResizeIntro": "通过设置 <code>ShowResize=\"true\"</code> 可以通过鼠标拉动弹窗右下角进行窗口大小调整",
390390
"ModalsSmallPopup": "小弹窗",
391391
"ModalsBigPopup": "大弹窗",
392-
"ModalsOversizedPopup": "超大弹窗",
392+
"ModalsOverSizedPopup": "超大弹窗",
393393
"ModalsSuperLargePopup": "超超大弹窗",
394394
"ModalsFullScreenSizeTitle": "全屏弹窗",
395395
"ModalsFullScreenSizeIntro": "设置属性 <code>FullScreenSize</code> 即可",

src/BootstrapBlazor/Components/Modal/ModalDialog.razor

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@
7676
}
7777
@if (ShowResize)
7878
{
79-
<svg class="modal-resizer" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M319.20128 974.56128L348.16 1003.52l655.36-655.36-28.95872-28.95872-655.36 655.36zM675.84 1003.52l327.68-327.68-28.95872-28.95872-327.68 327.68L675.84 1003.52z"></path></svg>
79+
<svg class="modal-resizer" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200">
80+
<path d="M319.20128 974.56128L348.16 1003.52l655.36-655.36-28.95872-28.95872-655.36 655.36zM675.84 1003.52l327.68-327.68-28.95872-28.95872-327.68 327.68L675.84 1003.52z"></path>
81+
</svg>
8082
}
8183
</CascadingValue>
8284
</CascadingValue>

0 commit comments

Comments
 (0)