fix: don't auto-translate on auto-save, only on manual save (#49)

Co-authored-by: hugo <hugoms@me.com>
This commit is contained in:
Georg Bauer
2026-03-12 21:37:45 +01:00
committed by GitHub
parent ab91ec1848
commit 6a8d38d5a2
5 changed files with 209 additions and 54 deletions

View File

@@ -81,6 +81,7 @@ export const electronAPI: ElectronAPI = {
rebuildLinks: () => ipcRenderer.invoke('posts:rebuildLinks'),
isSlugAvailable: (slug: string, excludePostId?: string) => ipcRenderer.invoke('posts:isSlugAvailable', slug, excludePostId),
generateUniqueSlug: (title: string, excludePostId?: string) => ipcRenderer.invoke('posts:generateUniqueSlug', title, excludePostId),
requestAutoTranslation: (id: string) => ipcRenderer.invoke('posts:requestAutoTranslation', id),
},
// Media