Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

Merge main into fix/history-panel-menu

David Mannafdc75faf9df
diff --cc crates/engine/src/commands.rs
index 0e39c52e2,a954eca7e..9e780110c
--- a/crates/engine/src/commands.rs
+++ b/crates/engine/src/commands.rs
@@@ -1299,7 -1330,7 +1330,8 @@@ fn build() -> Vec<CommandSpec>
v.extend(crate::analysis_cmds::specs());
v.extend(crate::notes_cmds::specs());
v.extend(crate::history_cmds::specs());
+ v.extend(crate::history_menu_cmds::specs());
+ v.extend(crate::history_select_cmds::specs());
v.extend(crate::proof_sim::specs());
v.extend(crate::presets::specs());
v.extend(crate::document_preset_cmds::specs());
diff --cc crates/engine/src/lib.rs
index d3240bac0,ff3cde6e4..8c4edc3fb
--- a/crates/engine/src/lib.rs
+++ b/crates/engine/src/lib.rs
@@@ -54,7 -54,7 +54,8 @@@ pub mod group_view_cmds
pub mod guide_layout;
pub mod hidden_target;
pub mod history_cmds;
+pub mod history_menu_cmds;
+ pub mod history_select_cmds;
pub mod image_cmds;
pub mod inspect;
pub mod installed_profiles;
diff --cc crates/ui-egui/src/i18n/vi.tsv
index d6a39f4da,1fea5e6b3..13b00a346
--- a/crates/ui-egui/src/i18n/vi.tsv
+++ b/crates/ui-egui/src/i18n/vi.tsv
@@@ -3606,11 -3618,7 +3618,12 @@@ curves Smooth Làm mượ
Action playback stopped Đã dừng phát hành động
Step {step} is waiting for its dialog Bước {step} đang chờ hộp thoại của nó
@plural {n} action|{n} actions {n} hành động
+# History panel menu (#2966)
+ Step Forward Tiến một bước
+ New Snapshot… Ảnh chụp trạng thái mới…
+ Clear History Xóa lịch sử
+ History Options… Tùy chọn lịch sử…
+ Presentation Trình bày
Gradient Preset Options Tùy chọn thiết lập sẵn chuyển sắc
Import .GRD Nhập .GRD
Choose a gradient file (.grd). Chọn tệp chuyển sắc (.grd).