mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-03-25 08:38:48 +08: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"
|
||||
/>
|
||||
<SettingWrapper title={t['Version']()}>
|
||||
<SettingRow name="App Version" desc={runtimeConfig.appVersion} />
|
||||
<SettingRow name="Editor Version" desc={runtimeConfig.editorVersion} />
|
||||
<SettingRow name={t['App Version']()} desc={runtimeConfig.appVersion} />
|
||||
<SettingRow
|
||||
name={t['Editor Version']()}
|
||||
desc={runtimeConfig.editorVersion}
|
||||
/>
|
||||
{runtimeConfig.enableNewSettingUnstableApi && environment.isDesktop ? (
|
||||
<>
|
||||
<SettingRow
|
||||
|
||||
@@ -360,6 +360,8 @@
|
||||
"Move Down": "Move Down",
|
||||
"Ungroup": "Ungroup",
|
||||
"Version": "Version",
|
||||
"App Version": "App Version",
|
||||
"Editor Version": "Editor Version",
|
||||
"frameless": "Frameless",
|
||||
"Check for updates automatically": "Check for updates automatically",
|
||||
"Note": "Note",
|
||||
|
||||
@@ -317,6 +317,8 @@
|
||||
"Terms of Use": "使用条款",
|
||||
"Unpublished hint": "发布到网络后,访问者可以通过提供的链接查看内容。",
|
||||
"Version": "版本",
|
||||
"App Version": "应用版本",
|
||||
"Editor Version": "编辑器版本",
|
||||
"Window frame style": "视窗样式",
|
||||
"Workspace Profile": "工作区配置文件",
|
||||
"Workspace saved locally": "{{name}} 已保存在本地",
|
||||
|
||||
Reference in New Issue
Block a user