fix(core): adjust settings names (#10061)

fix AF-2190
This commit is contained in:
pengx17
2025-02-11 02:14:10 +00:00
parent 7214ef9fbc
commit c5c59ba00a
2 changed files with 15 additions and 13 deletions
@@ -61,12 +61,6 @@ export const useGeneralSettingList = (): GeneralSettingList => {
icon: <KeyboardIcon />, icon: <KeyboardIcon />,
testId: 'shortcuts-panel-trigger', testId: 'shortcuts-panel-trigger',
}, },
{
key: 'about',
title: t['com.affine.aboutAFFiNE.title'](),
icon: <InformationIcon />,
testId: 'about-panel-trigger',
},
]; ];
if (enableEditorSettings) { if (enableEditorSettings) {
// add editor settings to second position // add editor settings to second position
@@ -104,12 +98,20 @@ export const useGeneralSettingList = (): GeneralSettingList => {
}); });
} }
settings.push({ settings.push(
key: 'experimental-features', {
title: t['com.affine.settings.workspace.experimental-features'](), key: 'experimental-features',
icon: <ExperimentIcon />, title: t['com.affine.settings.workspace.experimental-features'](),
testId: 'experimental-features-trigger', icon: <ExperimentIcon />,
}); testId: 'experimental-features-trigger',
},
{
key: 'about',
title: t['com.affine.aboutAFFiNE.title'](),
icon: <InformationIcon />,
testId: 'about-panel-trigger',
}
);
return settings; return settings;
}; };
+1 -1
View File
@@ -1428,7 +1428,7 @@
"com.affine.settings.workspace.affine-ai.title": "AFFiNE AI", "com.affine.settings.workspace.affine-ai.title": "AFFiNE AI",
"com.affine.settings.workspace.affine-ai.label": "Allow AFFiNE AI Assistant", "com.affine.settings.workspace.affine-ai.label": "Allow AFFiNE AI Assistant",
"com.affine.settings.workspace.affine-ai.description": "Allow workspace members to use AFFiNE AI features. This setting doesn't affect billing. Workspace members use AFFiNE AI through their personal accounts.", "com.affine.settings.workspace.affine-ai.description": "Allow workspace members to use AFFiNE AI features. This setting doesn't affect billing. Workspace members use AFFiNE AI through their personal accounts.",
"com.affine.settings.workspace.backup": "Backup", "com.affine.settings.workspace.backup": "Achieved workspaces",
"com.affine.settings.workspace.backup.subtitle": "Management in local workspace backup files", "com.affine.settings.workspace.backup.subtitle": "Management in local workspace backup files",
"com.affine.settings.workspace.backup.empty": "No backup files found", "com.affine.settings.workspace.backup.empty": "No backup files found",
"com.affine.settings.workspace.backup.delete": "Delete backup workspace", "com.affine.settings.workspace.backup.delete": "Delete backup workspace",