PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Merge PR #7637: Record one action call when playback pauses for a step dialog
aiongg49a09628b670
diff --cc crates/ui-egui/src/dialogs.rsindex 3fe62df42,d602164a5..04eb0d0d4--- a/crates/ui-egui/src/dialogs.rs+++ b/crates/ui-egui/src/dialogs.rs@@@ -654,12 -644,9 +654,13 @@@ pub fn confirm(app: &mut PhotocraftAppDialogKind::Command => {let Some(cmd) = d.fields.get("__command").and_then(Value::as_str).map(str::to_string) else {app.filter_preview = None;+ crate::actions::abandoned(app, &d.fields);return Err("dialog has no command".into());};+ if crate::filter_dialog::needs_displace_map(&cmd, &crate::filter_dialog::params_of(&d.fields)) {+ app.filter_preview = None;+ return crate::filter_dialog::ask_displace_map(app, cmd, d.fields.clone());+ }let (cmd, params) = crate::smart_ui::confirm_command(&d.fields, cmd, crate::filter_dialog::params_of(&d.fields));let result = app.run(&cmd, params.clone());// A filter that runs as a background job keeps its preview on screen until the jobdiff --cc crates/ui-egui/src/i18n/cs.tsvindex 04a068a0c,e90c36206..07e46b13c--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@@ -3900,14 -3852,5 +3900,16 @@@ navigator Zoom Zvětšen�Use PoužítIn Front VpředuBehind Vzadu++# DDS Options (#1327)+ DDS Options Možnosti DDS+ Generate Mipmaps Generovat mipmapy++# Color Table (.act) dialog+ There is no color table to save. Neexistuje žádná tabulka barev k uložení.+@plural Saved {n} color to {file}|Saved {n} colors to {file} Uložena {n} barva do {file}|Uloženy {n} barvy do {file}|Uloženo {n} barev do {file}++# Graphics Adapter preference (#1885)+ GPU adapter Adaptér GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Nejprve potvrďte nebo zrušte otevřený dialog kroku akcediff --cc crates/ui-egui/src/i18n/de.tsvindex b3e011df4,6150f1c52..6cce25b70--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@@ -3297,15 -3245,5 +3297,17 @@@ curves Smooth GlätteIn Front DavorBehind DahinterBlend Mischen++# DDS Options (#1327)+ DDS Options DDS-Optionen+ Compression Komprimierung+ Generate Mipmaps Mipmaps erzeugen++# Color Table (.act) dialog+ There is no color table to save. Es gibt keine Farbtabelle zum Speichern.+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} Farbe in {file} gespeichert|{n} Farben in {file} gespeichert++# Graphics Adapter preference (#1885)+ GPU adapter GPU-Adapter+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Bestätige oder brich zuerst den offenen Dialog des Aktionsschritts abdiff --cc crates/ui-egui/src/i18n/el.tsvindex a1426d2bb,a08a3b98c..ed11cce27--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@@ -3989,14 -3944,5 +3989,16 @@@ curves Smooth Εξομάλυνσ�Use ΧρήσηIn Front ΜπροστάBehind Πίσω++# DDS Options (#1327)+ DDS Options Επιλογές DDS+ Generate Mipmaps Δημιουργία mipmap++# Color Table (.act) dialog+ There is no color table to save. Δεν υπάρχει πίνακας χρωμάτων για αποθήκευση.+@plural Saved {n} color to {file}|Saved {n} colors to {file} Αποθηκεύτηκε {n} χρώμα στο {file}|Αποθηκεύτηκαν {n} χρώματα στο {file}++# Graphics Adapter preference (#1885)+ GPU adapter Προσαρμογέας GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Επιβεβαιώστε ή ακυρώστε πρώτα το ανοιχτό παράθυρο βήματος της ενέργειαςdiff --cc crates/ui-egui/src/i18n/es.tsvindex 32b8dcef7,20fc7edec..2c657b0f9--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@@ -4251,14 -4206,5 +4251,16 @@@ navigator Zoom ZooUse UsarIn Front DelanteBehind Detrás++# DDS Options (#1327)+ DDS Options Opciones de DDS+ Generate Mipmaps Generar mipmaps++# Color Table (.act) dialog+ There is no color table to save. No hay ninguna tabla de colores para guardar.+@plural Saved {n} color to {file}|Saved {n} colors to {file} Se guardó {n} color en {file}|Se guardaron {n} colores en {file}++# Graphics Adapter preference (#1885)+ GPU adapter Adaptador de GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Confirme o cancele primero el cuadro de diálogo abierto del paso de la accióndiff --cc crates/ui-egui/src/i18n/fr.tsvindex 8e8b41e83,da54fb136..6b1c01ddb--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@@ -3299,15 -3252,5 +3299,17 @@@ curves Smooth LisseUse UtiliserIn Front DevantBehind Derrière++# DDS Options (#1327)+ DDS Options Options DDS+ Compression Compression+ Generate Mipmaps Générer les mipmaps++# Color Table (.act) dialog+ There is no color table to save. Il n’y a aucune table de couleurs à enregistrer.+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} couleur enregistrée dans {file}|{n} couleurs enregistrées dans {file}++# Graphics Adapter preference (#1885)+ GPU adapter Adaptateur GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Validez ou annulez d’abord la boîte de dialogue ouverte de l’étape de l’actiondiff --cc crates/ui-egui/src/i18n/hu.tsvindex e0f6d37ab,f4666ee3f..b1e314350--- a/crates/ui-egui/src/i18n/hu.tsv+++ b/crates/ui-egui/src/i18n/hu.tsv@@@ -4206,14 -4163,5 +4206,16 @@@ cameraRaw Yellow SárgUse HasználatIn Front ElölBehind Mögött++# DDS Options (#1327)+ DDS Options DDS-beállítások+ Generate Mipmaps Mipmapek létrehozása++# Color Table (.act) dialog+ There is no color table to save. Nincs menthető színtábla.+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} szín mentve ide: {file}++# Graphics Adapter preference (#1885)+ GPU adapter GPU-adapter+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Előbb hagyd jóvá vagy vond vissza a művelet lépésének nyitott párbeszédablakátdiff --cc crates/ui-egui/src/i18n/id.tsvindex f777dcdac,2c86adf2e..497905c93--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@@ -3286,15 -3239,5 +3286,17 @@@ curves Smooth HaluskaUse GunakanIn Front Di DepanBehind Di Belakang++# DDS Options (#1327)+ DDS Options Opsi DDS+ Compression Kompresi+ Generate Mipmaps Buat mipmap++# Color Table (.act) dialog+ There is no color table to save. Tidak ada tabel warna untuk disimpan.+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} warna disimpan ke {file}++# Graphics Adapter preference (#1885)+ GPU adapter Adaptor GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Konfirmasi atau batalkan dulu dialog langkah tindakan yang terbukadiff --cc crates/ui-egui/src/i18n/it.tsvindex f865e6a80,9fec50ccf..dbd07334f--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@@ -4406,14 -4361,5 +4406,16 @@@ shape Appearance AspettUse UsaIn Front DavantiBehind Dietro++# DDS Options (#1327)+ DDS Options Opzioni DDS+ Generate Mipmaps Genera mipmap++# Color Table (.act) dialog+ There is no color table to save. Non c'è alcuna tabella colori da salvare.+@plural Saved {n} color to {file}|Saved {n} colors to {file} Salvato {n} colore in {file}|Salvati {n} colori in {file}++# Graphics Adapter preference (#1885)+ GPU adapter Adattatore GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Conferma o annulla prima la finestra di dialogo aperta del passo dell’azionediff --cc crates/ui-egui/src/i18n/ja.tsvindex ca5b923bf,be5d669fe..275bd096d--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@@ -3966,15 -3921,5 +3966,17 @@@ curves Smooth スムー�Use 使用In Front 前面Behind 背面++# DDS Options (#1327)+ DDS Options DDS オプション+ Compression 圧縮+ Generate Mipmaps ミップマップを生成++# Color Table (.act) dialog+ There is no color table to save. 保存するカラーテーブルがありません。+@plural Saved {n} color to {file}|Saved {n} colors to {file} {file} に {n} 色を保存しました++# Graphics Adapter preference (#1885)+ GPU adapter GPU アダプター+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first 先に開いているアクションのステップのダイアログを確定またはキャンセルしてくださいdiff --cc crates/ui-egui/src/i18n/ko.tsvindex 1e7713dd7,798561131..e91a448d7--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@@ -3478,15 -3426,5 +3478,17 @@@ curves Smooth 매끄럽�In Front 앞Behind 뒤Blend 혼합++# DDS Options (#1327)+ DDS Options DDS 옵션+ Compression 압축+ Generate Mipmaps 밉맵 생성++# Color Table (.act) dialog+ There is no color table to save. 저장할 색상표가 없습니다.+@plural Saved {n} color to {file}|Saved {n} colors to {file} {file}에 색상 {n}개 저장++# Graphics Adapter preference (#1885)+ GPU adapter GPU 어댑터+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first 먼저 열려 있는 액션 단계 대화 상자를 확인하거나 취소하세요diff --cc crates/ui-egui/src/i18n/nl.tsvindex 54d5f0b49,93f2c9ed0..315771244--- a/crates/ui-egui/src/i18n/nl.tsv+++ b/crates/ui-egui/src/i18n/nl.tsv@@@ -4049,14 -4004,5 +4049,16 @@@ curves Smooth Vloeiend makeUse GebruikenIn Front VoorBehind Achter++# DDS Options (#1327)+ DDS Options DDS-opties+ Generate Mipmaps Mipmaps genereren++# Color Table (.act) dialog+ There is no color table to save. Er is geen kleurtabel om op te slaan.+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} kleur opgeslagen in {file}|{n} kleuren opgeslagen in {file}++# Graphics Adapter preference (#1885)+ GPU adapter GPU-adapter+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Bevestig of annuleer eerst het geopende dialoogvenster van de handelingsstapdiff --cc crates/ui-egui/src/i18n/pl.tsvindex 3fd59b5a5,b23b37702..7e09d52e7--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@@ -3888,15 -3843,5 +3888,17 @@@ curves Smooth Wygład�Use UżyjIn Front Z przoduBehind Z tyłu++# DDS Options (#1327)+ DDS Options Opcje DDS+ Compression Kompresja+ Generate Mipmaps Generuj mipmapy++# Color Table (.act) dialog+ There is no color table to save. Brak tabeli kolorów do zapisania.+@plural Saved {n} color to {file}|Saved {n} colors to {file} Zapisano {n} kolor do {file}|Zapisano {n} kolory do {file}|Zapisano {n} kolorów do {file}++# Graphics Adapter preference (#1885)+ GPU adapter Karta GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Najpierw zatwierdź lub anuluj otwarte okno kroku operacjidiff --cc crates/ui-egui/src/i18n/pt-br.tsvindex 35ae04f80,54612e2e6..b69718a15--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@@ -4079,14 -4034,5 +4079,16 @@@ layerLabel No Color Sem coUse UsarIn Front Na frenteBehind Atrás++# DDS Options (#1327)+ DDS Options Opções de DDS+ Generate Mipmaps Gerar mipmaps++# Color Table (.act) dialog+ There is no color table to save. Não há tabela de cores para salvar.+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} cor salva em {file}|{n} cores salvas em {file}++# Graphics Adapter preference (#1885)+ GPU adapter Adaptador de GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Confirme ou cancele primeiro a caixa de diálogo aberta da etapa da açãodiff --cc crates/ui-egui/src/i18n/ru.tsvindex a416fb620,c64d1d44b..7518f3414--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@@ -3266,15 -3218,5 +3266,17 @@@ curves Smooth Сгладит�Use ИспользоватьIn Front СпередиBehind Сзади++# DDS Options (#1327)+ DDS Options Параметры DDS+ Compression Сжатие+ Generate Mipmaps Создать MIP-карты++# Color Table (.act) dialog+ There is no color table to save. Нет таблицы цветов для сохранения.+@plural Saved {n} color to {file}|Saved {n} colors to {file} Сохранён {n} цвет в {file}|Сохранены {n} цвета в {file}|Сохранено {n} цветов в {file}++# Graphics Adapter preference (#1885)+ GPU adapter Адаптер GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Сначала подтвердите или отмените открытый диалог шага операцииdiff --cc crates/ui-egui/src/i18n/sr.tsvindex e1048bcdd,529126732..81410aa72--- a/crates/ui-egui/src/i18n/sr.tsv+++ b/crates/ui-egui/src/i18n/sr.tsv@@@ -4360,14 -4317,5 +4360,16 @@@ shape Appearance IzgleUse KoristiIn Front IspredBehind Iza++# DDS Options (#1327)+ DDS Options DDS opcije+ Generate Mipmaps Generiši mipmape++# Color Table (.act) dialog+ There is no color table to save. Нема табеле боја за чување.+@plural Saved {n} color to {file}|Saved {n} colors to {file} Сачувана је {n} боја у {file}|Сачуване су {n} боје у {file}|Сачувано је {n} боја у {file}++# Graphics Adapter preference (#1885)+ GPU adapter GPU adapter+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Prvo potvrdite ili otkažite otvoreni dijalog koraka radnjediff --cc crates/ui-egui/src/i18n/tr.tsvindex d2fd9910c,d36d8e25a..bbc5351da--- a/crates/ui-egui/src/i18n/tr.tsv+++ b/crates/ui-egui/src/i18n/tr.tsv@@@ -4017,14 -3974,5 +4017,16 @@@ cameraData Lens LenUse KullanIn Front ÖndeBehind Arkada++# DDS Options (#1327)+ DDS Options DDS Seçenekleri+ Generate Mipmaps Mipmap oluştur++# Color Table (.act) dialog+ There is no color table to save. Kaydedilecek renk tablosu yok.+@plural Saved {n} color to {file}|Saved {n} colors to {file} {n} renk {file} konumuna kaydedildi++# Graphics Adapter preference (#1885)+ GPU adapter GPU bağdaştırıcısı+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Önce açık eylem adımı iletişim kutusunu onaylayın veya iptal edindiff --cc crates/ui-egui/src/i18n/uk.tsvindex e17190c57,3e61658a1..ef28bb65c--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@@ -3997,15 -3952,5 +3997,17 @@@ curves Smooth Згладит�Use ВикористатиIn Front СпередуBehind Ззаду++# DDS Options (#1327)+ DDS Options Параметри DDS+ Compression Стиснення+ Generate Mipmaps Створити MIP-карти++# Color Table (.act) dialog+ There is no color table to save. Немає таблиці кольорів для збереження.+@plural Saved {n} color to {file}|Saved {n} colors to {file} Збережено {n} колір у {file}|Збережено {n} кольори у {file}|Збережено {n} кольорів у {file}++# Graphics Adapter preference (#1885)+ GPU adapter Адаптер GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Спочатку підтвердьте або скасуйте відкритий діалог кроку операціїdiff --cc crates/ui-egui/src/i18n/vi.tsvindex b3f6f0e8d,35bf55459..f5262075c--- a/crates/ui-egui/src/i18n/vi.tsv+++ b/crates/ui-egui/src/i18n/vi.tsv@@@ -3779,15 -3731,5 +3779,17 @@@ curves Smooth Làm mượUse DùngIn Front Phía trướcBehind Phía sau++# DDS Options (#1327)+ DDS Options Tùy chọn DDS+ Compression Nén+ Generate Mipmaps Tạo mipmap++# Color Table (.act) dialog+ There is no color table to save. Không có bảng màu nào để lưu.+@plural Saved {n} color to {file}|Saved {n} colors to {file} Đã lưu {n} màu vào {file}++# Graphics Adapter preference (#1885)+ GPU adapter Bộ điều hợp GPU+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first Hãy xác nhận hoặc hủy hộp thoại bước hành động đang mở trướcdiff --cc crates/ui-egui/src/i18n/zh-hans.tsvindex 4899bfc8a,6a787f671..fe873c34c--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@@ -2923,15 -2868,5 +2923,17 @@@ curves Smooth 平�In Front 前面Behind 后面Blend 混合++# DDS Options (#1327)+ DDS Options DDS 选项+ Compression 压缩+ Generate Mipmaps 生成 Mipmap++# Color Table (.act) dialog+ There is no color table to save. 没有可保存的色表。+@plural Saved {n} color to {file}|Saved {n} colors to {file} 已将 {n} 种颜色保存到 {file}++# Graphics Adapter preference (#1885)+ GPU adapter GPU 适配器+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first 请先确认或取消打开的动作步骤对话框diff --cc crates/ui-egui/src/i18n/zh-hant.tsvindex b2afeca92,85161923b..9bf3ad026--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@@ -2908,15 -2853,5 +2908,17 @@@ curves Smooth 平�In Front 前面Behind 後面Blend 混合++# DDS Options (#1327)+ DDS Options DDS 選項+ Compression 壓縮+ Generate Mipmaps 產生 Mipmap++# Color Table (.act) dialog+ There is no color table to save. 沒有可儲存的色表。+@plural Saved {n} color to {file}|Saved {n} colors to {file} 已將 {n} 種顏色儲存至 {file}++# Graphics Adapter preference (#1885)+ GPU adapter GPU 介面卡+ # Actions: a step dialog holds a suspended recording (#7365)+ Confirm or cancel the open action step dialog first 請先確認或取消開啟中的動作步驟對話框