Limit automatic translation to manual saves

This commit is contained in:
2026-07-22 18:11:09 +02:00
parent 556d9c1ff4
commit 2dcaf7f7f7
4 changed files with 21 additions and 8 deletions

View File

@@ -113,9 +113,8 @@ rule CancelAiSuggestions {
rule AutoTranslationChain {
when: PostSaved(post_id)
-- Triggered only by explicit manual save or publish, never by
-- auto-save, unmount/tab-switch persistence, post creation, import,
-- or scripting.
-- Triggered only by explicit manual save, never by publish, auto-save,
-- unmount/tab-switch persistence, post creation, import, or scripting.
let saved_post = post/Post{id: post_id}
requires: active_endpoint_configured
requires: not saved_post.do_not_translate