Skip to content

Commit

Permalink
fix(web): typo & i18n fixes in domain binding (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow authored Mar 9, 2023
1 parent cee1282 commit 45323de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions web/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@
"websiteHost": "Enable website hosting",
"Inaccessible": "Inaccessible",
"isResolved": "Effective",
"cnameHostPreTip": "add the \"CNAME\" of the domain name to resolve to",
"cnameHostSuffixTip": "After the resolution takes effect, the custom domain name can be bound.",
"cnameHostPreTip": "Add the \"CNAME\" record of the domain to resolve to",
"cnameHostSuffixTip": ", After the resolution takes effect, the custom domain name can be bound.",
"editHostTip": "oss-bucket needs to be in read mode to enable website hosting",
"CreateWebHosting": "Bind custom domain name",
"CustomDomain": "Custom Domain",
Expand Down
4 changes: 2 additions & 2 deletions web/public/locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@
"isResolved": "已生效",
"parsing": "解析中",
"websiteHost": "开启网站托管",
"cnameHostPreTip": "添加该域名的\"CNAME\" 解析到",
"cnameHostSuffixTip": "解析生效后即可绑定自定义域名。",
"cnameHostPreTip": "请对该域名添加 CNAME 记录,解析到",
"cnameHostSuffixTip": "解析生效后即可绑定自定义域名。",
"editHostTip": "开启网站托管需要 bucket 权限是 readonly 模式",
"CreateWebHosting": "绑定自定义域名",
"CustomDomain": "自定义域名",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function CreateWebsiteModal() {
/>
<p className="mt-2 text-grayModern-600">
{t("StoragePanel.cnameHostPreTip")}
<span className="mx-2 whitespace-nowrap">{cnameDomain}</span>,
<span className="mx-2 whitespace-nowrap">{cnameDomain}</span>
{t("StoragePanel.cnameHostSuffixTip")}
</p>
</FormControl>
Expand Down

0 comments on commit 45323de

Please sign in to comment.