mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(i18n): support i18n in app version (#3263)
This commit is contained in:
@@ -27,8 +27,11 @@ export const AboutAffine = () => {
|
|||||||
data-testid="about-title"
|
data-testid="about-title"
|
||||||
/>
|
/>
|
||||||
<SettingWrapper title={t['Version']()}>
|
<SettingWrapper title={t['Version']()}>
|
||||||
<SettingRow name="App Version" desc={runtimeConfig.appVersion} />
|
<SettingRow name={t['App Version']()} desc={runtimeConfig.appVersion} />
|
||||||
<SettingRow name="Editor Version" desc={runtimeConfig.editorVersion} />
|
<SettingRow
|
||||||
|
name={t['Editor Version']()}
|
||||||
|
desc={runtimeConfig.editorVersion}
|
||||||
|
/>
|
||||||
{runtimeConfig.enableNewSettingUnstableApi && environment.isDesktop ? (
|
{runtimeConfig.enableNewSettingUnstableApi && environment.isDesktop ? (
|
||||||
<>
|
<>
|
||||||
<SettingRow
|
<SettingRow
|
||||||
|
|||||||
@@ -360,6 +360,8 @@
|
|||||||
"Move Down": "Move Down",
|
"Move Down": "Move Down",
|
||||||
"Ungroup": "Ungroup",
|
"Ungroup": "Ungroup",
|
||||||
"Version": "Version",
|
"Version": "Version",
|
||||||
|
"App Version": "App Version",
|
||||||
|
"Editor Version": "Editor Version",
|
||||||
"frameless": "Frameless",
|
"frameless": "Frameless",
|
||||||
"Check for updates automatically": "Check for updates automatically",
|
"Check for updates automatically": "Check for updates automatically",
|
||||||
"Note": "Note",
|
"Note": "Note",
|
||||||
|
|||||||
@@ -317,6 +317,8 @@
|
|||||||
"Terms of Use": "使用条款",
|
"Terms of Use": "使用条款",
|
||||||
"Unpublished hint": "发布到网络后,访问者可以通过提供的链接查看内容。",
|
"Unpublished hint": "发布到网络后,访问者可以通过提供的链接查看内容。",
|
||||||
"Version": "版本",
|
"Version": "版本",
|
||||||
|
"App Version": "应用版本",
|
||||||
|
"Editor Version": "编辑器版本",
|
||||||
"Window frame style": "视窗样式",
|
"Window frame style": "视窗样式",
|
||||||
"Workspace Profile": "工作区配置文件",
|
"Workspace Profile": "工作区配置文件",
|
||||||
"Workspace saved locally": "{{name}} 已保存在本地",
|
"Workspace saved locally": "{{name}} 已保存在本地",
|
||||||
|
|||||||
Reference in New Issue
Block a user