Skip to content

Commit 32a3b91

Browse files
committed
doc: 增加本地化
1 parent 3ed2053 commit 32a3b91

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7092,5 +7092,14 @@
70927092
"BootstrapBlazor.Server.Components.Samples.Tutorials.OnlineSheet": {
70937093
"ToastOnReadyTitle": "Collaboration Notification",
70947094
"ToastOnReadyContent": "After 4 seconds the table is updated by other writers to change the content"
7095+
},
7096+
"BootstrapBlazor.Server.Components.Samples.OtpInputs": {
7097+
"OtpInputsTitle": "OtpInput",
7098+
"OtpInputsDescription": "A secure verification password box based on OTP (One-Time Password) that is limited to one-time use and has a time limit",
7099+
"OtpInputsTips": "OTP (One Time Password, abbreviated as OTP): This is a security measure used to generate a unique password for each login or transaction. This component is used in conjunction with <code>ITotpService</code> <code>IHotpService</code> to greatly improve security.",
7100+
"OtpInputsNormalTitle": "Basic usage",
7101+
"OtpInputsNormalIntro": "Control the password type or length by setting parameters such as <code>Type</code>",
7102+
"OtpInputsValidateFormTitle": "ValidateForm",
7103+
"OtpInputsValidateFormIntro": "When the password is not provided, click the Submit button, the password box will be displayed in red and it will be prompted that it cannot be empty."
70957104
}
70967105
}

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7092,5 +7092,14 @@
70927092
"BootstrapBlazor.Server.Components.Samples.Tutorials.OnlineSheet": {
70937093
"ToastOnReadyTitle": "在线表格协作通知",
70947094
"ToastOnReadyContent": "4 秒后表格更新其他写作人员更改内容"
7095+
},
7096+
"BootstrapBlazor.Server.Components.Samples.OtpInputs": {
7097+
"OtpInputsTitle": "OtpInput 密码框",
7098+
"OtpInputsDescription": "基于 OTP(One-Time Password‌) 仅限单次使用且具备时效性的安全验证密码框",
7099+
"OtpInputsTips": "OTP(One Time Password,简称OTP):这是一种安全措施,用于在每次登录或交易时生成一个唯一的密码,本组件配合 <code>ITotpService</code> <code>IHotpService</code> 使用大大提高安全性",
7100+
"OtpInputsNormalTitle": "基础用法",
7101+
"OtpInputsNormalIntro": "通过设置 <code>Type</code> 等参数控制密码类型或者长度",
7102+
"OtpInputsValidateFormTitle": "表单内使用",
7103+
"OtpInputsValidateFormIntro": "密码未提供值时,点击提交按钮,密码框显示为红色,并且提示不可为空"
70957104
}
70967105
}

0 commit comments

Comments
 (0)