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(i18N): Change description to desc

haitao(lj)0c5c2d652fd0
diff --git a/ui/src/components/Editor/ToolBars/image.tsx b/ui/src/components/Editor/ToolBars/image.tsx
index 2eb1c5e8..928b4f1d 100644
--- a/ui/src/components/Editor/ToolBars/image.tsx
+++ b/ui/src/components/Editor/ToolBars/image.tsx
@@ -251,7 +251,7 @@ const Image: FC<IEditorContext> = ({ editor }) => {
<Form.Group controlId="editor.imgDescription" className="mb-3">
<Form.Label>
- {t('image.form_image.fields.description.label')}
+ {t('image.form_image.fields.desc.label')}
</Form.Label>
<Form.Control
type="text"
diff --git a/ui/src/pages/Install/components/ThirdStep/index.tsx b/ui/src/pages/Install/components/ThirdStep/index.tsx
index ce79acb3..a47b53bd 100644
--- a/ui/src/pages/Install/components/ThirdStep/index.tsx
+++ b/ui/src/pages/Install/components/ThirdStep/index.tsx
@@ -23,7 +23,7 @@ const Index: FC<Props> = ({ visible, errorMsg, nextCallback }) => {
<div className="fmt">
<p>
<Trans
- i18nKey="install.config_yaml.description"
+ i18nKey="install.config_yaml.desc"
components={{ 1: <code /> }}
/>
</p>