Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: lang typo

fen97e785008e1f
diff --git a/ui/src/components/Editor/ToolBars/link.tsx b/ui/src/components/Editor/ToolBars/link.tsx
index 68657e66..a746d33c 100644
--- a/ui/src/components/Editor/ToolBars/link.tsx
+++ b/ui/src/components/Editor/ToolBars/link.tsx
@@ -14,7 +14,7 @@ const Link: FC<IEditorContext> = ({ editor }) => {
};
const [visible, setVisible] = useState(false);
const [link, setLink] = useState({
- value: 'http://',
+ value: 'https://',
isInvalid: false,
errorMsg: '',
});
diff --git a/ui/src/i18n/locales/en.json b/ui/src/i18n/locales/en.json
index e7ec5f1d..8f190e6d 100644
--- a/ui/src/i18n/locales/en.json
+++ b/ui/src/i18n/locales/en.json
@@ -34,8 +34,8 @@
},
"suspended": {
"title": "Your Account has been Suspended",
- "until_time": "Your account was suspended until {{ time }}",
- "forever": "This user was suspended forever. ",
+ "until_time": "Your account was suspended until {{ time }}.",
+ "forever": "This user was suspended forever.",
"end": "You don’t meet a community guideline."
},
"editor": {
@@ -123,17 +123,17 @@
"url": {
"label": "Image URL",
"msg": {
- "empty": "Image URL cannot be empty"
+ "empty": "Image URL cannot be empty."
}
},
"name": {
- "label": "Url name (optional)"
+ "label": "Description (optional)"
}
}
},
"btn_cancel": "Cancel",
"btn_confirm": "Confirm",
- "uploading": "uploading"
+ "uploading": "Uploading"
},
"indent": {
"text": "Indent"
@@ -183,7 +183,7 @@
"empty": "Cannot be empty."
},
"msg": {
- "empty": "Please select a reason"
+ "empty": "Please select a reason."
}
},
"report_modal": {
@@ -198,7 +198,7 @@
"empty": "Cannot be empty."
},
"msg": {
- "empty": "Please select a reason"
+ "empty": "Please select a reason."
}
},
"tag_modal": {
@@ -208,7 +208,7 @@
"display_name": {
"label": "Display name",
"msg": {
- "empty": "Display name cannot be empty"
+ "empty": "Display name cannot be empty."
}
},
"slug_name": {
@@ -257,8 +257,8 @@
"label": "Display name"
},
"slug_name": {
- "label": "Url slug",
- "info": "Spaces are not allowed, please use \"-\" instead."
+ "label": "URL slug",
+ "info": "Spaces are not allowed, please use '-' instead."
},
"description": {
"label": "Description"
@@ -523,7 +523,7 @@
"website": {
"label": "Website (optional)",
"placeholder": "https://example.com",
- "msg": "website incorrect format"
+ "msg": "Website incorrect format"
},
"location": {
"label": "Location (optional)",
@@ -549,8 +549,8 @@
"label": "Current Password",
"msg": {
"empty": "Current Password cannot be empty.",
- "length": "The length needs to be between 8 and 32",
- "different": "The two entered passwords do not match"
+ "length": "The length needs to be between 8 and 32.",
+ "different": "The two entered passwords do not match."
}
},
"new_pass": {