Skip to content

Commit 45323de

Browse files
authored
fix(web): typo & i18n fixes in domain binding (#877)
1 parent cee1282 commit 45323de

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

web/public/locales/en/translation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@
208208
"websiteHost": "Enable website hosting",
209209
"Inaccessible": "Inaccessible",
210210
"isResolved": "Effective",
211-
"cnameHostPreTip": "add the \"CNAME\" of the domain name to resolve to",
212-
"cnameHostSuffixTip": "After the resolution takes effect, the custom domain name can be bound.",
211+
"cnameHostPreTip": "Add the \"CNAME\" record of the domain to resolve to",
212+
"cnameHostSuffixTip": ", After the resolution takes effect, the custom domain name can be bound.",
213213
"editHostTip": "oss-bucket needs to be in read mode to enable website hosting",
214214
"CreateWebHosting": "Bind custom domain name",
215215
"CustomDomain": "Custom Domain",

web/public/locales/zh/translation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@
208208
"isResolved": "已生效",
209209
"parsing": "解析中",
210210
"websiteHost": "开启网站托管",
211-
"cnameHostPreTip": "添加该域名的\"CNAME\" 解析到",
212-
"cnameHostSuffixTip": "解析生效后即可绑定自定义域名。",
211+
"cnameHostPreTip": "请对该域名添加 CNAME 记录,解析到",
212+
"cnameHostSuffixTip": "解析生效后即可绑定自定义域名。",
213213
"editHostTip": "开启网站托管需要 bucket 权限是 readonly 模式",
214214
"CreateWebHosting": "绑定自定义域名",
215215
"CustomDomain": "自定义域名",

web/src/pages/app/storages/mods/CreateWebsiteModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function CreateWebsiteModal() {
150150
/>
151151
<p className="mt-2 text-grayModern-600">
152152
{t("StoragePanel.cnameHostPreTip")}
153-
<span className="mx-2 whitespace-nowrap">{cnameDomain}</span>,
153+
<span className="mx-2 whitespace-nowrap">{cnameDomain}</span>
154154
{t("StoragePanel.cnameHostSuffixTip")}
155155
</p>
156156
</FormControl>

0 commit comments

Comments
 (0)