feat: i18n support with first translations

This commit is contained in:
2026-02-21 10:45:41 +01:00
parent a5281a7750
commit b8005bec30
48 changed files with 2792 additions and 462 deletions

View File

@@ -222,6 +222,10 @@ export function registerIpcHandlers(): void {
return engine.deleteProjectWithData(id);
});
safeHandle('app:getSystemLanguage', async () => {
return app.getLocale();
});
safeHandle('projects:get', async (_, id: string) => {
const engine = getProjectEngine();
return engine.getProject(id);