More cn translations (#889)

* add more cn translations

* add i18 for 'Image' tooltip

* fix typo
This commit is contained in:
Rozstone 2022-08-10 07:29:23 +08:00 committed by GitHub
parent a0007142e0
commit 9923030a0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 5 deletions

View file

@ -124,7 +124,7 @@ export const PrimaryTools = React.memo(function PrimaryTools() {
>
<Pencil2Icon />
</ToolButtonWithTooltip>
<ToolButtonWithTooltip label="Image" onClick={uploadMedias} id="TD-PrimaryTools-Image">
<ToolButtonWithTooltip label={intl.formatMessage({ id: 'image' })} onClick={uploadMedias} id="TD-PrimaryTools-Image">
<ImageIcon />
</ToolButtonWithTooltip>
</StyledPanel>

View file

@ -95,5 +95,6 @@
"right": "Derecha",
"top": "Arriba",
"search": "Buscar",
"page": "Página"
"page": "Página",
"image": "Imagen"
}

View file

@ -106,5 +106,6 @@
"dark": "Dark",
"github": "Github",
"twitter": "Twitter",
"discord": "Discord"
}
"discord": "Discord",
"image": "Image"
}

View file

@ -83,5 +83,19 @@
"forward": "上一层",
"backward": "下一层",
"back": "置底",
"language": "语言"
"language": "语言",
"keyboard.shortcuts": "键盘快捷键",
"translation.link": "了解更多",
"page": "页面",
"dock.position": "锚点位置",
"bottom": "下面",
"left": "左面",
"right": "右面",
"top": "上面",
"export.background": "导出背景色",
"transparent": "透明",
"auto": "自动",
"light": "明亮",
"dark": "暗黑",
"copy.readonly.link": "复制只读链接"
}