Translate dynamically added settings (#1794)

* Collect settings i18n at runtime

* Translation

* Remove unused file
This commit is contained in:
Chenlei Hu
2024-12-04 10:51:37 -08:00
committed by GitHub
parent 473aa120eb
commit d04cc4e272
8 changed files with 140 additions and 67 deletions

View File

@@ -25,6 +25,7 @@ export const useWorkspaceStore = defineStore('workspace', () => {
}))
const sidebarTab = computed(() => useSidebarTabStore())
const setting = computed(() => ({
settings: useSettingStore().settings,
get: useSettingStore().get,
set: useSettingStore().set
}))