Skip to content

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

Merge PR #6055: Color panel: Photoshop's panel-menu modes, the same in every theme (#6000)

David Mann945a10dc7c2f
diff --cc crates/ui-egui/src/color_panel_tests.rs
index 000000000,7adc0183b..6f7cc4972
mode 000000,100644..100644
--- a/crates/ui-egui/src/color_panel_tests.rs
+++ b/crates/ui-egui/src/color_panel_tests.rs
@@@ -1,0 -1,408 +1,502 @@@
+ //! The Color panel's modes, ramp and panel menu (#6000, #2569): every mode draws and edits the
+ //! colour in every theme, and the choice is the panel menu's, never the theme's.
+
+ use egui::{Modifiers, Pos2, Rect, pos2, vec2};
+ use egui_kittest::Harness;
+ use egui_kittest::kittest::Queryable;
+ use serde_json::json;
+
+ use crate::PhotocraftApp;
+ use crate::color_panel_ui::{Model, hex_code, html_color, ramp_color};
+ use crate::dock::Group;
+ use crate::state::{ColorPanelMode, ColorRamp};
+ use crate::theme::{ThemeKind, Tokens};
+
+ /// The Color tab of `kind` in `mode`, alone in a 300 x 400 pt panel that offers it 360 pt.
+ fn color_tab(kind: ThemeKind, mode: ColorPanelMode, fg: [f32; 4]) -> Harness<'static, PhotocraftApp> {
+ let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default());
+ app.session.tools.foreground = fg;
+ app.ui.color_panel.mode = mode;
++ color_tab_of(kind, app)
++}
++
++/// The Color tab of `kind` for `app`, as [`color_tab`].
++fn color_tab_of(kind: ThemeKind, app: PhotocraftApp) -> Harness<'static, PhotocraftApp> {
+ let tab = Group::Color.tabs(Tokens::for_kind(kind).pro).iter().position(|name| *name == "Color").unwrap();
+ let mut h = Harness::builder().with_size(vec2(300.0, 400.0)).with_step_dt(1.0 / 60.0).build_ui_state(
+ move |ui, app: &mut PhotocraftApp| {
+ if ui.ctx().fonts(|f| f.families().contains(&egui::FontFamily::Name("medium".into()))) {
+ ui.data_mut(|d| d.insert_temp(crate::panels::color_field_fill_id(), 360.0_f32));
+ crate::panels::dock_body(app, ui, Group::Color, tab);
+ }
+ },
+ app,
+ );
+ PhotocraftApp::setup_context(&h.ctx, kind);
+ h.run_steps(3);
+ h
+ }
+
+ /// Click at `p` with `modifiers` held.
+ fn press(h: &mut Harness<'_, PhotocraftApp>, p: Pos2, modifiers: Modifiers) {
+ h.hover_at(p);
+ h.event(egui::Event::ModifiersChanged(modifiers));
+ h.run_steps(1);
+ for pressed in [true, false] {
+ h.event(egui::Event::PointerButton { pos: p, button: egui::PointerButton::Primary, pressed, modifiers });
+ h.run_steps(1);
+ }
+ h.event(egui::Event::ModifiersChanged(Modifiers::NONE));
+ h.run_steps(2);
+ }
+
+ fn bytes(c: [f32; 4]) -> [u8; 3] {
+ [c[0], c[1], c[2]].map(|v| (v.clamp(0.0, 1.0) * 255.0).round() as u8)
+ }
+
+ fn type_into(h: &mut Harness<'_, PhotocraftApp>, role: egui::accesskit::Role, nth: usize, text: &str) {
+ h.query_all_by_role(role).nth(nth).unwrap().click();
+ h.run_steps(1);
+ h.key_press_modifiers(Modifiers::COMMAND, egui::Key::A);
+ h.run_steps(1);
+ for ch in text.chars() {
+ h.event(egui::Event::Text(ch.to_string()));
+ h.run_steps(1);
+ }
+ h.key_press(egui::Key::Tab);
+ h.run_steps(2);
+ }
+
+ #[test]
+ fn every_model_round_trips_its_colours() {
+ let colours = [[0.2, 0.6, 0.8], [1.0, 0.0, 0.0], [0.0, 0.0, 0.0], [1.0, 1.0, 1.0], [0.5, 0.25, 0.75]];
+ for model in [Model::Rgb, Model::Hsb, Model::Web, Model::Lab, Model::Cmyk] {
+ for c in colours {
+ // Pure red, for one, can't print: CMYK gives the nearest printable colour back.
+ if model == Model::Cmyk && crate::color_picker_ui::out_of_gamut(c).is_some() {
+ continue;
+ }
+ let back = model.to_rgb(model.values_of(c));
+ let worst = (0..3).map(|i| (back[i] - c[i]).abs()).fold(0.0, f32::max);
+ // Whole-number fields: RGB is exact, HSB within a step, CMYK and Lab within a few.
+ let tolerance = match model {
+ Model::Rgb | Model::Web => 0.6 / 255.0,
+ Model::Hsb => 2.5 / 255.0,
+ _ => 0.03,
+ };
+ assert!(worst <= tolerance, "{model:?} {c:?} -> {back:?}");
+ }
+ }
+ for g in [0.0, 0.25, 0.5, 1.0] {
+ let back = Model::Gray.to_rgb(Model::Gray.values_of([g; 3]));
+ assert!((back[0] - g).abs() < 0.01, "gray {g} -> {back:?}");
+ }
+ // Hostile values give a valid colour.
+ for model in [Model::Gray, Model::Rgb, Model::Hsb, Model::Cmyk, Model::Lab, Model::Web] {
+ for v in [[f32::NAN; 4], [f32::INFINITY; 4], [-1e9; 4], [1e9; 4]] {
+ assert!(model.to_rgb(v).iter().all(|x| (0.0..=1.0).contains(x)), "{model:?} {v:?}");
+ }
+ assert_eq!(
+ model.channels().len(),
+ match model {
+ Model::Gray => 1,
+ Model::Cmyk => 4,
+ _ => 3,
+ }
+ );
+ }
+ }
+
+ #[test]
+ fn ramps_match_photoshop() {
+ let (fg, bg) = ([0.2, 0.4, 0.6], [1.0, 1.0, 0.0]);
+ let near = |a: [f32; 3], b: [f32; 3]| (0..3).all(|i| (a[i] - b[i]).abs() < 0.02);
+ // RGB Spectrum: hue across, white at the top, the full colour in the middle, black at the bottom.
+ assert!(near(ramp_color(ColorRamp::RgbSpectrum, false, fg, bg, 0.0, 0.0), [1.0; 3]));
+ assert!(near(ramp_color(ColorRamp::RgbSpectrum, false, fg, bg, 0.0, 0.5), [1.0, 0.0, 0.0]));
+ assert!(near(ramp_color(ColorRamp::RgbSpectrum, false, fg, bg, 1.0 / 3.0, 0.5), [0.0, 1.0, 0.0]));
+ assert!(near(ramp_color(ColorRamp::RgbSpectrum, false, fg, bg, 0.5, 1.0), [0.0; 3]));
+ assert!(near(ramp_color(ColorRamp::GrayscaleRamp, false, fg, bg, 0.0, 0.3), [1.0; 3]));
+ assert!(near(ramp_color(ColorRamp::GrayscaleRamp, false, fg, bg, 1.0, 0.3), [0.0; 3]));
+ assert!(near(ramp_color(ColorRamp::CurrentColors, false, fg, bg, 0.0, 0.9), fg));
+ assert!(near(ramp_color(ColorRamp::CurrentColors, false, fg, bg, 1.0, 0.1), bg));
+ // CMYK Spectrum stays printable.
+ let c = ramp_color(ColorRamp::CmykSpectrum, false, fg, bg, 0.6, 0.5);
+ assert!(crate::color_picker_ui::out_of_gamut(c).is_none(), "{c:?}");
+ // Make Ramp Web Safe: every colour is a web colour.
+ for ramp in ColorRamp::ALL {
+ for (x, y) in [(0.13, 0.37), (0.71, 0.66), (0.5, 0.5)] {
+ let c = ramp_color(ramp, true, fg, bg, x, y);
+ assert!(crate::color_picker_ui::not_web_safe(c).is_none(), "{ramp:?} {c:?}");
+ }
+ let c = ramp_color(ramp, false, fg, bg, f32::NAN, f32::INFINITY);
+ assert!(c.iter().all(|v| (0.0..=1.0).contains(v)), "{ramp:?} {c:?}");
+ }
+ // Shift-click cycles the ramps in menu order and wraps.
+ let mut r = ColorRamp::RgbSpectrum;
+ let mut seen = vec![r];
+ for _ in 0..3 {
+ r = r.next();
+ seen.push(r);
+ }
+ assert_eq!(seen, ColorRamp::ALL);
+ assert_eq!(r.next(), ColorRamp::RgbSpectrum);
+ }
+
+ #[test]
+ fn copy_color_formats() {
+ assert_eq!(html_color([0.2, 0.6, 0.8]), "color=\"#3399cc\"");
+ assert_eq!(hex_code([0.2, 0.6, 0.8]), "3399cc");
+ }
+
+ /// Every mode draws in every theme, and a click in it sets the colour.
+ #[test]
+ fn every_mode_works_in_every_theme() {
+ for kind in ThemeKind::ALL {
+ for mode in ColorPanelMode::ALL {
+ let mut h = color_tab(kind, mode, [1.0, 0.0, 0.0, 1.0]);
+ match mode {
+ ColorPanelMode::HueCube | ColorPanelMode::BrightnessCube => {
+ assert!(h.query_by_label("#").is_some(), "{kind:?} {mode:?}: the readout");
+ }
+ ColorPanelMode::ColorWheel => {
+ for label in ["H", "S", "B", "Add to Swatches"] {
+ assert!(h.query_by_label(label).is_some(), "{kind:?} {mode:?}: {label}");
+ }
+ }
+ _ => {
+ for (label, ..) in Model::of(mode).channels() {
+ assert!(h.query_by_label(label).is_some(), "{kind:?} {mode:?}: the {label} slider");
+ }
+ // The black box at the end of the ramp sets black.
+ let black = h.get_by_label("Black").rect().center();
+ press(&mut h, black, Modifiers::NONE);
+ assert_eq!(bytes(h.state().session.tools.foreground), [0, 0, 0], "{kind:?} {mode:?}");
+ }
+ }
+ assert!(h.query_by_label("Hue").is_none() && h.query_by_label("Saturation").is_none(), "{kind:?} {mode:?}: no old sliders");
+ }
+ }
+ }
+
+ #[test]
+ fn rgb_slider_track_sets_its_channel() {
+ let mut h = color_tab(ThemeKind::AdwaitaDark, ColorPanelMode::RgbSliders, [0.0, 0.0, 0.0, 1.0]);
+ let g = h.get_by_label("G").rect();
+ press(&mut h, pos2(g.right() - 2.0, g.center().y), Modifiers::NONE);
+ assert_eq!(bytes(h.state().session.tools.foreground), [0, 255, 0]);
+ // The field takes a typed value too (the spin buttons are R, G, B).
+ type_into(&mut h, egui::accesskit::Role::SpinButton, 2, "128");
+ assert_eq!(bytes(h.state().session.tools.foreground), [0, 255, 128]);
+ }
+
+ /// Black has no hue or saturation of its own: typed H and S must stick while B is still 0.
+ #[test]
+ fn hsb_sliders_take_values_on_black() {
+ let mut h = color_tab(ThemeKind::Studio, ColorPanelMode::HsbSliders, [0.0, 0.0, 0.0, 1.0]);
+ for (field, typed) in [(0, "120"), (1, "100"), (2, "100")] {
+ type_into(&mut h, egui::accesskit::Role::SpinButton, field, typed);
+ }
+ assert_eq!(bytes(h.state().session.tools.foreground), [0, 255, 0]);
+ }
+
+ #[test]
+ fn cmyk_sliders_keep_typed_values() {
+ let mut h = color_tab(ThemeKind::Pro, ColorPanelMode::CmykSliders, [1.0, 1.0, 1.0, 1.0]);
+ type_into(&mut h, egui::accesskit::Role::SpinButton, 0, "40");
+ type_into(&mut h, egui::accesskit::Role::SpinButton, 3, "20");
+ let shown: Vec<String> = h.query_all_by_role(egui::accesskit::Role::SpinButton).filter_map(|n| n.value()).collect();
+ assert_eq!(shown.first().map(String::as_str), Some("40"), "C stays as typed: {shown:?}");
+ assert_eq!(shown.get(3).map(String::as_str), Some("20"), "K stays as typed: {shown:?}");
+ }
+
+ #[test]
+ fn web_sliders_snap_and_take_hex() {
+ let mut h = color_tab(ThemeKind::Classic, ColorPanelMode::WebColorSliders, [0.0, 0.0, 0.0, 1.0]);
+ let r = h.get_by_label("R").rect();
+ // 45% along the track snaps to 0x66 (102), the nearest web step.
+ let x = r.left() + 4.0 + (r.width() - 8.0) * 0.45;
+ press(&mut h, pos2(x, r.center().y), Modifiers::NONE);
+ assert_eq!(bytes(h.state().session.tools.foreground), [0x66, 0, 0]);
+ // Not a web colour: the cube alert snaps it.
+ type_into(&mut h, egui::accesskit::Role::TextInput, 1, "C8");
+ assert_eq!(bytes(h.state().session.tools.foreground), [0x66, 0xC8, 0]);
+ let alert = h.get_by_label("Not a web colour: click for the nearest web colour").rect().center();
+ press(&mut h, alert, Modifiers::NONE);
+ assert_eq!(bytes(h.state().session.tools.foreground), [0x66, 0xCC, 0]);
+ }
+
+ #[test]
+ fn ramp_picks_and_shift_click_cycles_and_alt_picks_the_other_colour() {
+ let mut h = color_tab(ThemeKind::BreezeDark, ColorPanelMode::RgbSliders, [0.0, 0.0, 0.0, 1.0]);
+ let ramp: Rect = h.get_by_label("Color Ramp").rect();
+ // The RGB Spectrum's top is white.
+ press(&mut h, pos2(ramp.left() + 3.0, ramp.top() + 1.0), Modifiers::NONE);
+ assert!(bytes(h.state().session.tools.foreground).iter().all(|v| *v > 240), "{:?}", h.state().session.tools.foreground);
+ // Alt picks the background (the panel edits the foreground).
+ press(&mut h, pos2(ramp.left() + 3.0, ramp.bottom() - 1.0), Modifiers::ALT);
+ assert!(bytes(h.state().session.tools.background).iter().all(|v| *v < 16), "{:?}", h.state().session.tools.background);
+ assert!(bytes(h.state().session.tools.foreground).iter().all(|v| *v > 240), "Alt leaves the foreground");
+ // Shift-click cycles the ramp and picks nothing.
+ let fg = h.state().session.tools.foreground;
+ for expected in [ColorRamp::CmykSpectrum, ColorRamp::GrayscaleRamp, ColorRamp::CurrentColors, ColorRamp::RgbSpectrum] {
+ press(&mut h, ramp.center(), Modifiers::SHIFT);
+ assert_eq!(h.state().ui.color_panel.ramp, expected);
+ }
+ assert_eq!(h.state().session.tools.foreground, fg);
+ // Grayscale Ramp: its left end is white.
+ h.state_mut().ui.color_panel.ramp = ColorRamp::GrayscaleRamp;
+ h.state_mut().session.tools.foreground = [0.0, 0.0, 0.0, 1.0];
+ h.run_steps(2);
+ press(&mut h, pos2(ramp.left() + 1.0, ramp.center().y), Modifiers::NONE);
+ assert!(bytes(h.state().session.tools.foreground).iter().all(|v| *v > 245));
+ }
+
+ /// A drag on the Current Colors ramp picks from the ends it began with: holding still keeps the
+ /// colour under the pointer instead of drifting toward the background.
+ #[test]
+ fn current_colors_ramp_drag_keeps_its_ends() {
+ let mut h = color_tab(ThemeKind::BreezeDark, ColorPanelMode::RgbSliders, [0.0, 0.0, 0.0, 1.0]);
+ h.state_mut().session.tools.background = [1.0, 1.0, 1.0, 1.0];
+ h.state_mut().ui.color_panel.ramp = ColorRamp::CurrentColors;
+ h.run_steps(2);
+ let ramp: Rect = h.get_by_label("Color Ramp").rect();
+ let p = ramp.center();
+ h.hover_at(p);
+ h.event(egui::Event::PointerButton { pos: p, button: egui::PointerButton::Primary, pressed: true, modifiers: Modifiers::NONE });
+ h.run_steps(1);
+ // Move away and back to start the drag, then hold still for a while.
+ for q in [p + vec2(12.0, 0.0), p] {
+ h.event(egui::Event::PointerMoved(q));
+ h.run_steps(1);
+ }
+ h.run_steps(20);
+ h.event(egui::Event::PointerButton { pos: p, button: egui::PointerButton::Primary, pressed: false, modifiers: Modifiers::NONE });
+ h.run_steps(2);
+ let expected = ramp_color(ColorRamp::CurrentColors, false, [0.0; 3], [1.0; 3], (p.x - ramp.left()) / ramp.width(), 0.5);
+ let got = bytes(h.state().session.tools.foreground);
+ for (g, e) in got.iter().zip(expected) {
+ assert!(i32::from(*g).abs_diff((e * 255.0).round() as i32) <= 3, "{got:?} vs {expected:?}");
+ }
+ }
+
+ /// A non-finite pointer (a huge synthetic `ui.move`) misses the triangle instead of panicking.
+ #[test]
+ fn triangle_ignores_non_finite_points() {
+ let tri = [pos2(100.0, 0.0), pos2(0.0, 0.0), pos2(0.0, 100.0)];
+ for p in [pos2(f32::INFINITY, f32::INFINITY), pos2(f32::NAN, 1.0), pos2(f32::NEG_INFINITY, f32::INFINITY)] {
+ assert_eq!(crate::color_panel_ui::triangle_sv(tri, p), None, "{p:?}");
+ }
+ assert!(crate::color_panel_ui::triangle_sv(tri, pos2(10.0, 10.0)).is_some());
+ }
+
+ #[test]
+ fn color_wheel_ring_sets_hue_and_triangle_sets_saturation_and_brightness() {
+ let mut h = color_tab(ThemeKind::Pro, ColorPanelMode::ColorWheel, [0.0, 0.0, 1.0, 1.0]);
+ let area = h.get_by_label("Color Wheel").rect();
+ let (center, inner, outer) = crate::color_panel_ui::wheel_geometry(area);
+ let mid = (inner + outer) / 2.0;
+ // Up on the ring: hue 90° (yellow-green). Blue is fully saturated and bright, so it keeps both.
+ press(&mut h, pos2(center.x, center.y - mid), Modifiers::NONE);
+ let [r, g, bl] = bytes(h.state().session.tools.foreground);
+ assert!(r > 100 && g > 240 && bl < 10, "hue 90: {r} {g} {bl}");
+ // The triangle's centre: some saturation, some brightness, same hue.
+ press(&mut h, center, Modifiers::NONE);
+ let after = bytes(h.state().session.tools.foreground);
+ let hsv = photocraft_color::convert::rgb_to_hsb(after.map(|v| f32::from(v) / 255.0));
+ assert!((hsv[0] - 90.0).abs() < 4.0 && hsv[1] < 0.9 && hsv[2] < 0.95, "{after:?} {hsv:?}");
+ }
+
+ /// Picking a mode from the panel menu changes the panel; the theme never does.
+ #[test]
+ fn panel_menu_picks_the_mode_and_ramp() {
+ let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default());
+ app.session.tools.foreground = [0.2, 0.6, 0.8, 1.0];
+ let mut h = Harness::builder().with_size(vec2(260.0, 700.0)).build_ui_state(
+ |ui, app: &mut PhotocraftApp| {
+ if ui.ctx().fonts(|f| f.families().contains(&egui::FontFamily::Name("medium".into()))) {
+ crate::color_panel_ui::panel_menu(app, ui);
+ }
+ },
+ app,
+ );
+ PhotocraftApp::setup_context(&h.ctx, ThemeKind::AdwaitaDark);
+ h.run_steps(2);
+ assert!(h.query_by_label("✔ Hue Cube").is_some(), "Hue Cube is the default");
+ for mode in ColorPanelMode::ALL.into_iter().skip(1).chain([ColorPanelMode::HueCube, ColorPanelMode::WebColorSliders]) {
+ h.get_by_label(&format!(" {}", mode.label())).click();
+ h.run_steps(2);
+ assert_eq!(h.state().ui.color_panel.mode, mode);
+ assert!(h.query_by_label(&format!("✔ {}", mode.label())).is_some());
+ }
+ h.get_by_label(" Current Colors").click();
+ h.run_steps(2);
+ assert_eq!(h.state().ui.color_panel.ramp, ColorRamp::CurrentColors);
+ h.get_by_label(" Make Ramp Web Safe").click();
+ h.run_steps(2);
+ assert!(h.state().ui.color_panel.web_safe_ramp);
+ h.get_by_label("Copy Color's Hex Code").click();
+ h.run_steps(1);
+ let copied: Vec<_> =
+ h.output().platform_output.commands.iter().filter_map(|c| if let egui::OutputCommand::CopyText(s) = c { Some(s.clone()) } else { None }).collect();
+ assert_eq!(copied, ["3399cc"]);
+ // Switching theme keeps the mode.
+ let ctx = h.ctx.clone();
+ h.state_mut().set_theme(&ctx, ThemeKind::Pro);
+ h.run_steps(2);
+ assert_eq!(h.state().ui.color_panel.mode, ColorPanelMode::WebColorSliders);
+ }
+
+ /// `ui.set colorPanel` merges, so setting the mode keeps the edited chip; bad values change nothing.
+ #[test]
+ fn control_sets_the_mode_ramp_and_web_safe_ramp() {
+ let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default());
+ let ctx = egui::Context::default();
+ let call = |app: &mut PhotocraftApp, params: serde_json::Value| {
+ let (req, _rx) = crate::control::ControlRequest::new("ui.set", params);
+ match crate::control::handle(app, &ctx, &req) {
+ crate::control::Outcome::Done(v) => v["ok"] == true,
+ _ => panic!("expected an immediate reply"),
+ }
+ };
+ assert!(call(&mut app, json!({"colorPanel": {"background": true}})));
+ assert!(call(&mut app, json!({"colorPanel": {"mode": "labSliders", "ramp": "grayscaleRamp", "webSafeRamp": true}})));
+ let cp = app.ui.color_panel;
+ assert!(cp.background, "the chip is kept");
+ assert_eq!((cp.mode, cp.ramp, cp.web_safe_ramp), (ColorPanelMode::LabSliders, ColorRamp::GrayscaleRamp, true));
+ for bad in [json!({"colorPanel": {"mode": "hueWheel"}}), json!({"colorPanel": {"ramp": 3}}), json!({"colorPanel": {"webSafeRamp": "yes"}})] {
+ assert!(!call(&mut app, bad.clone()), "{bad}");
+ assert_eq!(app.ui.color_panel, cp, "{bad}: nothing changes");
+ }
+ }
+
+ /// Only Web Colors is `webOnly` now that the state is camelCase; state saved before still loads.
+ #[test]
+ fn web_only_reads_its_old_snake_case_key() {
+ let old: crate::state::ColorPanelState = serde_json::from_value(json!({"background": true, "web_only": true})).unwrap();
+ assert!(old.background && old.web_only);
+ let new = serde_json::to_value(old).unwrap();
+ assert_eq!((new.get("webOnly"), new.get("web_only")), (Some(&json!(true)), None));
+ }
+
+ /// Make Ramp Web Safe: a click picks the cell drawn under the pointer, even near its edge. On
+ /// the Grayscale Ramp the fifth cell is drawn white, though its right edge rounds to CC.
+ #[test]
+ fn web_safe_ramp_picks_the_cell_it_draws() {
+ let mut h = color_tab(ThemeKind::Pro, ColorPanelMode::RgbSliders, [0.0, 0.0, 0.0, 1.0]);
+ h.state_mut().ui.color_panel.ramp = ColorRamp::GrayscaleRamp;
+ h.state_mut().ui.color_panel.web_safe_ramp = true;
+ h.run_steps(2);
+ let ramp: Rect = h.get_by_label("Color Ramp").rect();
+ press(&mut h, pos2(ramp.left() + ramp.width() * 4.95 / 48.0, ramp.center().y), Modifiers::NONE);
+ assert_eq!(bytes(h.state().session.tools.foreground), [255, 255, 255]);
+ }
+
+ /// A Web Color field takes two hex digits only: "+F" is not 0F.
+ #[test]
+ fn web_field_ignores_a_sign() {
+ let mut h = color_tab(ThemeKind::Pro, ColorPanelMode::WebColorSliders, [0.0, 0.0, 0.0, 1.0]);
+ type_into(&mut h, egui::accesskit::Role::TextInput, 0, "+F");
+ assert_eq!(bytes(h.state().session.tools.foreground), [0, 0, 0]);
+ }
+
+ /// A click beside the Color Wheel (its area spans the panel) leaves the colour alone.
+ #[test]
+ fn color_wheel_ignores_clicks_beside_it() {
+ let mut h = color_tab(ThemeKind::Pro, ColorPanelMode::ColorWheel, [0.0, 0.0, 1.0, 1.0]);
+ let area = h.get_by_label("Color Wheel").rect();
+ let (center, _, outer) = crate::color_panel_ui::wheel_geometry(area);
+ let corner = area.left_top() + vec2(3.0, 3.0);
+ assert!(corner.distance(center) > outer + 20.0, "the corner is beside the wheel");
+ press(&mut h, corner, Modifiers::NONE);
+ assert_eq!(bytes(h.state().session.tools.foreground), [0, 0, 255]);
+ }
++
++/// The Color tab in `mode` with a document holding one selected black rectangle, the Rectangle tool
++/// in hand, foreground blue and background red, editing the background chip if `background`.
++fn color_tab_with_a_shape(mode: ColorPanelMode, background: bool) -> Harness<'static, PhotocraftApp> {
++ let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default());
++ app.run("file.new", json!({"width": 200, "height": 100})).unwrap();
++ app.sync_views();
++ app.run("shape.create", json!({"kind": "rect", "rect": [20, 20, 50, 50], "fill": "#000000"})).unwrap();
++ app.ui.tool = crate::state::Tool::Rectangle;
++ app.session.tools.foreground = [0.0, 0.0, 1.0, 1.0];
++ app.session.tools.background = [1.0, 0.0, 0.0, 1.0];
++ app.ui.color_panel.mode = mode;
++ app.ui.color_panel.background = background;
++ color_tab_of(ThemeKind::Studio, app)
++}
++
++/// Types `text` into the first slider field (Hue or Red) and commits it with Enter.
++fn type_first_slider(h: &mut Harness<'_, PhotocraftApp>, text: &str) {
++ h.query_all_by_role(egui::accesskit::Role::SpinButton).next().unwrap().click();
++ h.run_steps(2);
++ h.key_press_modifiers(Modifiers::COMMAND, egui::Key::A);
++ h.run_steps(1);
++ h.event(egui::Event::Text(text.into()));
++ h.run_steps(1);
++ h.key_press(egui::Key::Enter);
++ h.run_steps(3);
++}
++
++fn shape_fill(app: &PhotocraftApp) -> [u8; 3] {
++ let st = app.session.active().unwrap();
++ let photocraft_doc::LayerContent::Shape(sh) = &st.doc.layer(st.active_layer.unwrap()).unwrap().content else { panic!("shape layer") };
++ let Some(photocraft_doc::Fill::Solid(c)) = &sh.fill else { panic!("solid fill") };
++ bytes([c.c[0], c.c[1], c.c[2], 1.0])
++}
++
++/// The HSB sliders edit the chip the panel is editing (#5842): with the background chip active
++/// they change the background, and the selected shape (which takes the foreground with a shape
++/// tool in hand) keeps its fill. On the foreground chip the shape follows.
++#[test]
++fn hsb_sliders_edit_the_active_chip_and_only_the_foreground_recolours_shapes() {
++ let mut h = color_tab_with_a_shape(ColorPanelMode::HsbSliders, true);
++ type_first_slider(&mut h, "120");
++ let app = h.state();
++ assert_eq!(bytes(app.session.tools.background), [0, 255, 0], "the background takes the hue");
++ assert_eq!(bytes(app.session.tools.foreground), [0, 0, 255], "the foreground is left alone");
++ assert_eq!(shape_fill(app), [0, 0, 0], "a background edit recolours nothing");
++
++ let mut h = color_tab_with_a_shape(ColorPanelMode::HsbSliders, false);
++ type_first_slider(&mut h, "120");
++ let app = h.state();
++ assert_eq!(bytes(app.session.tools.foreground), [0, 255, 0]);
++ assert_eq!(bytes(app.session.tools.background), [255, 0, 0]);
++ assert_eq!(shape_fill(app), [0, 255, 0], "the selected shape takes the new foreground");
++}
++
++/// The RGB sliders recolour the selected shape like the HSB sliders, the field and the swatches
++/// do (`apply_color`), in one history step, and only for a foreground edit.
++#[test]
++fn rgb_sliders_recolour_the_selected_shape_with_the_foreground() {
++ let mut h = color_tab_with_a_shape(ColorPanelMode::RgbSliders, false);
++ let steps = h.state().session.active().unwrap().history.entries().len();
++ type_first_slider(&mut h, "255");
++ let app = h.state();
++ assert_eq!(bytes(app.session.tools.foreground), [255, 0, 255]);
++ assert_eq!(shape_fill(app), [255, 0, 255]);
++ assert_eq!(app.session.active().unwrap().history.entries().len(), steps + 1, "one history step");
++
++ let mut h = color_tab_with_a_shape(ColorPanelMode::RgbSliders, true);
++ type_first_slider(&mut h, "0");
++ let app = h.state();
++ assert_eq!(bytes(app.session.tools.background), [0, 0, 0]);
++ assert_eq!(shape_fill(app), [0, 0, 0], "a background edit recolours nothing");
++}
++
++/// Every slider mode's ramp (here its white box) recolours the selected shape with a new
++/// foreground, as the sliders and the field do.
++#[test]
++fn every_slider_mode_recolours_the_selected_shape() {
++ for mode in ColorPanelMode::ALL {
++ if matches!(mode, ColorPanelMode::HueCube | ColorPanelMode::BrightnessCube | ColorPanelMode::ColorWheel) {
++ continue;
++ }
++ let mut h = color_tab_with_a_shape(mode, false);
++ let white = h.get_by_label("White").rect().center();
++ press(&mut h, white, Modifiers::NONE);
++ assert_eq!(bytes(h.state().session.tools.foreground), [255, 255, 255], "{mode:?}");
++ assert_eq!(shape_fill(h.state()), [255, 255, 255], "{mode:?}");
++ }
++}
diff --cc crates/ui-egui/src/color_panel_ui.rs
index 000000000,60f9c728e..88028502e
mode 000000,100644..100644
--- a/crates/ui-egui/src/color_panel_ui.rs
+++ b/crates/ui-egui/src/color_panel_ui.rs
@@@ -1,0 -1,764 +1,766 @@@
+ //! Photoshop's Color panel modes, picked from its panel menu and the same in every theme (#6000,
+ //! #2569): Hue Cube and Brightness Cube (drawn by [`crate::panels::color_field`]), Color Wheel (HSB
+ //! sliders over a hue ring around a saturation/brightness triangle), and the Grayscale, RGB, HSB,
+ //! CMYK, Lab and Web Color sliders over a colour ramp. The panel menu also has Copy Color as HTML,
+ //! Copy Color's Hex Code, the ramp choices (RGB Spectrum, CMYK Spectrum, Grayscale Ramp, Current
+ //! Colors) and Make Ramp Web Safe. Shift-click on the ramp cycles the ramps, Alt-click picks the
+ //! colour the panel isn't editing, and a right-click opens the ramp menu.
+
+ use std::f32::consts::TAU;
+ use std::sync::Arc;
+
+ use egui::{Color32, Mesh, Pos2, Rect, Sense, Stroke, StrokeKind, pos2, vec2};
+ use serde_json::json;
+
+ use crate::PhotocraftApp;
+ use crate::color_picker_ui::{hex, not_web_safe, out_of_gamut};
+ use crate::panels::{color_field_fill_id, field_chips, field_hsva, srgb_hsva};
+ use crate::state::{ColorPanelMode, ColorRamp};
+ use crate::theme::Tokens;
+ use crate::widgets;
+ use photocraft_color::convert;
+ use photocraft_color::convert::{hsb_to_rgb, rgb_to_hsb};
+
+ /// Width of the chips column, as the cube field's.
+ const CHIPS_W: f32 = 38.0;
+ /// Height of one slider row.
+ const ROW_H: f32 = 22.0;
+ /// Width of a slider row's value field.
+ const FIELD_W: f32 = 44.0;
+ /// Width of the unit after a field ("°", "%").
+ const UNIT_W: f32 = 14.0;
+ /// Width of the white and black boxes at the right end of the ramp.
+ const BOXES_W: f32 = 16.0;
+
+ /// The Color tab: whatever the panel menu picked.
+ pub(crate) fn panel(app: &mut PhotocraftApp, ui: &mut egui::Ui) {
+ match app.ui.color_panel.mode {
+ ColorPanelMode::HueCube | ColorPanelMode::BrightnessCube => crate::panels::color_field(app, ui),
+ ColorPanelMode::ColorWheel => wheel(app, ui),
+ mode => sliders(app, ui, mode),
+ }
++ crate::apply_color::track_focus(ui.ctx());
+ }
+
+ /// The colour model a slider mode edits.
+ #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
+ pub(crate) enum Model {
+ Gray,
+ Rgb,
+ Hsb,
+ Cmyk,
+ Lab,
+ Web,
+ }
+
+ impl Model {
+ pub(crate) fn of(mode: ColorPanelMode) -> Model {
+ match mode {
+ ColorPanelMode::GrayscaleSlider => Model::Gray,
+ ColorPanelMode::HsbSliders | ColorPanelMode::ColorWheel => Model::Hsb,
+ ColorPanelMode::CmykSliders => Model::Cmyk,
+ ColorPanelMode::LabSliders => Model::Lab,
+ ColorPanelMode::WebColorSliders => Model::Web,
+ ColorPanelMode::RgbSliders | ColorPanelMode::HueCube | ColorPanelMode::BrightnessCube => Model::Rgb,
+ }
+ }
+
+ /// Each slider: label, range and unit, in Photoshop's order.
+ pub(crate) fn channels(self) -> &'static [(&'static str, f32, f32, &'static str)] {
+ match self {
+ Model::Gray => &[("K", 0.0, 100.0, "%")],
+ Model::Rgb | Model::Web => &[("R", 0.0, 255.0, ""), ("G", 0.0, 255.0, ""), ("B", 0.0, 255.0, "")],
+ Model::Hsb => &[("H", 0.0, 360.0, "°"), ("S", 0.0, 100.0, "%"), ("B", 0.0, 100.0, "%")],
+ Model::Cmyk => &[("C", 0.0, 100.0, "%"), ("M", 0.0, 100.0, "%"), ("Y", 0.0, 100.0, "%"), ("K", 0.0, 100.0, "%")],
+ Model::Lab => &[("L", 0.0, 100.0, ""), ("a", -128.0, 127.0, ""), ("b", -128.0, 127.0, "")],
+ }
+ }
+
+ /// The sRGB colour of slider values `v` (in the units the fields show).
+ pub(crate) fn to_rgb(self, v: [f32; 4]) -> [f32; 3] {
+ let [a, b, c, d] = v.map(|x| if x.is_finite() { x } else { 0.0 });
+ let rgb = match self {
+ Model::Gray => [1.0 - a / 100.0; 3],
+ Model::Rgb | Model::Web => [a / 255.0, b / 255.0, c / 255.0],
+ Model::Hsb => hsb_to_rgb([a, b / 100.0, c / 100.0]),
+ Model::Cmyk => convert::cmyk_to_rgb([a / 100.0, b / 100.0, c / 100.0, d / 100.0]),
+ Model::Lab => convert::lab_to_srgb([a, b, c]),
+ };
+ rgb.map(|x| if x.is_finite() { x.clamp(0.0, 1.0) } else { 0.0 })
+ }
+
+ /// Slider values of `rgb`, rounded to whole numbers as Photoshop's fields show them.
+ pub(crate) fn values_of(self, rgb: [f32; 3]) -> [f32; 4] {
+ let v = match self {
+ Model::Gray => [(1.0 - convert::rgb_to_gray(rgb)) * 100.0, 0.0, 0.0, 0.0],
+ Model::Rgb | Model::Web => [rgb[0] * 255.0, rgb[1] * 255.0, rgb[2] * 255.0, 0.0],
+ Model::Hsb => {
+ let [h, s, b] = rgb_to_hsb(rgb);
+ [h, s * 100.0, b * 100.0, 0.0]
+ }
+ Model::Cmyk => convert::rgb_to_cmyk(rgb).map(|x| x * 100.0),
+ Model::Lab => {
+ let [l, a, b] = convert::srgb_to_lab(rgb);
+ [l, a, b, 0.0]
+ }
+ };
+ v.map(|x| if x.is_finite() { x.round() } else { 0.0 })
+ }
+ }
+
+ /// The colour the panel edits.
+ fn active(app: &PhotocraftApp) -> [f32; 3] {
+ let c = if app.ui.color_panel.background { app.session.tools.background } else { app.session.tools.foreground };
+ [c[0], c[1], c[2]].map(|x| x.clamp(0.0, 1.0))
+ }
+
-/// Set the foreground (and recolour selected type) or the background colour.
-pub(crate) fn set_color(app: &mut PhotocraftApp, background: bool, rgb: [f32; 3]) {
++/// Set the background colour, or the foreground and recolour what is selected as the tool in hand
++/// says (`apply_color`); the picks of one drag or typed value are one history step.
++pub(crate) fn set_color(app: &mut PhotocraftApp, ctx: &egui::Context, background: bool, rgb: [f32; 3]) {
+ let c = [rgb[0], rgb[1], rgb[2], 1.0];
+ if background {
+ app.session.tools.background = c;
+ } else {
+ app.session.tools.foreground = c;
- crate::type_tool::foreground_changed(app);
++ crate::apply_color::foreground_changed(app, crate::apply_color::gesture(ctx));
+ }
+ }
+
+ /// The key of the slider values last shown for `model`, kept while they still give the colour:
+ /// a grey has no hue, and CMYK or Lab values don't survive an sRGB round trip (#3228).
+ fn values_key(model: Model, background: bool) -> egui::Id {
+ egui::Id::new(("color-panel-values", model, background))
+ }
+
+ /// The key of the Hue Cube's remembered hue and saturation (see [`field_hsva`]).
+ fn field_key(background: bool) -> egui::Id {
+ egui::Id::new(("color-field-hue", background))
+ }
+
+ /// Slider values for the colour the panel edits: the ones last shown while they still give it.
+ fn current_values(ui: &egui::Ui, model: Model, background: bool, rgb: [f32; 3]) -> [f32; 4] {
+ let stored: Option<[f32; 4]> = ui.data(|d| d.get_temp(values_key(model, background)));
+ if let Some(v) = stored.filter(|v| hex(model.to_rgb(*v)) == hex(rgb)) {
+ return v;
+ }
+ if model == Model::Hsb {
+ // Share the cube's hue and saturation, so a grey keeps its hue across modes.
+ let c = [rgb[0], rgb[1], rgb[2], 1.0];
+ let hsva = srgb_hsva(c);
+ let remembered: (f32, f32) = ui.data(|d| d.get_temp(field_key(background))).unwrap_or((hsva.h, hsva.s));
+ let h = field_hsva(hsva, remembered);
+ return [h.h * 360.0, h.s * 100.0, h.v * 100.0, 0.0].map(f32::round);
+ }
+ model.values_of(rgb)
+ }
+
+ /// Apply edited slider values: the colour, and the values (and the cube's hue) remembered.
+ fn apply_values(app: &mut PhotocraftApp, ui: &egui::Ui, model: Model, v: [f32; 4]) {
+ let background = app.ui.color_panel.background;
+ let rgb = model.to_rgb(v);
- set_color(app, background, rgb);
++ set_color(app, ui.ctx(), background, rgb);
+ ui.data_mut(|d| d.insert_temp(values_key(model, background), v));
+ if model == Model::Hsb && v[2] > 0.5 {
+ ui.data_mut(|d| d.insert_temp(field_key(background), (v[0] / 360.0, v[1] / 100.0)));
+ }
+ }
+
+ /// Track colours of slider `i` at `steps` + 1 points, the other sliders at `v`.
+ fn track_stops(model: Model, v: [f32; 4], i: usize, steps: usize) -> Vec<Color32> {
+ let Some(&(_, lo, hi, _)) = model.channels().get(i) else { return Vec::new() };
+ (0..=steps)
+ .map(|k| {
+ let mut w = v;
+ if let Some(slot) = w.get_mut(i) {
+ *slot = lo + (hi - lo) * k as f32 / steps as f32;
+ }
+ // HSB's hue track is the full spectrum, whatever the saturation and brightness.
+ if model == Model::Hsb && i == 0 {
+ w = [w[0], 100.0, 100.0, 0.0];
+ }
+ rgb32(model.to_rgb(w))
+ })
+ .collect()
+ }
+
+ pub(crate) fn rgb32(c: [f32; 3]) -> Color32 {
+ let q = |v: f32| (v.clamp(0.0, 1.0) * 255.0).round() as u8;
+ Color32::from_rgb(q(c[0]), q(c[1]), q(c[2]))
+ }
+
+ /// The slider rows of `model`. Returns the edited values, if any.
+ fn slider_rows(ui: &mut egui::Ui, model: Model, v: [f32; 4], background: bool, dynamic: bool) -> Option<[f32; 4]> {
+ let t = Tokens::get(ui.ctx());
+ // Dynamic Color Sliders off: the tracks keep the colours they had when a drag began.
+ let stops_key = egui::Id::new(("color-panel-stops", model, background));
+ let dragging = ui.input(|i| i.pointer.any_down());
+ let stops_from = if dynamic || !dragging { v } else { ui.data(|d| d.get_temp::<[f32; 4]>(stops_key)).unwrap_or(v) };
+ if !dragging {
+ ui.data_mut(|d| d.insert_temp(stops_key, v));
+ }
+ let mut out = None;
+ let mut values = v;
+ for (i, &(label, lo, hi, unit)) in model.channels().iter().enumerate() {
+ let Some(&current) = values.get(i) else { continue };
+ let mut x = current;
+ let mut changed = false;
+ ui.horizontal(|ui| {
+ ui.spacing_mut().item_spacing.x = 4.0;
+ ui.set_height(ROW_H);
+ let (lr, _) = ui.allocate_exact_size(vec2(12.0, ROW_H), Sense::hover());
+ ui.painter().text(lr.left_center(), egui::Align2::LEFT_CENTER, label, egui::FontId::proportional(12.0), t.text_dim);
+ let track_w = (ui.available_width() - FIELD_W - UNIT_W - 8.0).max(24.0);
+ let (tr, resp) = ui.allocate_exact_size(vec2(track_w, ROW_H), Sense::click_and_drag());
+ let stops = track_stops(model, stops_from, i, 24);
+ changed |= track(ui, tr, &resp, &mut x, lo, hi, &stops, model == Model::Web);
+ resp.widget_info(|| egui::WidgetInfo::slider(ui.is_enabled(), f64::from(x), label));
+ if model == Model::Web {
+ changed |= hex_pair(ui, ui.id().with(("web-field", i, background)), &mut x);
+ } else if widgets::value_field(ui, &mut x, lo..=hi, "", FIELD_W).changed() {
+ changed = true;
+ }
+ let (ur, _) = ui.allocate_exact_size(vec2(UNIT_W, ROW_H), Sense::hover());
+ ui.painter().text(ur.left_center(), egui::Align2::LEFT_CENTER, unit, egui::FontId::proportional(12.0), t.text_faint);
+ });
+ if changed && let Some(slot) = values.get_mut(i) {
+ *slot = x.clamp(lo, hi).round();
+ out = Some(values);
+ }
+ }
+ out
+ }
+
+ /// A slider track with Photoshop's triangle thumb under it. Returns true when dragged or clicked
+ /// to a new value; Web Color tracks snap to the web steps (00, 33, 66, 99, CC, FF).
+ #[allow(clippy::too_many_arguments)]
+ fn track(ui: &egui::Ui, r: Rect, resp: &egui::Response, value: &mut f32, lo: f32, hi: f32, stops: &[Color32], web: bool) -> bool {
+ let t = Tokens::get(ui.ctx());
+ let bar = Rect::from_min_max(pos2(r.left() + 4.0, r.center().y - 6.0), pos2(r.right() - 4.0, r.center().y + 1.0));
+ let mut mesh = Mesh::default();
+ let n = stops.len().saturating_sub(1).max(1);
+ for (k, c) in stops.iter().enumerate() {
+ let x = bar.left() + bar.width() * k as f32 / n as f32;
+ mesh.colored_vertex(pos2(x, bar.top()), *c);
+ mesh.colored_vertex(pos2(x, bar.bottom()), *c);
+ }
+ for k in 0..stops.len().saturating_sub(1) as u32 {
+ let a = k * 2;
+ mesh.add_triangle(a, a + 1, a + 3);
+ mesh.add_triangle(a, a + 3, a + 2);
+ }
+ ui.painter().add(mesh);
+ ui.painter().rect_stroke(bar, 0.0, Stroke::new(1.0, t.field_border), StrokeKind::Outside);
+ if web {
+ // Ticks at the web steps.
+ for k in 0..=5 {
+ let x = bar.left() + bar.width() * k as f32 / 5.0;
+ ui.painter().line_segment([pos2(x, bar.bottom() + 1.0), pos2(x, bar.bottom() + 3.0)], Stroke::new(1.0, t.text_faint));
+ }
+ }
+ let mut changed = false;
+ if (resp.dragged() || resp.clicked())
+ && let Some(p) = resp.interact_pointer_pos()
+ && bar.width() > 0.0
+ && hi > lo
+ {
+ let f = ((p.x - bar.left()) / bar.width()).clamp(0.0, 1.0);
+ let mut v = lo + (hi - lo) * f;
+ if web {
+ v = (v / 51.0).round() * 51.0;
+ }
+ let v = v.round().clamp(lo, hi);
+ if v != *value {
+ *value = v;
+ changed = true;
+ }
+ }
+ let f = if hi > lo { ((*value - lo) / (hi - lo)).clamp(0.0, 1.0) } else { 0.0 };
+ let x = bar.left() + bar.width() * f;
+ let y = bar.bottom() + 1.0;
+ let thumb = vec![pos2(x, y), pos2(x + 5.0, y + 7.0), pos2(x - 5.0, y + 7.0)];
+ ui.painter().add(egui::Shape::convex_polygon(thumb, t.text, Stroke::new(1.0, t.field_border)));
+ changed
+ }
+
+ /// A Web Color slider's field: the channel as two hex digits. Valid input sets `value` (0..255)
+ /// and returns true; while focused it shows what is typed, and an invalid entry snaps back.
+ fn hex_pair(ui: &mut egui::Ui, id: egui::Id, value: &mut f32) -> bool {
+ let t = Tokens::get(ui.ctx());
+ let (rect, _) = ui.allocate_exact_size(vec2(FIELD_W, ROW_H), Sense::hover());
+ widgets::surface(ui, rect, t.field, false);
+ if !t.bevel {
+ ui.painter().rect_stroke(rect, t.radius_sm, Stroke::new(1.0, t.field_border), StrokeKind::Inside);
+ }
+ let byte = value.clamp(0.0, 255.0).round() as u8;
+ let typing = if ui.memory(|m| m.has_focus(id)) { ui.data(|d| d.get_temp::<String>(id)) } else { None };
+ let mut text = typing.unwrap_or_else(|| format!("{byte:02X}"));
+ let inner = rect.shrink2(vec2(5.0, 2.0));
+ let mut child = ui.new_child(egui::UiBuilder::new().max_rect(inner).layout(egui::Layout::left_to_right(egui::Align::Center)));
+ let resp = child
+ .add(egui::TextEdit::singleline(&mut text).id(id).char_limit(2).desired_width(inner.width()).frame(egui::Frame::NONE).font(crate::theme::mono(12.0)));
+ if resp.has_focus() {
+ ui.data_mut(|d| d.insert_temp(id, text.clone()));
+ } else {
+ ui.data_mut(|d| d.remove::<String>(id));
+ }
+ // Two hex digits only: `from_str_radix` would also take a sign ("+F").
+ if resp.changed()
+ && text.len() == 2
+ && text.bytes().all(|b| b.is_ascii_hexdigit())
+ && let Ok(b) = u8::from_str_radix(&text, 16)
+ {
+ *value = f32::from(b);
+ return true;
+ }
+ false
+ }
+
+ /// The slider modes: chips (with the out-of-gamut and web-colour alerts under them) beside the
+ /// sliders, over the colour ramp.
+ fn sliders(app: &mut PhotocraftApp, ui: &mut egui::Ui, mode: ColorPanelMode) {
+ let model = Model::of(mode);
+ let background = app.ui.color_panel.background;
+ let rgb = active(app);
+ let v = current_values(ui, model, background, rgb);
+ let dynamic = app.session.prefs().interface.dynamic_color_sliders;
+ let rows_h = model.channels().len() as f32 * (ROW_H + ui.spacing().item_spacing.y);
+ let top_h = rows_h.max(CHIPS_W + 40.0);
+ let mut edited = None;
+ ui.horizontal_top(|ui| {
+ ui.spacing_mut().item_spacing.x = 8.0;
+ let (col, _) = ui.allocate_exact_size(vec2(CHIPS_W, top_h), Sense::hover());
+ field_chips(app, ui, col);
+ alerts(app, ui, col, rgb, model == Model::Web);
+ ui.vertical(|ui| {
+ edited = slider_rows(ui, model, v, background, dynamic);
+ });
+ });
+ if let Some(v) = edited {
+ apply_values(app, ui, model, v);
+ }
+ ui.add_space(6.0);
+ let fill = ui.data(|d| d.get_temp::<f32>(color_field_fill_id()));
+ let gaps = 2.0 * ui.spacing().item_spacing.y + 6.0;
+ let ramp_h = fill.filter(|f| f.is_finite()).map_or(36.0, |f| (f - top_h - gaps).clamp(28.0, 2000.0));
+ ramp(app, ui, ramp_h);
+ }
+
+ /// Photoshop's alerts under the chips: ⚠ when the colour can't print (click: the nearest CMYK
+ /// colour) and, for Web Color sliders, the cube when it isn't a web colour (click: the nearest).
+ fn alerts(app: &mut PhotocraftApp, ui: &mut egui::Ui, col: Rect, rgb: [f32; 3], web: bool) {
+ let t = Tokens::get(ui.ctx());
+ let background = app.ui.color_panel.background;
+ let mut y = col.top() + CHIPS_W + 2.0;
+ let warnings = [
+ (out_of_gamut(rgb), "Out of gamut for printing: click for the nearest printable colour", false),
+ (if web { not_web_safe(rgb) } else { None }, "Not a web colour: click for the nearest web colour", true),
+ ];
+ for (slot, (near, tip, cube)) in warnings.into_iter().enumerate() {
+ let Some(near) = near else { continue };
+ let icon = Rect::from_min_size(pos2(col.left() + 1.0, y), vec2(14.0, 13.0));
+ let chip = Rect::from_min_size(pos2(col.left() + 18.0, y), vec2(13.0, 13.0));
+ if cube {
+ crate::color_picker_ui::web_cube(ui.painter(), icon.shrink(0.5), t.text_dim);
+ } else {
+ crate::color_picker_ui::warning_triangle(ui.painter(), icon, t.text_dim, t.card);
+ }
+ ui.painter().rect_filled(chip, 0.0, rgb32(near));
+ ui.painter().rect_stroke(chip, 0.0, Stroke::new(1.0, t.text_dim), StrokeKind::Outside);
+ let resp = ui.interact(icon.union(chip), ui.id().with(("color-panel-alert", slot)), Sense::click());
+ resp.widget_info(|| egui::WidgetInfo::labeled(egui::WidgetType::Button, ui.is_enabled(), tip));
+ if resp.on_hover_text(tl!(tip)).clicked() {
- set_color(app, background, near);
++ set_color(app, ui.ctx(), background, near);
+ }
+ y += 18.0;
+ }
+ }
+
+ /// The ramp's colour at (x, y) in 0..1 (y down). RGB Spectrum: hue across, white at the top
+ /// through the full colour to black at the bottom; CMYK Spectrum: the same in the CMYK gamut;
+ /// Grayscale Ramp: white to black; Current Colors: the foreground to the background.
+ pub(crate) fn ramp_color(ramp: ColorRamp, web_safe: bool, fg: [f32; 3], bg: [f32; 3], x: f32, y: f32) -> [f32; 3] {
+ let (x, y) = (x.clamp(0.0, 1.0), y.clamp(0.0, 1.0));
+ let spectrum = || {
+ let (s, v) = if y < 0.5 { (y * 2.0, 1.0) } else { (1.0, 1.0 - (y - 0.5) * 2.0) };
+ hsb_to_rgb([x.min(0.9999) * 360.0, s, v])
+ };
+ let c = match ramp {
+ ColorRamp::RgbSpectrum => spectrum(),
+ ColorRamp::CmykSpectrum => convert::cmyk_to_rgb(convert::rgb_to_cmyk(spectrum())),
+ ColorRamp::GrayscaleRamp => [1.0 - x; 3],
+ ColorRamp::CurrentColors => [0, 1, 2].map(|i| fg[i] + (bg[i] - fg[i]) * x),
+ };
+ let c = c.map(|v| if v.is_finite() { v.clamp(0.0, 1.0) } else { 0.0 });
+ if web_safe { c.map(|v| (v * 5.0).round() / 5.0) } else { c }
+ }
+
+ /// Cells across and down the ramp's mesh.
+ const RAMP_NX: usize = 48;
+ const RAMP_NY: usize = 8;
+
+ /// The ramp's colours, cached until the ramp, its inputs or the CMYK space change: the CMYK
+ /// Spectrum takes a CMYK round trip per vertex, too slow to redo every frame.
+ fn ramp_colors(ui: &egui::Ui, ramp: ColorRamp, web_safe: bool, fg: [f32; 3], bg: [f32; 3]) -> Arc<Vec<Color32>> {
+ use std::hash::{Hash, Hasher};
+ let mut h = std::collections::hash_map::DefaultHasher::new();
+ (ramp as u8, web_safe).hash(&mut h);
+ if ramp == ColorRamp::CurrentColors {
+ (hex(fg), hex(bg)).hash(&mut h);
+ }
+ if ramp == ColorRamp::CmykSpectrum {
+ convert::active_cmyk_space().map(|s| Arc::as_ptr(&s) as usize).hash(&mut h);
+ }
+ let sig = h.finish();
+ let key = egui::Id::new("color-panel-ramp-cache");
+ if let Some((s, colors)) = ui.data(|d| d.get_temp::<(u64, Arc<Vec<Color32>>)>(key))
+ && s == sig
+ {
+ return colors;
+ }
+ // Web-safe ramps are flat cells (sampled at their centres), the others shaded vertices.
+ let (nx, ny, half) = if web_safe { (RAMP_NX, RAMP_NY, 0.5) } else { (RAMP_NX + 1, RAMP_NY + 1, 0.0) };
+ let mut colors = Vec::with_capacity(nx * ny);
+ for j in 0..ny {
+ for i in 0..nx {
+ let (x, y) = ((i as f32 + half) / RAMP_NX as f32, (j as f32 + half) / RAMP_NY as f32);
+ colors.push(rgb32(ramp_color(ramp, web_safe, fg, bg, x, y)));
+ }
+ }
+ let colors = Arc::new(colors);
+ ui.data_mut(|d| d.insert_temp(key, (sig, colors.clone())));
+ colors
+ }
+
+ /// The ramp mesh over `r` from [`ramp_colors`].
+ fn ramp_mesh(r: Rect, colors: &[Color32], web_safe: bool) -> Mesh {
+ let mut m = Mesh::default();
+ let at = |i: usize, j: usize| pos2(r.left() + r.width() * i as f32 / RAMP_NX as f32, r.top() + r.height() * j as f32 / RAMP_NY as f32);
+ if web_safe {
+ for j in 0..RAMP_NY {
+ for i in 0..RAMP_NX {
+ let Some(&c) = colors.get(j * RAMP_NX + i) else { continue };
+ let a = m.vertices.len() as u32;
+ for p in [at(i, j), at(i + 1, j), at(i + 1, j + 1), at(i, j + 1)] {
+ m.colored_vertex(p, c);
+ }
+ m.add_triangle(a, a + 1, a + 2);
+ m.add_triangle(a, a + 2, a + 3);
+ }
+ }
+ return m;
+ }
+ for j in 0..=RAMP_NY {
+ for i in 0..=RAMP_NX {
+ m.colored_vertex(at(i, j), colors.get(j * (RAMP_NX + 1) + i).copied().unwrap_or(Color32::BLACK));
+ }
+ }
+ let row = (RAMP_NX + 1) as u32;
+ for j in 0..RAMP_NY as u32 {
+ for i in 0..RAMP_NX as u32 {
+ let a = j * row + i;
+ m.add_triangle(a, a + 1, a + row + 1);
+ m.add_triangle(a, a + row + 1, a + row);
+ }
+ }
+ m
+ }
+
+ /// The colour ramp with the white and black boxes at its right end. A click or drag picks; with
+ /// Alt it picks the colour the panel isn't editing; Shift-click cycles the ramps; a right-click
+ /// opens the ramp menu.
+ fn ramp(app: &mut PhotocraftApp, ui: &mut egui::Ui, height: f32) {
+ let t = Tokens::get(ui.ctx());
+ let w = ui.available_width();
+ let (all, _) = ui.allocate_exact_size(vec2(w, height), Sense::hover());
+ let bar = Rect::from_min_max(all.min, pos2(all.right() - BOXES_W - 2.0, all.bottom()));
+ let boxes = Rect::from_min_max(pos2(all.right() - BOXES_W, all.top()), all.max);
+ let cp = app.ui.color_panel;
+ let ramp_id = ui.id().with("color-panel-ramp");
+ // A pick changes the foreground or background, so a drag keeps the Current Colors ends it began
+ // with; otherwise the ramp would slide under the pointer and a held pick would drift.
+ let ends_id = ramp_id.with("ends");
+ let live = (rgb3(app.session.tools.foreground), rgb3(app.session.tools.background));
+ let (fg, bg) = if ui.ctx().is_being_dragged(ramp_id) {
+ ui.data(|d| d.get_temp::<([f32; 3], [f32; 3])>(ends_id)).unwrap_or(live)
+ } else {
+ ui.data_mut(|d| d.insert_temp(ends_id, live));
+ live
+ };
+ let colors = ramp_colors(ui, cp.ramp, cp.web_safe_ramp, fg, bg);
+ ui.painter().add(ramp_mesh(bar, &colors, cp.web_safe_ramp));
+ ui.painter().rect_stroke(bar, 0.0, Stroke::new(1.0, t.field_border), StrokeKind::Outside);
+ let (white, black) =
+ (Rect::from_min_max(boxes.min, pos2(boxes.right(), boxes.center().y)), Rect::from_min_max(pos2(boxes.left(), boxes.center().y), boxes.max));
+ ui.painter().rect_filled(white, 0.0, Color32::WHITE);
+ ui.painter().rect_filled(black, 0.0, Color32::BLACK);
+ ui.painter().rect_stroke(boxes, 0.0, Stroke::new(1.0, t.field_border), StrokeKind::Outside);
+ let resp = ui.interact(bar, ramp_id, Sense::click_and_drag());
+ resp.widget_info(|| egui::WidgetInfo::labeled(egui::WidgetType::Other, ui.is_enabled(), "Color Ramp"));
+ let mods = ui.input(|i| i.modifiers);
+ let target = cp.background != mods.alt;
+ if resp.clicked() && mods.shift {
+ app.ui.color_panel.ramp = cp.ramp.next();
+ } else if (resp.dragged() || resp.clicked())
+ && !mods.shift
+ && let Some(p) = resp.interact_pointer_pos()
+ && bar.width() > 0.0
+ && bar.height() > 0.0
+ {
+ let (mut x, mut y) = ((p.x - bar.left()) / bar.width(), (p.y - bar.top()) / bar.height());
+ if cp.web_safe_ramp {
+ // Pick the cell drawn under the pointer: web-safe cells show their centre's colour.
+ let centre = |f: f32, n: usize| ((f * n as f32).floor().clamp(0.0, (n - 1) as f32) + 0.5) / n as f32;
+ (x, y) = (centre(x, RAMP_NX), centre(y, RAMP_NY));
+ }
+ let c = ramp_color(cp.ramp, cp.web_safe_ramp, fg, bg, x, y);
- set_color(app, target, c);
++ set_color(app, ui.ctx(), target, c);
+ }
+ resp.context_menu(|ui| {
+ widgets::style_spectrum_popup_menu(ui);
+ ramp_menu(app, ui);
+ });
+ for (r, c, name) in [(white, [1.0; 3], "White"), (black, [0.0; 3], "Black")] {
+ let b = ui.interact(r, ui.id().with(("color-panel-box", name)), Sense::click());
+ b.widget_info(|| egui::WidgetInfo::labeled(egui::WidgetType::Button, ui.is_enabled(), name));
+ if b.clicked() {
- set_color(app, target, c);
++ set_color(app, ui.ctx(), target, c);
+ }
+ }
+ }
+
+ fn rgb3(c: [f32; 4]) -> [f32; 3] {
+ [c[0], c[1], c[2]].map(|v| v.clamp(0.0, 1.0))
+ }
+
+ /// The Color Wheel: HSB sliders over a hue ring (red at the right, running counter-clockwise
+ /// through yellow and green) around a triangle whose tip is the hue, with white and black at its
+ /// other corners; the add-to-swatches button sits under it.
+ fn wheel(app: &mut PhotocraftApp, ui: &mut egui::Ui) {
+ let t = Tokens::get(ui.ctx());
+ let background = app.ui.color_panel.background;
+ let rgb = active(app);
+ let v = current_values(ui, Model::Hsb, background, rgb);
+ let dynamic = app.session.prefs().interface.dynamic_color_sliders;
+ let rows_h = 3.0 * (ROW_H + ui.spacing().item_spacing.y);
+ let top_h = rows_h.max(CHIPS_W);
+ let mut edited = None;
+ ui.horizontal_top(|ui| {
+ ui.spacing_mut().item_spacing.x = 8.0;
+ let (col, _) = ui.allocate_exact_size(vec2(CHIPS_W, top_h), Sense::hover());
+ field_chips(app, ui, col);
+ ui.vertical(|ui| {
+ edited = slider_rows(ui, Model::Hsb, v, background, dynamic);
+ });
+ });
+ let mut v = edited.unwrap_or(v);
+ let mut changed = edited.is_some();
+ ui.add_space(6.0);
+ let fill = ui.data(|d| d.get_temp::<f32>(color_field_fill_id()));
+ let gaps = 2.0 * ui.spacing().item_spacing.y + 6.0;
+ let w = ui.available_width();
+ let side = fill.filter(|f| f.is_finite()).map_or(w.min(220.0), |f| (f - top_h - gaps).min(w)).max(80.0);
+ let (area, resp) = ui.allocate_exact_size(vec2(w, side), Sense::click_and_drag());
+ resp.widget_info(|| egui::WidgetInfo::labeled(egui::WidgetType::Other, ui.is_enabled(), "Color Wheel"));
+ let (center, inner, outer) = wheel_geometry(area);
+ let ring_w = outer - inner;
+ let (h, s, b) = (v[0] / 360.0, v[1] / 100.0, v[2] / 100.0);
+ ui.painter().add(ring_mesh(center, inner, outer));
+ let tri = triangle(center, inner - 1.0, h);
+ ui.painter().add(triangle_mesh(tri, h));
+ // Which part a drag began on: the ring sets the hue, the triangle saturation and brightness.
+ // The ring or the triangle, from where the press began (kept for frames without a press
+ // origin), so a drag that leaves the ring keeps turning the hue.
+ let drag_key = ui.id().with("color-wheel-drag");
+ if (resp.dragged() || resp.clicked())
+ && let Some(p) = resp.interact_pointer_pos()
+ {
+ // A click is where it landed; a drag goes by where its press began.
+ let origin = if resp.clicked() { Some(p) } else { ui.input(|i| i.pointer.press_origin()) };
+ // `None`: the press began beside the wheel (the area spans the panel), which picks nothing.
+ let part = match origin {
+ Some(origin) => {
+ let d = origin.distance(center);
+ // The hue knob reaches past the ring's edge on a small wheel.
+ let part = (d <= outer + 7.0).then_some(d >= inner - 2.0);
+ ui.data_mut(|data| data.insert_temp(drag_key, part));
+ part
+ }
+ None => ui.data(|d| d.get_temp::<Option<bool>>(drag_key)).unwrap_or(Some(false)),
+ };
+ match part {
+ Some(true) => {
+ let a = (center.y - p.y).atan2(p.x - center.x).rem_euclid(TAU);
+ v[0] = (a / TAU * 360.0).round().rem_euclid(360.0);
+ changed = true;
+ }
+ Some(false) => {
+ if let Some((s2, b2)) = triangle_sv(tri, p) {
+ v[1] = (s2 * 100.0).round();
+ v[2] = (b2 * 100.0).round();
+ }
+ changed = true;
+ }
+ None => {}
+ }
+ }
+ // Knobs: on the ring at the hue, in the triangle at the saturation and brightness.
+ let a = h * TAU;
+ let ring_knob = center + vec2(a.cos(), -a.sin()) * (inner + ring_w / 2.0);
+ let tri_knob = triangle_point(tri, s, b);
+ for k in [ring_knob, tri_knob] {
+ ui.painter().circle_stroke(k, 5.0, Stroke::new(1.5, Color32::WHITE));
+ ui.painter().circle_stroke(k, 6.5, Stroke::new(1.0, Color32::from_black_alpha(160)));
+ }
+ // Photoshop's add-to-swatches button under the wheel.
+ let add = Rect::from_min_size(pos2(area.right() - 16.0, area.bottom() - 16.0), vec2(14.0, 14.0));
+ ui.painter().rect_stroke(add, 1.0, Stroke::new(1.0, t.text_dim), StrokeKind::Inside);
+ ui.painter().line_segment([pos2(add.center().x, add.top() + 3.5), pos2(add.center().x, add.bottom() - 3.5)], Stroke::new(1.0, t.text_dim));
+ ui.painter().line_segment([pos2(add.left() + 3.5, add.center().y), pos2(add.right() - 3.5, add.center().y)], Stroke::new(1.0, t.text_dim));
+ let add_resp = ui.interact(add, ui.id().with("color-wheel-add"), Sense::click());
+ add_resp.widget_info(|| egui::WidgetInfo::labeled(egui::WidgetType::Button, ui.is_enabled(), "Add to Swatches"));
+ if add_resp.on_hover_text(tl!("Create new swatch")).clicked()
+ && let Err(e) = app.run("swatches.add", json!({"color": hex(rgb)}))
+ {
+ app.ui.status = e;
+ app.ui.status_error = true;
+ }
+ if changed {
+ apply_values(app, ui, Model::Hsb, v);
+ }
+ }
+
+ /// The wheel in `area`: its centre and the hue ring's inner and outer radii.
+ pub(crate) fn wheel_geometry(area: Rect) -> (Pos2, f32, f32) {
+ let outer = (area.width().min(area.height()) / 2.0 - 2.0).max(1.0);
+ let ring_w = (outer * 0.09).clamp(6.0, 22.0).min(outer * 0.5);
+ (area.center(), outer - ring_w, outer)
+ }
+
+ /// The wheel's hue ring between radii `inner` and `outer`.
+ fn ring_mesh(center: Pos2, inner: f32, outer: f32) -> Mesh {
+ let mut m = Mesh::default();
+ let steps = 96u32;
+ for k in 0..=steps {
+ let f = k as f32 / steps as f32;
+ let a = f * TAU;
+ let c = rgb32(hsb_to_rgb([f * 360.0, 1.0, 1.0]));
+ let dir = vec2(a.cos(), -a.sin());
+ m.colored_vertex(center + dir * inner, c);
+ m.colored_vertex(center + dir * outer, c);
+ }
+ for k in 0..steps {
+ let a = k * 2;
+ m.add_triangle(a, a + 1, a + 3);
+ m.add_triangle(a, a + 3, a + 2);
+ }
+ m
+ }
+
+ /// The triangle's corners for hue `h` (0..1): the pure hue at the hue's angle, white 120° on and
+ /// black 240° on, inside radius `r`.
+ fn triangle(center: Pos2, r: f32, h: f32) -> [Pos2; 3] {
+ let at = |turns: f32| {
+ let a = (h + turns) * TAU;
+ center + vec2(a.cos(), -a.sin()) * r
+ };
+ [at(0.0), at(1.0 / 3.0), at(2.0 / 3.0)]
+ }
+
+ /// The point of saturation `s` and brightness `b` in the triangle: black + b·(white − black) +
+ /// b·s·(hue − white).
+ fn triangle_point([hue, white, black]: [Pos2; 3], s: f32, b: f32) -> Pos2 {
+ black + (white - black) * b + (hue - white) * (b * s)
+ }
+
+ /// Saturation and brightness at `p`, clamped into the triangle; `None` for a degenerate one or a
+ /// non-finite `p`.
+ pub(crate) fn triangle_sv([hue, white, black]: [Pos2; 3], p: Pos2) -> Option<(f32, f32)> {
+ let (a, c, d) = (white - black, hue - white, p - black);
+ let det = a.x * c.y - a.y * c.x;
+ if det.abs() < 1e-6 {
+ return None;
+ }
+ let (b, bs) = ((d.x * c.y - d.y * c.x) / det, (a.x * d.y - a.y * d.x) / det);
+ // A NaN `b` would panic as a clamp bound.
+ if !b.is_finite() || !bs.is_finite() {
+ return None;
+ }
+ let b = b.clamp(0.0, 1.0);
+ let bs = bs.clamp(0.0, b);
+ Some((if b > 0.0 { bs / b } else { 0.0 }, b))
+ }
+
+ /// The triangle shaded through saturation and brightness at hue `h`.
+ fn triangle_mesh(tri: [Pos2; 3], h: f32) -> Mesh {
+ let n = 16usize;
+ let mut m = Mesh::default();
+ for j in 0..=n {
+ for i in 0..=n {
+ let (s, b) = (i as f32 / n as f32, j as f32 / n as f32);
+ m.colored_vertex(triangle_point(tri, s, b), rgb32(hsb_to_rgb([h * 360.0, s, b])));
+ }
+ }
+ let row = (n + 1) as u32;
+ for j in 0..n as u32 {
+ for i in 0..n as u32 {
+ let a = j * row + i;
+ m.add_triangle(a, a + 1, a + row + 1);
+ m.add_triangle(a, a + row + 1, a + row);
+ }
+ }
+ m
+ }
+
+ /// `color="#rrggbb"`, what Copy Color as HTML puts on the clipboard.
+ pub(crate) fn html_color(rgb: [f32; 3]) -> String {
+ format!("color=\"{}\"", hex(rgb))
+ }
+
+ /// `rrggbb`, what Copy Color's Hex Code puts on the clipboard.
+ pub(crate) fn hex_code(rgb: [f32; 3]) -> String {
+ hex(rgb).trim_start_matches('#').to_string()
+ }
+
+ /// A panel menu row with Photoshop's check mark column.
+ fn check_item(ui: &mut egui::Ui, on: bool, label: &str) -> bool {
+ ui.button(format!("{}{}", if on { "✔ " } else { " " }, tl!(label))).clicked()
+ }
+
+ /// The ramp choices and Make Ramp Web Safe (the panel menu's last section and the ramp's
+ /// right-click menu).
+ fn ramp_menu(app: &mut PhotocraftApp, ui: &mut egui::Ui) {
+ for r in ColorRamp::ALL {
+ if check_item(ui, app.ui.color_panel.ramp == r, r.label()) {
+ app.ui.color_panel.ramp = r;
+ ui.close();
+ }
+ }
+ ui.separator();
+ if check_item(ui, app.ui.color_panel.web_safe_ramp, "Make Ramp Web Safe") {
+ app.ui.color_panel.web_safe_ramp = !app.ui.color_panel.web_safe_ramp;
+ ui.close();
+ }
+ }
+
+ /// The Color panel's panel menu, Photoshop's: the modes, the copy commands, the ramps.
+ pub(crate) fn panel_menu(app: &mut PhotocraftApp, ui: &mut egui::Ui) {
+ // One section, as Photoshop's: no separator between Color Wheel and Grayscale Slider.
+ for mode in ColorPanelMode::ALL {
+ if check_item(ui, app.ui.color_panel.mode == mode, mode.label()) {
+ app.ui.color_panel.mode = mode;
+ ui.close();
+ }
+ }
+ ui.separator();
+ let rgb = active(app);
+ if ui.button(tl!("Copy Color as HTML")).clicked() {
+ ui.ctx().copy_text(html_color(rgb));
+ ui.close();
+ }
+ if ui.button(tl!("Copy Color's Hex Code")).clicked() {
+ ui.ctx().copy_text(hex_code(rgb));
+ ui.close();
+ }
+ ui.separator();
+ ramp_menu(app, ui);
+ }
diff --cc crates/ui-egui/src/i18n/cs.tsv
index 53991f62c,fdf788c06..1f6456faf
--- a/crates/ui-egui/src/i18n/cs.tsv
+++ b/crates/ui-egui/src/i18n/cs.tsv
@@@ -4108,29 -3911,20 +4108,46 @@@ cameraRaw Dehaze Odstranění opar
# Graphics Adapter preference (#1885)
GPU adapter Adaptér GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Importovat styly…
+ Export Selected Styles… Exportovat vybrané styly…
+ Export Styles… Exportovat styly…
+ {file} is not a style library (.asl) {file} není knihovna stylů (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} Importován {n} styl ze souboru {file}|Importovány {n} styly ze souboru {file}|Importováno {n} stylů ze souboru {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} Exportován {n} styl do souboru {file}|Exportovány {n} styly do souboru {file}|Exportováno {n} stylů do souboru {file}
+# 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 akce
+ Pro Medium Gray Pro (středně šedý)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro (světle šedý)
+ Pro Light Pro (světlý)
+ Resize Windows to Fit Přizpůsobit velikost oken
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Automatický směr odstavce
+ Left-to-right paragraph direction Směr odstavce zleva doprava
+ Right-to-left paragraph direction Směr odstavce zprava doleva
+ Not rendered: this adjustment ({key}) is kept as imported. Nevykresleno: tato úprava ({key}) je ponechána tak, jak byla importována.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Krychle odstínu
+ Brightness Cube Krychle jasu
+ Color Wheel Barevné kolo
+ Grayscale Slider Jezdec stupňů šedi
+ RGB Sliders Jezdce RGB
+ HSB Sliders Jezdce HSB
+ CMYK Sliders Jezdce CMYK
+ Lab Sliders Jezdce Lab
+ Web Color Sliders Jezdce webových barev
+ Copy Color as HTML Kopírovat barvu jako HTML
+ Copy Color's Hex Code Kopírovat šestnáctkový kód barvy
+ RGB Spectrum Spektrum RGB
+ CMYK Spectrum Spektrum CMYK
+ Grayscale Ramp Přechod stupňů šedi
+ Current Colors Aktuální barvy
+ Make Ramp Web Safe Omezit pruh na webové barvy
diff --cc crates/ui-egui/src/i18n/de.tsv
index 9e0a1e534,36ebd46b5..b67a4d8ad
--- a/crates/ui-egui/src/i18n/de.tsv
+++ b/crates/ui-egui/src/i18n/de.tsv
@@@ -3374,29 -3309,20 +3374,46 @@@ curves Smooth Glätte
# Graphics Adapter preference (#1885)
GPU adapter GPU-Adapter
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Stile importieren…
+ Export Selected Styles… Ausgewählte Stile exportieren…
+ Export Styles… Stile exportieren…
+ {file} is not a style library (.asl) {file} ist keine Stilbibliothek (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} {n} Stil aus {file} importiert|{n} Stile aus {file} importiert
+@plural Exported {n} style to {file}|Exported {n} styles to {file} {n} Stil nach {file} exportiert|{n} Stile nach {file} exportiert
+# 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 ab
+ Pro Medium Gray Pro (Mittelgrau)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro (Hellgrau)
+ Pro Light Pro (Hell)
+ Resize Windows to Fit Fenstergröße anpassen
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Automatische Absatzrichtung
+ Left-to-right paragraph direction Absatzrichtung von links nach rechts
+ Right-to-left paragraph direction Absatzrichtung von rechts nach links
+ Not rendered: this adjustment ({key}) is kept as imported. Nicht dargestellt: Diese Einstellung ({key}) wird wie importiert beibehalten.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Farbtonwürfel
+ Brightness Cube Helligkeitswürfel
+ Color Wheel Farbkreis
+ Grayscale Slider Graustufen-Regler
+ RGB Sliders RGB-Regler
+ HSB Sliders HSB-Regler
+ CMYK Sliders CMYK-Regler
+ Lab Sliders Lab-Regler
+ Web Color Sliders Webfarben-Regler
+ Copy Color as HTML Farbe als HTML kopieren
+ Copy Color's Hex Code Hex-Code der Farbe kopieren
+ RGB Spectrum RGB-Spektrum
+ CMYK Spectrum CMYK-Spektrum
+ Grayscale Ramp Graustufenbalken
+ Current Colors Aktuelle Farben
+ Make Ramp Web Safe Farbbalken auf Webfarben beschränken
diff --cc crates/ui-egui/src/i18n/el.tsv
index 67bc76539,791cb143e..ac3ad6102
--- a/crates/ui-egui/src/i18n/el.tsv
+++ b/crates/ui-egui/src/i18n/el.tsv
@@@ -4063,29 -4000,19 +4063,45 @@@ curves Smooth Εξομάλυνσ�
# Graphics Adapter preference (#1885)
GPU adapter Προσαρμογέας GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Εισαγωγή στιλ…
+ Export Selected Styles… Εξαγωγή επιλεγμένων στιλ…
+ Export Styles… Εξαγωγή στιλ…
+ {file} is not a style library (.asl) Το {file} δεν είναι βιβλιοθήκη στιλ (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} Εισήχθη {n} στιλ από το {file}|Εισήχθησαν {n} στιλ από το {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} Εξήχθη {n} στιλ στο {file}|Εξήχθησαν {n} στιλ στο {file}
+# Actions: a step dialog holds a suspended recording (#7365)
+ Confirm or cancel the open action step dialog first Επιβεβαιώστε ή ακυρώστε πρώτα το ανοιχτό παράθυρο βήματος της ενέργειας
+ Pro Medium Gray Pro μεσαίου γκρι
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro ανοιχτού γκρι
+ Pro Light Φωτεινό Pro
+ Resize Windows to Fit Προσαρμογή μεγέθους παραθύρων
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Αυτόματη κατεύθυνση παραγράφου
+ Left-to-right paragraph direction Κατεύθυνση παραγράφου από αριστερά προς τα δεξιά
+ Right-to-left paragraph direction Κατεύθυνση παραγράφου από δεξιά προς τα αριστερά
+ Not rendered: this adjustment ({key}) is kept as imported. Δεν αποδίδεται: αυτή η προσαρμογή ({key}) διατηρείται όπως εισήχθη.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Κύβος απόχρωσης
+ Brightness Cube Κύβος φωτεινότητας
+ Color Wheel Χρωματικός τροχός
+ RGB Sliders Ρυθμιστικά RGB
+ HSB Sliders Ρυθμιστικά HSB
+ CMYK Sliders Ρυθμιστικά CMYK
+ Lab Sliders Ρυθμιστικά Lab
+ Web Color Sliders Ρυθμιστικά χρωμάτων ιστού
+ Copy Color as HTML Αντιγραφή χρώματος ως HTML
+ Copy Color's Hex Code Αντιγραφή δεκαεξαδικού κωδικού χρώματος
+ RGB Spectrum Φάσμα RGB
+ CMYK Spectrum Φάσμα CMYK
+ Grayscale Ramp Διαβάθμιση του γκρι
+ Current Colors Τρέχοντα χρώματα
+ Make Ramp Web Safe Μόνο χρώματα ιστού στη διαβάθμιση
diff --cc crates/ui-egui/src/i18n/es.tsv
index 469dec92a,3f1e900ac..b9bc0be08
--- a/crates/ui-egui/src/i18n/es.tsv
+++ b/crates/ui-egui/src/i18n/es.tsv
@@@ -4325,29 -4262,19 +4325,45 @@@ navigator Zoom Zoo
# Graphics Adapter preference (#1885)
GPU adapter Adaptador de GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Importar estilos…
+ Export Selected Styles… Exportar estilos seleccionados…
+ Export Styles… Exportar estilos…
+ {file} is not a style library (.asl) {file} no es una biblioteca de estilos (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} Se importó {n} estilo de {file}|Se importaron {n} estilos de {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} Se exportó {n} estilo a {file}|Se exportaron {n} estilos a {file}
+# 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ón
+ Pro Medium Gray Pro (gris medio)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro (gris claro)
+ Pro Light Pro (claro)
+ Resize Windows to Fit Redimensionar ventanas para ajustar
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Dirección de párrafo automática
+ Left-to-right paragraph direction Dirección de párrafo de izquierda a derecha
+ Right-to-left paragraph direction Dirección de párrafo de derecha a izquierda
+ Not rendered: this adjustment ({key}) is kept as imported. No se renderiza: este ajuste ({key}) se conserva tal como se importó.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Cubo de tono
+ Brightness Cube Cubo de brillo
+ Color Wheel Rueda de color
+ RGB Sliders Reguladores RGB
+ HSB Sliders Reguladores HSB
+ CMYK Sliders Reguladores CMYK
+ Lab Sliders Reguladores Lab
+ Web Color Sliders Reguladores de colores web
+ Copy Color as HTML Copiar color como HTML
+ Copy Color's Hex Code Copiar código hexadecimal del color
+ RGB Spectrum Espectro RGB
+ CMYK Spectrum Espectro CMYK
+ Grayscale Ramp Rampa de escala de grises
+ Current Colors Colores actuales
+ Make Ramp Web Safe Hacer rampa segura para web
diff --cc crates/ui-egui/src/i18n/fr.tsv
index 132bdddad,6891c8463..51537a034
--- a/crates/ui-egui/src/i18n/fr.tsv
+++ b/crates/ui-egui/src/i18n/fr.tsv
@@@ -3374,1060 -3311,19 +3374,1076 @@@ curves Smooth Lisse
# Graphics Adapter preference (#1885)
GPU adapter Adaptateur GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Importer des styles…
+ Export Selected Styles… Exporter les styles sélectionnés…
+ Export Styles… Exporter les styles…
+ {file} is not a style library (.asl) {file} n’est pas une bibliothèque de styles (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} {n} style importé depuis {file}|{n} styles importés depuis {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} {n} style exporté vers {file}|{n} styles exportés vers {file}
+# 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’action
+ Pro Medium Gray Pro gris moyen
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro gris clair
+ Pro Light Pro clair
+ Resize Windows to Fit Redimensionner les fenêtres
+
+ EXR EXR
+ (none) (aucun)
+ 32-bit Preview Options Options d'aperçu 32 bits
+ AI Integrations Intégrations d'IA
+ About {app} À propos de {app}
+ Accented Edges Contours accentués
+ Action playback failed: {error} Échec de la lecture de l'action : {error}
+ Actual Pixels Pixels réels
+ Add Mask Ajouter un masque
+ Add Noise Ajout de bruit
+ Added swatch {name} Nuance {name} ajoutée
+ Adjust Interval For Loops Ajuster l'intervalle pour les boucles
+ Adjustment Layers Calques d'ajustement
+ Adjustment Properties Propriétés de l'ajustement
+ Adobe-rgb-compat Adobe RGB (compatible)
+ Adwaita (Dark) Adwaita (sombre)
+ Adwaita (Light) Adwaita (clair)
+ After Après
+ All shortcuts reset to Photoshop defaults. Tous les raccourcis ont été réinitialisés aux valeurs par défaut de Photoshop.
+ Ambience Ambiance
+ Ambient Ambiante
+ Amplitude Max Amplitude max.
+ Amplitude Min Amplitude min.
+ Angled Strokes Traits obliques
+ Anisotropic Anisotrope
+ Apply Data Set Appliquer un jeu de données
+ Apply Image Appliquer une image
+ Apply Mask Appliquer le masque
+ Apply to All Appliquer à tout
+ Apply {option}: {state} Appliquer {option} : {state}
+ Arbitrary Angle personnalisé
+ Arc Lower Arc inférieur
+ Arc Upper Arc supérieur
+ Are you sure you want to quit? Voulez-vous vraiment quitter ?
+ Are you sure? Êtes-vous sûr ?
+ Area Aire
+ Around Center Autour du centre
+ Arrangement Disposition
+ Arrows Flèches
+ Artboard from Group Plan de travail d'après un groupe
+ Artboard from Layers Plan de travail d'après des calques
+ Artboards Plans de travail
+ Artboards to Files Plans de travail en fichiers
+ Artboards to PDF Plans de travail en PDF
+ Artistic Artistique
+ Ask On Mismatch Demander en cas de non-concordance
+ Ask On Missing Demander en cas d'absence
+ Ask On Paste Demander au collage
+ Assign Profile Attribuer un profil
+ At À
+ Auto Scale Mise à l'échelle auto
+ Auto-Align Layers Alignement automatique des calques
+ Auto-Blend Layers Fusion automatique des calques
+ Autosave failed: {error} Échec de l'enregistrement automatique : {error}
+ Back Retour
+ Backend: {backend} ({type}) Moteur : {backend} ({type})
+ Background Level Niveau d'arrière-plan
+ Bamboo Bambou
+ Bas Relief Bas-relief
+ Base Tree Type Type d'arbre de base
+ Basic Latin Latin de base
+ Batch Traitement par lots
+ Before Avant
+ Berries Baies
+ Best Optimale
+ Black Clip Écrêtage des noirs
+ Black Intensity Intensité du noir
+ Blade Curvature Courbure des lames
+ Blast Rafale
+ Bleach Bypass Sans blanchiment
+ Blend Clipped Layers as Group Fusionner les calques découpés en tant que groupe
+ Blend Interior Effects as Group Fusionner les effets internes en tant que groupe
+ Blend Text Gamma Gamma de fusion du texte
+ Blending Mode Mode de fusion
+ Bloat Dilatation
+ Blocks Blocs
+ Blue Yellow Bleu/Jaune
+ Border Bordure
+ Border Thickness Épaisseur de la bordure
+ Box Blur Flou par boîte
+ Bpc Compensation du point noir
+ Branches Color Couleur des branches
+ Branches Height Hauteur des branches
+ Branches Thickness Épaisseur des branches
+ Breeze Dark Breeze sombre
+ Breeze Light Breeze clair
+ Brick Brique
+ Bristle Detail Détail des poils
+ Browse Parcourir
+ Brush Detail Détail du pinceau
+ Brush Strokes Traits de pinceau
+ Brush Type Type de pinceau
+ Burlap Toile de jute
+ Calculations Calculs
+ Camera Raw Camera Raw
+ Camera Raw Filter Filtre Camera Raw
+ Cancel transform Annuler la transformation
+ Candle Light Bougie
+ Canvas Size Taille du canevas
+ Cell Size Taille des cellules
+ Center X Centre X
+ Center Y Centre Y
+ Chalk Area Zone de craie
+ Changes Saved Modifications enregistrées
+ Changes have not been saved. Les modifications n'ont pas été enregistrées.
+ Change… Modifier…
+ Channel1 Canal 1
+ Channel2 Canal 2
+ Channel3 Canal 3
+ Channel4 Canal 4
+ Charcoal Area Zone de fusain
+ Charcoal Thickness Épaisseur du fusain
+ Check for Updates Rechercher des mises à jour
+ Choose Folder Choisir un dossier
+ Circle Cercle
+ Circularity Circularité
+ Cleanliness Propreté
+ Clear Amount Zone sans lueur
+ Clear Selection Effacer la sélection
+ Clipping Mask Masque de découpe
+ Clipping Path… Tracé de détourage…
+ Clone Cloner
+ Clone source set at {x}, {y} Source de clonage définie en {x}, {y}
+ Close Window Fermer la fenêtre
+ Clumped Aggloméré
+ Coarse Dots Points grossiers
+ Coated-cmyk CMJN papier couché
+ Color Decontaminate Décontaminer les couleurs
+ Color Halftone Trame de demi-teintes couleur
+ Color Indicates Masked Areas La couleur indique les zones masquées
+ Color Indicates Selected Areas La couleur indique les zones sélectionnées
+ Color Lookup Tables Tables de correspondance des couleurs
+ Color Picker Sélecteur de couleurs
+ Color Picker (Background Color) Sélecteur de couleurs (Couleur d'arrière-plan)
+ Color Picker (Custom Canvas Color) Sélecteur de couleurs (Couleur personnalisée du canevas)
+ Color Picker (Foreground Color) Sélecteur de couleurs (Couleur de premier plan)
+ Color Settings Paramètres de couleur
+ Color Swatches Nuancier
+ Color Table Table des couleurs
+ Color management: {error} Gestion des couleurs : {error}
+ Colored Pencil Crayon de couleur
+ Commit transform Valider la transformation
+ Compare Comparer
+ Conditional Mode Change Changement de mode conditionnel
+ Confirm Confirmer
+ Constraints Contraintes
+ Continue Continuer
+ Contrasty Contrasté
+ Convert Convertir
+ Convert to Alpha Channel Convertir en canal alpha
+ Convert to Linked Convertir en objet lié
+ Convert to Profile Convertir en profil
+ Cool Froid
+ Cooling L B B Refroidissement LBB
+ Cooling80 Refroidissement 80
+ Cooling82 Refroidissement 82
+ Copy Complete Stroke Copier le contour complet
+ Copy Fill Copier le remplissage
+ Correct C A Corriger l'aberration chromatique
+ Correct Distortion Corriger la distorsion
+ Correct Vignette Corriger le vignettage
+ Could not rename the action: {error} Impossible de renommer l'action : {error}
+ Couldn't open {name}: {error} Impossible d'ouvrir {name} : {error}
+ Couldn't save preferences: {error}. Retrying… Impossible d'enregistrer les préférences : {error}. Nouvelle tentative…
+ Crack Brightness Luminosité des fissures
+ Crack Depth Profondeur des fissures
+ Crack Spacing Espacement des fissures
+ Craquelure Craquelure
+ Create By Créer par
+ Create Vector Mask Créer un masque vectoriel
+ Create… Créer…
+ Cross Process Traitement croisé
+ Crosshatch Hachures croisées
+ Crystallize Cristallisation
+ Currency Devise
+ Curve Darks Courbe : tons sombres
+ Curve Highlights Courbe : hautes lumières
+ Curve Lights Courbe : tons clairs
+ Curve Shadows Courbe : ombres
+ Curve Splits Courbe : points de séparation
+ Custom Branch Color Couleur de branche personnalisée
+ Custom Pixel Aspect Ratio Format des pixels personnalisé
+ Cutout Découpage
+ Cyrillic Cyrillique
+ Daisies Pâquerettes
+ Dark Gray Gris foncé
+ Dark Intensity Intensité des tons foncés
+ Dark Rough Foncé rugueux
+ Dark Strokes Traits sombres
+ Darken Only Assombrir seulement
+ Darkness Obscurité
+ Data Données
+ Data Set: {name} ({index}/{total}) Jeu de données : {name} ({index}/{total})
+ Data Sets as Files Jeux de données en fichiers
+ Date Date
+ Date and Time Date et heure
+ Day For Night Nuit américaine
+ De-Interlace Désentrelacer
+ Deep Profond
+ Deep Blue Bleu profond
+ Deep Emerald Émeraude profond
+ Deep Red Rouge profond
+ Deep Yellow Jaune profond
+ Default Foreground and Background Colors Couleurs par défaut du premier plan et de l'arrière-plan
+ Default Leaves Feuilles par défaut
+ Default Photoshop Size Taille Photoshop par défaut
+ Defaults Valeurs par défaut
+ Define Brush Preset Définir un préréglage de pinceau
+ Define Custom Shape Définir une forme personnalisée
+ Define Pattern Définir un motif
+ Definition Définition
+ Defringe Supprimer les franges
+ Degrees Degrés
+ Delete Channel Supprimer le canal
+ Delete Mask Supprimer le masque
+ Delete… Supprimer…
+ Depth Map Carte de profondeur
+ Depth Mode Mode de profondeur
+ Diameter Diamètre
+ Diffuse Diffuser
+ Diffuse Glow Lueur diffuse
+ Direction Balance Équilibre des directions
+ Disable Désactiver
+ Disable Mask Désactiver le masque
+ Disable Symmetry Path Désactiver le tracé de symétrie
+ Disabled Désactivé
+ Discard Changes Ignorer les modifications
+ Displace Déplacement
+ Display Affichage
+ Display profile not used Profil d'affichage non utilisé
+ Display profiles: {reason} Profils d'affichage : {reason}
+ Display-p3 Display P3
+ Distortion Distorsion
+ Distribution Distribution
+ Do you want to save you made to “{name}” before quitting? Voulez-vous enregistrer les modifications apportées à « {name} » avant de quitter ?
+ Documentation Documentation
+ Documents Documents
+ Dot Point
+ Double Line Double ligne
+ Draft Brouillon
+ Drag a crop box · drag inside to move · edges resize ({ratio} ratio, {centre} centre) · Space moves while drawing · {commit} commits · Esc cancels Tracez un cadre de recadrage · faites glisser à l'intérieur pour le déplacer · les bords le redimensionnent ({ratio} proportions, {centre} centre) · Espace le déplace pendant le tracé · {commit} valide · Échap annule
+ Drag: draw freehand · Release on the start point: close Glisser : tracer à main levée · Relâcher sur le point de départ : fermer
+ Driver: {driver} Pilote : {driver}
+ Dry Brush Pinceau sec
+ Duplicate Channel Dupliquer le canal
+ Duplicate Layers Dupliquer les calques
+ Duplication Duplication
+ Dust & Scratches Poussière et rayures
+ Edge Brightness Luminosité du contour
+ Edge Extension Extension du contour
+ Edge Fidelity Fidélité des contours
+ Edge Intensity Intensité du contour
+ Edge Only Contours seulement
+ Edge Simplicity Simplicité des contours
+ Edge Thickness Épaisseur du contour
+ Edge Width Largeur du contour
+ Edit Toolbar Modifier la barre d'outils
+ Edit… Modifier…
+ Elevation Élévation
+ Eliminate Éliminer
+ Enable Activer
+ Enable Mask Activer le masque
+ End X Fin X
+ End Y Fin Y
+ Enlarged Agrandi
+ Even Fields Trames paires
+ Exit Quick Mask Quitter le mode masque rapide
+ Export As Exporter sous
+ Export Contents Exporter le contenu
+ Export Image Exporter l'image
+ Export Options Options d'exportation
+ Export Preferences Préférences d'exportation
+ Export Settings Paramètres d'exportation
+ Export to Exporter vers
+ Export/Import Presets Exporter/importer des préréglages
+ Exported contents to {path} Contenu exporté vers {path}
+ Exported presets to {path} Préréglages exportés vers {path}
+ Exported {path} {path} exporté
+ Exported {path} ({size}) {path} exporté ({size})
+ Exporting… Exportation…
+ Extrude Extruder
+ Faded Film Film délavé
+ Failed Échec
+ Failed to open file Échec de l'ouverture du fichier
+ Failed to save file Échec de l'enregistrement du fichier
+ Fallback: {reason} Repli : {reason}
+ Feather Radius Rayon d'adoucissement
+ Fiber Length Longueur des fibres
+ Fibers Fibres
+ Field Blur Flou de champ
+ File Format Format de fichier
+ File Info Informations sur le fichier
+ File Name Nom du fichier
+ File Size Taille du fichier
+ File not found Fichier introuvable
+ Filename Nom de fichier
+ Fill Color Couleur de remplissage
+ Fill Path… Remplir le tracé…
+ Film Grain Grain de film
+ Filter Gallery Galerie de filtres
+ Find Rechercher
+ Find and Replace Text Rechercher et remplacer du texte
+ Fine Fine
+ Fine Dots Points fins
+ Finish Terminer
+ Fit Image Adapter l'image
+ Fit to Window Adapter à la fenêtre
+ Flame Flamme
+ Flame Bottom Alignment Alignement du bas de la flamme
+ Flame Lines Lignes de flamme
+ Flame Shape Forme de la flamme
+ Flame Style Style de la flamme
+ Flame Type Type de flamme
+ Flat Plat
+ Flat Shading Ombrage plat
+ Flower Color Couleur des fleurs
+ Focal Distance Distance de mise au point
+ Focus Mise au point
+ Focus Area Zone de mise au point
+ Foreground Level Niveau de premier plan
+ Forward Warp Déformation vers l'avant
+ Frame Cadre
+ Free Transform Path Transformation libre du tracé
+ Freeze Lasso Lasso de figeage
+ Freeze Mask Masque de figeage
+ Fresco Fresque
+ From Left À partir de la gauche
+ From Right À partir de la droite
+ Frosted Dépoli
+ Full Screen Plein écran
+ Fullscreen Plein écran
+ Fuzziness Tolérance
+ GPU backend preference: {backend} Préférence de moteur GPU : {backend}
+ GPU device was lost; using the CPU renderer. Le périphérique GPU a été perdu ; utilisation du rendu CPU.
+ GPU error; using the CPU renderer. Erreur GPU ; utilisation du rendu CPU.
+ GPU retry scheduled Nouvelle tentative GPU planifiée
+ Gamma Gamma
+ Gaussian Blur Flou gaussien
+ General Blending Fusion générale
+ Generators Générateurs
+ Generic Générique
+ Glass Verre
+ Global Light Lumière globale
+ Gloss Brillant
+ Glow Amount Quantité de lueur
+ Glow Brightness Luminosité de la lueur
+ Glow Size Taille de la lueur
+ Glowing Edges Contours lumineux
+ Good Bonne
+ Grade Balance Balance de l'étalonnage
+ Grade Blending Fusion de l'étalonnage
+ Grade Global Étalonnage global
+ Grade Highlights Étalonnage des hautes lumières
+ Grade Midtones Étalonnage des tons moyens
+ Grade Shadows Étalonnage des ombres
+ Grain Amount Quantité de grain
+ Grain Roughness Rugosité du grain
+ Grain Size Taille du grain
+ Grain Type Type de grain
+ Graininess Grain
+ Grainy Dots Points granuleux
+ Graphics adapter Carte graphique
+ Graphics adapter: {adapter} Carte graphique : {adapter}
+ Gray Value (Maximum) Valeur de gris (maximum)
+ Gray Value (Mean) Valeur de gris (moyenne)
+ Gray Value (Median) Valeur de gris (médiane)
+ Gray Value (Minimum) Valeur de gris (minimum)
+ Gray-gamma-2.2 Gris gamma 2,2
+ Greek Grec
+ Grid view Affichage en grille
+ Group from Layers Groupe d'après des calques
+ Groups Groupes
+ Grout Width Largeur du joint
+ Guide Layout… Disposition des repères…
+ HDR Toning Tonalité HDR
+ Hearts Cœurs
+ Heptagon Heptagone
+ Hexagon Hexagone
+ Hidden Masqué
+ Hide Grid Masquer la grille
+ Hide Others Masquer les autres
+ Hide {app} Masquer {app}
+ High Pass Passe-haut
+ Highlight Hautes lumières
+ Highlight Amount Quantité des hautes lumières
+ Highlight Area Zone des hautes lumières
+ Highlight Radius Rayon des hautes lumières
+ Highlight Strength Intensité des hautes lumières
+ Highlight Tone Amplitude tonale des hautes lumières
+ Horizontal Only Horizontal seulement
+ Hotspot Point chaud
+ Hsb TSL
+ Hsl TSI
+ Hsl Hue Teinte TSI
+ Hsl Lum Luminance TSI
+ Hsl Sat Saturation TSI
+ Image Balance Équilibre de l'image
+ Image Processor Processeur d'images
+ Image compositor: {processor} Compositeur d'images : {processor}
+ Import Brushes Importer des pinceaux
+ Import Image Importer une image
+ Import Options Options d'importation
+ Import Photoshop brushes (.abr) Importer des pinceaux Photoshop (.abr)
+ Import Settings Paramètres d'importation
+ Importing {what} from {file}… Importation de {what} depuis {file}…
+ Importing… Importation…
+ In Black Noir d'entrée
+ In White Blanc d'entrée
+ Infinite Infini
+ Information Informations
+ Ink Outlines Contours à l'encre
+ Input Entrée
+ Input Levels Niveaux d'entrée
+ Input Mode Mode d'entrée
+ Install Plug-in Installer une extension
+ Integrated Density Densité intégrée
+ Intensity Intensité
+ Intent Intention de rendu
+ Interpret Footage Interpréter le métrage
+ Interval Intervalle
+ Invalid panel layout; restored the default dock Disposition des panneaux non valide ; l'ancrage par défaut a été rétabli
+ Invert Mask Inverser le masque
+ Invert Selection Inverser la sélection
+ Iris Blur Flou d'iris
+ Ivy Lierre
+ Jag Dentelé
+ Join the ArtCraft Discord Rejoindre le Discord d'ArtCraft
+ Join the ArtCraft Discord ({url}) Rejoindre le Discord d'ArtCraft ({url})
+ Kernel Noyau
+ Kerning: Metrics, Optical or a value in 1/1000 em (Alt+←/→ at the caret) Crénage : Métriques, Optique ou une valeur en 1/1000 em (Alt+←/→ au point d'insertion)
+ Keyboard Clavier
+ Label Étiquette
+ Latin 1 Latin 1
+ Latin Extended-A Latin étendu A
+ Latin Extended-B Latin étendu B
+ Layer Comps to Files Compositions de calques en fichiers
+ Layer Content Options Options de contenu du calque
+ Layer From Background Calque d'après l'arrière-plan
+ Layer Mask Hides Effects Le masque de calque masque les effets
+ Layer Properties Propriétés du calque
+ Layer Styles Styles de calque
+ Layer from Background Calque d'après l'arrière-plan
+ Layers to Files Calques en fichiers
+ Leaf Color Couleur de la feuille
+ Learn More En savoir plus
+ Leaves Amount Quantité de feuilles
+ Leaves Color Couleur des feuilles
+ Leaves Size Taille des feuilles
+ Left Diagonal Diagonale gauche
+ Legacy Ancienne version
+ Length Longueur
+ Lens Blur Flou d'objectif
+ Lens Correction Correction de l'objectif
+ Lens Flare Reflet d'objectif
+ Less Moins
+ Level Based Selon les niveaux
+ Library Bibliothèque
+ Light Dark Balance Équilibre clair/foncé
+ Light Direction Direction de la lumière
+ Light Intensity Intensité de la lumière
+ Light Rough Clair rugueux
+ Light Type Type de lumière
+ Light X Lumière X
+ Light Y Lumière Y
+ Light Z Lumière Z
+ Lighten Grout Éclaircir le joint
+ Lighten Only Éclaircir seulement
+ Lighting Éclairage
+ Lighting Effects Effets d'éclairage
+ Linear Dodge Densité linéaire −
+ Linear-srgb sRVB linéaire
+ Link Lier
+ Liquify Liquéfier
+ List Liste
+ List view Affichage en liste
+ Live Preview Aperçu en direct
+ Load 3D LUT Charger une LUT 3D
+ Load Files into Stack Charger des fichiers dans une pile
+ Loading… Chargement…
+ Lock All Tout verrouiller
+ Lock Image Pixels Verrouiller les pixels de l'image
+ Lock Position Verrouiller la position
+ Lock Transparent Pixels Verrouiller les pixels transparents
+ Locked Verrouillé
+ Long Lines Lignes longues
+ Long Strokes Traits longs
+ Lower Inférieur
+ Lum Lum.
+ Lut LUT
+ Make Selection… Créer une sélection…
+ Make Symmetry Path Créer un tracé de symétrie
+ Make Work Path… Créer un tracé de travail…
+ Manual Manuel
+ Map Document Document de carte
+ Map Layer Calque de carte
+ Map Path Chemin de la carte
+ Mask Incomplete Blocks Masquer les blocs incomplets
+ Mask None Ne rien masquer
+ Masks Masques
+ Match Color Faire correspondre la couleur
+ Math Symbols Symboles mathématiques
+ Max Offset Décalage max.
+ Max Radius Rayon max.
+ Medium Dots Points moyens
+ Medium Gray Gris moyen
+ Medium Lines Lignes moyennes
+ Medium Strokes Traits moyens
+ Merge Channels… Fusionner les canaux…
+ Merge Spot Channel Fusionner le canal de ton direct
+ Merge to HDR Pro Fusionner en HDR Pro
+ Metallic Métallique
+ Mezzotint Manière noire
+ Middle Milieu
+ Midtone Contraste des tons moyens
+ Monitor Profile Profil du moniteur
+ Monitor profile in use on {display}: {profile} Profil du moniteur utilisé sur {display} : {profile}
+ Monitor profile in use: {profile} Profil du moniteur utilisé : {profile}
+ Monitor profile on {display} (main window): {profile} Profil du moniteur sur {display} (fenêtre principale) : {profile}
+ Monitor profile on {display}: {profile} Profil du moniteur sur {display} : {profile}
+ Monitor profile: {profile} Profil du moniteur : {profile}
+ Mono Contrast Contraste mono
+ Monochromatic Monochromatique
+ More Plus
+ Mosaic Mosaïque
+ Mosaic Tiles Carreaux de mosaïque
+ Motion Blur Flou de mouvement
+ Mouse Souris
+ Move Layer Déplacer le calque
+ Movie Prime Focale fixe cinéma
+ Multiple Flames Along Path Plusieurs flammes le long du tracé
+ Multiple Flames One Direction Plusieurs flammes dans une direction
+ Multiple Flames Path Directions Plusieurs flammes selon les directions du tracé
+ Multiple Flames Various Length Plusieurs flammes de longueurs variées
+ Native file drag-and-drop is not supported on Wayland yet. Use File › Open, or run PhotoCraft under XWayland with `WAYLAND_DISPLAY= photocraft`. Le glisser-déposer natif de fichiers n'est pas encore pris en charge sous Wayland. Utilisez Fichier › Ouvrir, ou lancez PhotoCraft sous XWayland avec `WAYLAND_DISPLAY= photocraft`.
+ Neon Glow Lueur néon
+ Neutralize Neutraliser
+ New Brush Preset Nouveau préréglage de pinceau
+ New Channel… Nouveau canal…
+ New Guide Nouveau repère
+ New Guide Layout Nouvelle disposition de repères
+ New Spot Channel… Nouveau canal de ton direct…
+ New Video Layer from File Nouveau calque vidéo à partir d'un fichier
+ New Window Nouvelle fenêtre
+ New document Nouveau document
+ Next Suivant
+ No Document Aucun document
+ No Image Aucune image
+ No Layers Aucun calque
+ No Results Aucun résultat
+ No Results Found Aucun résultat trouvé
+ No Selection Aucune sélection
+ No custom shape "{name}": pick one in the options bar or Window › Shapes Aucune forme personnalisée « {name} » : choisissez-en une dans la barre d'options ou via Fenêtre › Formes
+ No layers Aucun calque
+ No recent files Aucun fichier récent
+ No selection Aucune sélection
+ Noise Color Bruit de couleur
+ Noise Color Detail Détail du bruit de couleur
+ Noise Luminance Bruit de luminance
+ Noise Luminance Detail Détail du bruit de luminance
+ Nothing to Redo Rien à rétablir
+ Nothing to Undo Rien à annuler
+ Nothing to paste: the clipboard holds no image Rien à coller : le presse-papiers ne contient aucune image
+ Number Of Levels Nombre de niveaux
+ Numbers Nombres
+ Ocean Ripple Ondulation océanique
+ Octagon Octogone
+ Odd Fields Trames impaires
+ Oil Paint Peinture à l'huile
+ On Activé
+ One Flame Along Path Une flamme le long du tracé
+ Open As Ouvrir en tant que
+ Open File Ouvrir un fichier
+ Open Folder Ouvrir un dossier
+ Open Image Ouvrir une image
+ Open Recent is unavailable on the web La commande Ouvrir un fichier récent n'est pas disponible sur le Web
+ Opened {url} {url} ouvert
+ Opening Ouverture
+ Operation canceled Opération annulée
+ Operation cancelled Opération annulée
+ Operation completed Opération terminée
+ Operation failed Échec de l'opération
+ Out Black Noir de sortie
+ Out From Center Du centre vers l'extérieur
+ Out White Blanc de sortie
+ Out of memory Mémoire insuffisante
+ Output Levels Niveaux de sortie
+ Oval Ovale
+ Overlay Edge Superposition des contours
+ Package Rassembler
+ Page Setup… Mise en page…
+ Paint Daubs Barbouillage
+ Palette Knife Couteau à palette
+ Panel Panneau
+ Paper Brightness Luminosité du papier
+ Parallel Parallèle
+ Paste Complete Stroke Coller le contour complet
+ Paste Fill Coller le remplissage
+ Patchwork Patchwork
+ Path Blur Flou de tracé
+ Paths to Illustrator Tracés vers Illustrator
+ Pattern Type Type de motif
+ Pencil Width Largeur du crayon
+ Pentagon Pentagone
+ Percentage Pourcentage
+ Perimeter Périmètre
+ Permission denied Autorisation refusée
+ PhotoCraft keeps retrying; until a save succeeds, preference changes are lost when it closes. PhotoCraft continue de réessayer ; tant qu'un enregistrement n'a pas abouti, les modifications des préférences seront perdues à la fermeture.
+ Photomerge Photomerge
+ Picture Frame Cadre d'image
+ Pinch Pincement
+ Pins Épingles
+ Place Embedded Placer incorporé
+ Place Linked Placer lié
+ Place Scale Marker Placer un repère d'échelle
+ Plane Plan
+ Planes Plans
+ Plastic Wrap Film plastique
+ Platform: {os} {arch} Plateforme : {os} {arch}
+ Please wait… Veuillez patienter…
+ Point Point
+ Point Curve Courbe de points
+ Point Curve Blue Courbe de points bleue
+ Point Curve Green Courbe de points verte
+ Point Curve Red Courbe de points rouge
+ Pointed Pointu
+ Pointillize Pointillisme
+ Polar Coordinates Coordonnées polaires
+ Polar To Rectangular Polaires vers rectangulaires
+ Policy Cmyk Règle CMJN
+ Policy Gray Règle niveaux de gris
+ Policy Rgb Règle RVB
+ Pond Ripples Ondulations d'étang
+ Poster Edges Contours postérisés
+ Posterization Postérisation
+ Preferences can't be saved Les préférences ne peuvent pas être enregistrées
+ Preferences saved Préférences enregistrées
+ Preferences were reset: {error} Les préférences ont été réinitialisées : {error}
+ Preferences… Préférences…
+ Preserve Conserver
+ Preset Manager Gestionnaire de préréglages
+ Press keys Appuyez sur les touches
+ Preview Image Aperçu de l'image
+ Previous Précédent
+ Prime105 Focale fixe 105 mm
+ Prime35 Focale fixe 35 mm
+ Printed to {path} Imprimé vers {path}
+ Processing… Traitement…
+ Profile Profil
+ Prophoto-compat ProPhoto (compatible)
+ Pucker Contraction
+ Push Left Pixels poussés vers la gauche
+ Pyramids Pyramides
+ Quit Quitter
+ Quit PhotoCraft Quitter PhotoCraft
+ Quit {app} Quitter {app}
+ Radial Blur Flou radial
+ Radius X Rayon X
+ Radius Y Rayon Y
+ Ran script {name} Script {name} exécuté
+ Randomize Length Longueur aléatoire
+ Randomize Shapes Formes aléatoires
+ Raw Defaults Valeurs Raw par défaut
+ Reading Lecture
+ Ready Prêt
+ Rec2020 Rec2020
+ Recent Files Fichiers récents
+ Reconstruct All Tout reconstruire
+ Recovered {name} {name} récupéré
+ Rectangular Selection Sélection rectangulaire
+ Rectangular To Polar Rectangulaires vers polaires
+ Red Cyan Rouge/Cyan
+ Reduce Color Noise Réduire le bruit de couleur
+ Reduce Noise Réduction du bruit
+ Relief Relief
+ Relink to File Lier de nouveau au fichier
+ Remove All Tout supprimer
+ Remove Jpeg Artifact Supprimer l'artefact JPEG
+ Rename Brush Renommer le pinceau
+ Rename Channel… Renommer le canal…
+ Rename Group Renommer le groupe
+ Rename Tool Preset Renommer le préréglage d'outil
+ Render Video Rendu vidéo
+ Rendering… Rendu en cours…
+ Reorder Layer Réorganiser le calque
+ Replace Color Remplacer la couleur
+ Replace Contents Remplacer le contenu
+ Replace Footage Remplacer le métrage
+ Report a Bug Signaler un bogue
+ Report an Issue Signaler un problème
+ Reset All Tout réinitialiser
+ Reset Preferences Réinitialiser les préférences
+ Resolve Missing Fonts Résoudre les polices manquantes
+ Restart Redémarrer
+ Restart Required Redémarrage requis
+ Resume Reprendre
+ Retry Réessayer
+ Rgb RVB
+ Ridges Crêtes
+ Right Diagonal Diagonale droite
+ Ripple Ondulation
+ Ripple Magnitude Amplitude de l'ondulation
+ Ripple Size Taille de l'ondulation
+ Rope Corde
+ Roses Roses
+ Rough Pastels Pastels rugueux
+ Row Order Ordre des lignes
+ Sample Size Taille de l'échantillon
+ Sandstone Grès
+ Sat Sat.
+ Save As Enregistrer sous
+ Save Changes Enregistrer les modifications
+ Save File Enregistrer le fichier
+ Save Image Enregistrer l'image
+ Save Path Enregistrer le tracé
+ Save a Copy Enregistrer une copie
+ Save before closing? Enregistrer avant de fermer ?
+ Save for Web (Legacy) Enregistrer pour le Web (ancien)
+ Save your work and restart PhotoCraft to retry GPU acceleration. CPU rendering remains active for this session. Enregistrez votre travail et redémarrez PhotoCraft pour réessayer l'accélération GPU. Le rendu CPU reste actif pour cette session.
+ Saved a copy as {path} Copie enregistrée sous {path}
+ Saved {path}; image assets: {n} in {dir} {path} enregistré ; ressources d'image : {n} dans {dir}
+ Saving… Enregistrement…
+ Scale Effects Mettre les effets à l'échelle
+ Scale Factor Facteur d'échelle
+ Scale Units Unités d'échelle
+ Scaling Échelle
+ Scallops Festons
+ Script Events Manager Gestionnaire d'événements de script
+ Scroll menu down Faire défiler le menu vers le bas
+ Scroll menu up Faire défiler le menu vers le haut
+ Search commands, tools and panels Rechercher des commandes, outils et panneaux
+ Search menus Rechercher dans les menus
+ Seed Valeur initiale
+ Select Custom Color… Choisir une couleur personnalisée…
+ Select Inverse Inverser la sélection
+ Select Layer Sélectionner le calque
+ Select and Mask Sélectionner et masquer
+ Selected at launch: {backend} Sélectionné au lancement : {backend}
+ Sensitivity Sensibilité
+ Sent to the printer ({spooler}) Envoyé à l'imprimante ({spooler})
+ Sepia Sépia
+ Services Services
+ Set Colors Définir les couleurs
+ Set Measurement Scale Définir l'échelle de mesure
+ Sgray sGray
+ Shadow Ombres
+ Shadow Amount Quantité des ombres
+ Shadow Intensity Intensité des ombres
+ Shadow Radius Rayon des ombres
+ Shadow Tone Amplitude tonale des ombres
+ Shadows/Highlights Ombres/Hautes lumières
+ Shallow Superficiel
+ Shape Blur Flou selon une forme
+ Sharpen Amount Quantité de netteté
+ Sharpen Detail Détail de la netteté
+ Sharpen Details Détails de la netteté
+ Sharpen Masking Masquage de la netteté
+ Sharpen Radius Rayon de netteté
+ Shear Cisaillement
+ Shine Brillance
+ Short Lines Lignes courtes
+ Short Strokes Traits courts
+ Shortcut Raccourci
+ Shortcuts Raccourcis
+ Show All Tout afficher
+ Show Rulers Afficher les règles
+ Simple Simple
+ Sine Sinus
+ Sketch Esquisse
+ Skip Ignorer
+ Slice Options Options de tranche
+ Smart Blur Flou intelligent
+ Smart Sharpen Netteté intelligente
+ Smoothness Lissage
+ Smudge Stick Estompe
+ Snap to Grid Aimanter à la grille
+ Snowflakes Flocons de neige
+ Softness Douceur
+ Software adapter Adaptateur logiciel
+ Solarized Dark Solarized sombre
+ Solid Color Couleur unie
+ Solid Front Faces Faces avant pleines
+ Source Layer Calque source
+ Sparkle Étincelle
+ Spatter Éclaboussures
+ Speckle Moucheté
+ Speed Vitesse
+ Spherize Sphérisation
+ Spin Rotation
+ Spin Blur Flou de rotation
+ Split Channels Séparer les canaux
+ Spot Spot
+ Spray Radius Rayon de pulvérisation
+ Sprayed Strokes Traits pulvérisés
+ Sprinkles Saupoudré
+ Square Size Taille des carrés
+ Squareness Forme carrée
+ Stagger Décalage
+ Stained Glass Vitrail
+ Star Étoile
+ Stars Étoiles
+ Start X Début X
+ Start Y Début Y
+ Statistics Statistiques
+ Step {step} ({id}) failed: {error} Échec de l'étape {step} ({id}) : {error}
+ Stippled Pointillé
+ Stops Arrêts
+ Strength Intensité
+ Stretch Étirement
+ Stroke Color Couleur du contour
+ Stroke Detail Détail du trait
+ Stroke Direction Direction du trait
+ Stroke Length Longueur du trait
+ Stroke Pressure Pression du trait
+ Stroke Size Taille du trait
+ Stroke Width Largeur du trait
+ Strokes Traits
+ Stylization Stylisation
+ Subtract Shapes at Overlap Soustraire les formes au chevauchement
+ Sumi-e Sumi-e
+ Surface Blur Flou de surface
+ Switch Foreground and Background Colors Permuter les couleurs de premier plan et d'arrière-plan
+ Tablet Tablette
+ Taper Effilement
+ Target Cible
+ Target X Cible X
+ Target Y Cible Y
+ Teal Orange Sarcelle et orange
+ Temporary Temporaires
+ Text Layer Calque de texte
+ Texture Coverage Couverture de la texture
+ Texturizer Texturisation
+ Thaw Mask Masque de libération
+ The canvas is shown as sRGB. Choose a monitor profile in Edit › Color Settings. Le canevas est affiché en sRVB. Choisissez un profil de moniteur dans Édition › Paramètres de couleur.
+ The canvas on {display} is shown as sRGB. Choose a monitor profile in Edit › Color Settings. Le canevas sur {display} est affiché en sRVB. Choisissez un profil de moniteur dans Édition › Paramètres de couleur.
+ The current gradient (pick one in Window › Gradients) Le dégradé actuel (à choisir dans Fenêtre › Dégradés)
+ The document does not have an embedded colour profile. Working space: {working}. Le document ne contient aucun profil colorimétrique incorporé. Espace de travail : {working}.
+ The document has an embedded colour profile that does not match the working space.\nEmbedded: {embedded}\nWorking: {working} Le document contient un profil colorimétrique incorporé qui ne correspond pas à l'espace de travail.\nIncorporé : {embedded}\nEspace de travail : {working}
+ The file could not be opened. Impossible d'ouvrir le fichier.
+ The file could not be saved. Impossible d'enregistrer le fichier.
+ Thickness Épaisseur
+ This Layer: Ce calque :
+ This Smart Object must be rasterized before proceeding. Its contents will no longer be editable. Rasterize the Smart Object? Cet objet intelligent doit être rastérisé pour continuer. Son contenu ne sera plus modifiable. Rastériser l'objet intelligent ?
+ This adjustment ({key}) is kept as imported and can't be edited yet. Cet ajustement ({key}) est conservé tel qu'il a été importé et ne peut pas encore être modifié.
+ This fill layer must be rasterized before proceeding. Its fill content will no longer be editable. Rasterize the layer? Ce calque de remplissage doit être rastérisé pour continuer. Son contenu de remplissage ne sera plus modifiable. Rastériser le calque ?
+ This layer must be rasterized before proceeding. Ce calque doit être rastérisé pour continuer.
+ This session: {reason} Cette session : {reason}
+ This shape layer must be rasterized before proceeding. It will no longer be editable as a shape. Rasterize the shape? Ce calque de forme doit être rastérisé pour continuer. Il ne sera plus modifiable en tant que forme. Rastériser la forme ?
+ This type layer must be rasterized before proceeding. Its text will no longer be editable. Rasterize the type? Ce calque de texte doit être rastérisé pour continuer. Son texte ne sera plus modifiable. Rastériser le texte ?
+ Tile Size Taille des carreaux
+ Tiles Carreaux
+ Tilt-Shift Inclinaison-décalage
+ Tint Color Couleur de la nuance
+ Tiny Lens Petites lentilles
+ To À
+ To Center Vers le centre
+ Toggle the Brush Settings panel Afficher/masquer le panneau Paramètres du pinceau
+ Tool Options Options d'outil
+ Trace Contour Tracer les contours
+ Transformation Transformation
+ Transition Transition
+ Transparency Shapes Layer La transparence détermine la forme du calque
+ Trap Recouvrement
+ Tree Arbre
+ Trim Rogner les bords
+ Turbulent Turbulent
+ Twirl Tourbillon
+ Twirl Clockwise Tourbillon horaire
+ Twirl Counterclockwise Tourbillon antihoraire
+ Unaltered Inchangé
+ Undefined Areas Zones non définies
+ Underlying Layer: Calque sous-jacent :
+ Underpainting Sous-couche
+ Underwater Sous l'eau
+ Ungroup Dissocier
+ Uniform Uniforme
+ Unite Shapes at Overlap Réunir les formes au chevauchement
+ Unlink Délier
+ Unlock Déverrouiller
+ Unlocked Déverrouillé
+ Unsaved Changes Modifications non enregistrées
+ Unsharp Mask Masque flou
+ Unsupported file format Format de fichier non pris en charge
+ Unsupported format Format non pris en charge
+ Up Haut
+ Update Mettre à jour
+ Updates Mises à jour
+ Upper Supérieur
+ Use Custom Color Utiliser une couleur personnalisée
+ Use File › Open to open an image. Utilisez Fichier › Ouvrir pour ouvrir une image.
+ Use Selection In Source Utiliser la sélection dans la source
+ Use Selection In Target Utiliser la sélection dans la cible
+ Vanishing Point Point de fuite
+ Variable Data Sets Jeux de données variables
+ Vector Mask Hides Effects Le masque vectoriel masque les effets
+ Vertical Only Vertical seulement
+ Vertical Type Tool Outil Texte vertical
+ Video Frames to Layers Images vidéo dans des calques
+ Vignette Amount Quantité de vignettage
+ Vignette Feather Adoucissement du vignettage
+ Vignette Highlights Hautes lumières du vignettage
+ Vignette Midpoint Point médian du vignettage
+ Vignette Roundness Arrondi du vignettage
+ Vignette Style Style du vignettage
+ Vine Color Couleur de la liane
+ Vine With Flowers Liane avec fleurs
+ Vine With Leaves Liane avec feuilles
+ Violent Violent
+ WIA Support Prise en charge de WIA
+ Warm Chaud
+ Warming L B A Réchauffement LBA
+ Warming81 Réchauffement 81
+ Warming85 Réchauffement 85
+ Warmth Chaleur
+ Warning Avertissement
+ Warp Text Déformer le texte
+ Watercolor Aquarelle
+ Wavelength Max Longueur d'onde max.
+ Wavelength Min Longueur d'onde min.
+ Waves Vagues
+ Wetness Humidité
+ White Clip Écrêtage des blancs
+ White Intensity Intensité du blanc
+ White Is High Le blanc est le plus haut
+ Wide Blurry Large et flou
+ Wide Sharp Large et net
+ Wind Vent
+ Window renderer: {renderer} Moteur de rendu de la fenêtre : {renderer}
+ Working Espace de travail
+ Working Cmyk CMJN de travail
+ Working Gray Gris de travail
+ Working Rgb RVB de travail
+ Workspaces Espaces de travail
+ Wrap Enrouler
+ ZigZag Zigzag
+ Zigzag Zigzag
+ auto auto
+ blue bleu
+ brushes pinceaux
+ fallback repli
+ gradients dégradés
+ gray gris
+ green vert
+ layer mask masque de calque
+ manual manuel
+ none aucun
+ off désactivé
+ on activé
+ orange orange
+ previous reading kept; the last re-read failed: {reason} lecture précédente conservée ; la dernière relecture a échoué : {reason}
+ red rouge
+ unknown inconnu
+ unknown type type inconnu
+ vector mask masque vectoriel
+ violet violet
+ yellow jaune
+ {index} of {total} {index} sur {total}
+ {label} is not available: {reason} {label} n'est pas disponible : {reason}
+ {message} (notes: {n}; {warning}) {message} (remarques : {n} ; {warning})
+ {shortcut} assigned. {shortcut} attribué.
+ {shortcut} is already in use by {commands} and will be removed from it when you click OK. {shortcut} est déjà utilisé par {commands} et lui sera retiré lorsque vous cliquerez sur OK.
+ {verb} {mask} {layer} {verb} le {mask} ({layer})
+ ✓ Color Indicates Masked Areas ✓ La couleur indique les zones masquées
+ ✓ Color Indicates Selected Areas ✓ La couleur indique les zones sélectionnées
+@id edit.clear Effacer
+@id edit.stroke Contourner…
+@id edit.transform.scale Mise à l'échelle
+@id file.close Fermer
+@id filter.sharpen.sharpen Netteté
+@id layer.layerMask.apply Appliquer le masque de calque
+@plural Exported {n} swatch to {file}|Exported {n} swatches to {file} {n} nuance exportée vers {file}|{n} nuances exportées vers {file}
+@plural Imported {n} brush from {file}|Imported {n} brushes from {file} {n} pinceau importé depuis {file}|{n} pinceaux importés depuis {file}
+@plural Imported {n} brush from {group}|Imported {n} brushes from {group} {n} pinceau importé depuis {group}|{n} pinceaux importés depuis {group}
+@plural Imported {n} gradient from {file}|Imported {n} gradients from {file} {n} dégradé importé depuis {file}|{n} dégradés importés depuis {file}
+@plural Imported {n} swatch from {file}|Imported {n} swatches from {file} {n} nuance importée depuis {file}|{n} nuances importées depuis {file}
+@plural Played {n} step|Played {n} steps {n} étape lue|{n} étapes lues
+@plural Saved for Web: {n} file|Saved for Web: {n} files Enregistré pour le Web : {n} fichier|Enregistré pour le Web : {n} fichiers
+@plural Updated {n} linked smart object changed on disk|Updated {n} linked smart objects changed on disk Mise à jour de {n} objet intelligent lié modifié sur le disque|Mise à jour de {n} objets intelligents liés modifiés sur le disque
+@plural {n} layer recorded by this comp was deleted. Update the comp, or clear the warning.|{n} layers recorded by this comp were deleted. Update the comp, or clear the warning. {n} calque enregistré par cette composition a été supprimé. Mettez la composition à jour ou effacez l'avertissement.|{n} calques enregistrés par cette composition ont été supprimés. Mettez la composition à jour ou effacez l'avertissement.
+@plural {n} plane|{n} planes {n} plan|{n} plans
+@plural {n} preset|{n} presets {n} préréglage|{n} préréglages
+@plural {n} sample point removed|{n} sample points removed {n} point d'échantillonnage supprimé|{n} points d'échantillonnage supprimés
+@plural {n} slice|{n} slices {n} tranche|{n} tranches
+@plural {n} step|{n} steps {n} étape|{n} étapes
+@plural {warning} (+{n} more brush preset warning)|{warning} (+{n} more brush preset warnings) {warning} (+{n} autre avertissement de préréglage de pinceau)|{warning} (+{n} autres avertissements de préréglages de pinceau)
+@plural {what} with {n} warning|{what} with {n} warnings {what} avec {n} avertissement|{what} avec {n} avertissements
+cameraRaw Aqua Aqua
+cameraRaw Balance Balance
+cameraRaw Blue Bleu
+cameraRaw Clarity Clarté
+cameraRaw Color Couleur
+cameraRaw Color Detail Détail des couleurs
+cameraRaw Color Grading Étalonnage des couleurs
+cameraRaw Color Mixer Mélangeur de couleurs
+cameraRaw Contrast Contraste
+cameraRaw Curve Courbe
+cameraRaw Dehaze Correction de la brume
+cameraRaw Detail Détail
+cameraRaw Effects Effets
+cameraRaw Exposure Exposition
+cameraRaw Feather Adoucissement
+cameraRaw Global Global
+cameraRaw Green Vert
+cameraRaw Highlights Hautes lumières
+cameraRaw Hue Teinte
+cameraRaw Luminance Luminance
+cameraRaw Luminance Detail Détail de la luminance
+cameraRaw Magenta Magenta
+cameraRaw Midpoint Point médian
+cameraRaw Midtones Tons moyens
+cameraRaw Orange Orange
+cameraRaw Purple Violet
+cameraRaw Radius Rayon
+cameraRaw Red Rouge
+cameraRaw Roughness Rugosité
+cameraRaw Roundness Arrondi
+cameraRaw Saturation Saturation
+cameraRaw Shadows Ombres
+cameraRaw Size Taille
+cameraRaw Temperature Température
+cameraRaw Texture Texture
+cameraRaw Vibrance Vibrance
+cameraRaw Whites Blancs
+cameraRaw Yellow Jaune
+colorRange Invert Inverser
+document Orientation Orientation
+layerLabel Magenta Magenta
+layerLabel No Color Aucune couleur
+layerLabel Red Rouge
+layers Fill Remplissage
+layers Fill: Remplissage :
+navigator Zoom Zoom
+shape Appearance Apparence
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Sens du paragraphe automatique
+ Left-to-right paragraph direction Sens du paragraphe de gauche à droite
+ Right-to-left paragraph direction Sens du paragraphe de droite à gauche
+ Not rendered: this adjustment ({key}) is kept as imported. Non rendu : ce réglage ({key}) est conservé tel qu'importé.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Cube de teinte
+ Brightness Cube Cube de luminosité
+ Color Wheel Roue chromatique
+ RGB Sliders Curseurs RVB
+ HSB Sliders Curseurs TSL
+ CMYK Sliders Curseurs CMJN
+ Lab Sliders Curseurs Lab
+ Web Color Sliders Curseurs de couleurs Web
+ Copy Color as HTML Copier la couleur en HTML
+ Copy Color's Hex Code Copier le code hexadécimal de la couleur
+ RGB Spectrum Spectre RVB
+ CMYK Spectrum Spectre CMJN
+ Grayscale Ramp Barre de niveaux de gris
+ Current Colors Couleurs actuelles
+ Make Ramp Web Safe Limiter la barre aux couleurs Web
diff --cc crates/ui-egui/src/i18n/hu.tsv
index c5e32f7ef,a57ec1de9..71efd47af
--- a/crates/ui-egui/src/i18n/hu.tsv
+++ b/crates/ui-egui/src/i18n/hu.tsv
@@@ -4281,27 -4217,19 +4281,43 @@@ cameraRaw Yellow Sárg
# Graphics Adapter preference (#1885)
GPU adapter GPU-adapter
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Stílusok importálása…
+ Export Selected Styles… Kijelölt stílusok exportálása…
+ Export Styles… Stílusok exportálása…
+ {file} is not a style library (.asl) {file} nem stíluskönyvtár (.asl)
+# 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át
+ Pro Medium Gray Pro középszürke
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro világosszürke
+ Pro Light Pro világos
+ Resize Windows to Fit Ablakok átméretezése a képhez
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Automatikus bekezdésirány
+ Left-to-right paragraph direction Balról jobbra irányuló bekezdés
+ Right-to-left paragraph direction Jobbról balra irányuló bekezdés
+ Not rendered: this adjustment ({key}) is kept as imported. Nem jelenik meg: ez a korrekció ({key}) importált állapotában marad.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Színárnyalat-kocka
+ Brightness Cube Fényerő-kocka
+ Color Wheel Színkör
+ RGB Sliders RGB-csúszkák
+ HSB Sliders HSB-csúszkák
+ CMYK Sliders CMYK-csúszkák
+ Lab Sliders Lab-csúszkák
+ Web Color Sliders Webes színek csúszkái
+ Copy Color as HTML Szín másolása HTML-ként
+ Copy Color's Hex Code Szín hexadecimális kódjának másolása
+ RGB Spectrum RGB-spektrum
+ CMYK Spectrum CMYK-spektrum
+ Grayscale Ramp Szürkeárnyalatos sáv
+ Current Colors Aktuális színek
+ Make Ramp Web Safe Sáv korlátozása webes színekre
diff --cc crates/ui-egui/src/i18n/id.tsv
index 34eb27eea,8a13a38ca..d7195ba73
--- a/crates/ui-egui/src/i18n/id.tsv
+++ b/crates/ui-egui/src/i18n/id.tsv
@@@ -3377,29 -3298,19 +3377,45 @@@ curves Smooth Haluska
# Graphics Adapter preference (#1885)
GPU adapter Adaptor GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Impor Gaya…
+ Export Selected Styles… Ekspor Gaya Terpilih…
+ Export Styles… Ekspor Gaya…
+ {file} is not a style library (.asl) {file} bukan pustaka gaya (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} {n} gaya diimpor dari {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} {n} gaya diekspor ke {file}
+# 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 terbuka
+ Pro Medium Gray Pro Abu-abu Sedang
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro Abu-abu Terang
+ Pro Light Pro Terang
+ Resize Windows to Fit Ubah ukuran jendela agar pas
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Arah paragraf otomatis
+ Left-to-right paragraph direction Arah paragraf kiri ke kanan
+ Right-to-left paragraph direction Arah paragraf kanan ke kiri
+ Not rendered: this adjustment ({key}) is kept as imported. Tidak dirender: penyesuaian ini ({key}) disimpan seperti saat diimpor.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Kubus Hue
+ Brightness Cube Kubus Kecerahan
+ Color Wheel Roda Warna
+ RGB Sliders Slider RGB
+ HSB Sliders Slider HSB
+ CMYK Sliders Slider CMYK
+ Lab Sliders Slider Lab
+ Web Color Sliders Slider Warna Web
+ Copy Color as HTML Salin Warna sebagai HTML
+ Copy Color's Hex Code Salin Kode Hex Warna
+ RGB Spectrum Spektrum RGB
+ CMYK Spectrum Spektrum CMYK
+ Grayscale Ramp Gradasi Grayscale
+ Current Colors Warna Saat Ini
+ Make Ramp Web Safe Jadikan Gradasi Aman untuk Web
diff --cc crates/ui-egui/src/i18n/it.tsv
index 59dcf464d,ce86bfa95..7a6ded172
--- a/crates/ui-egui/src/i18n/it.tsv
+++ b/crates/ui-egui/src/i18n/it.tsv
@@@ -4480,29 -4417,19 +4480,45 @@@ shape Appearance Aspett
# Graphics Adapter preference (#1885)
GPU adapter Adattatore GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Importa stili…
+ Export Selected Styles… Esporta stili selezionati…
+ Export Styles… Esporta stili…
+ {file} is not a style library (.asl) {file} non è una libreria di stili (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} {n} stile importato da {file}|{n} stili importati da {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} {n} stile esportato in {file}|{n} stili esportati in {file}
+# 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’azione
+ Pro Medium Gray Pro grigio medio
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro grigio chiaro
+ Pro Light Pro chiaro
+ Resize Windows to Fit Ridimensiona finestre per adattare
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Direzione del paragrafo automatica
+ Left-to-right paragraph direction Direzione del paragrafo da sinistra a destra
+ Right-to-left paragraph direction Direzione del paragrafo da destra a sinistra
+ Not rendered: this adjustment ({key}) is kept as imported. Non renderizzato: questa regolazione ({key}) viene conservata come importata.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Cubo tonalità
+ Brightness Cube Cubo luminosità
+ Color Wheel Ruota dei colori
+ RGB Sliders Cursori RGB
+ HSB Sliders Cursori HSB
+ CMYK Sliders Cursori CMYK
+ Lab Sliders Cursori Lab
+ Web Color Sliders Cursori colori web
+ Copy Color as HTML Copia colore come HTML
+ Copy Color's Hex Code Copia codice esadecimale del colore
+ RGB Spectrum Spettro RGB
+ CMYK Spectrum Spettro CMYK
+ Grayscale Ramp Barra scala di grigio
+ Current Colors Colori correnti
+ Make Ramp Web Safe Limita la barra ai colori web
diff --cc crates/ui-egui/src/i18n/ja.tsv
index e271bfec7,836063ad7..ab8310008
--- a/crates/ui-egui/src/i18n/ja.tsv
+++ b/crates/ui-egui/src/i18n/ja.tsv
@@@ -4041,29 -3978,19 +4041,45 @@@ curves Smooth スムー�
# Graphics Adapter preference (#1885)
GPU adapter GPU アダプター
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… スタイルを読み込み…
+ Export Selected Styles… 選択したスタイルを書き出し…
+ Export Styles… スタイルを書き出し…
+ {file} is not a style library (.asl) {file} はスタイルライブラリ (.asl) ではありません
+@plural Imported {n} style from {file}|Imported {n} styles from {file} {file} からスタイル {n} 個を読み込みました
+@plural Exported {n} style to {file}|Exported {n} styles to {file} {file} にスタイル {n} 個を書き出しました
+# Actions: a step dialog holds a suspended recording (#7365)
+ Confirm or cancel the open action step dialog first 先に開いているアクションのステップのダイアログを確定またはキャンセルしてください
+ Pro Medium Gray プロ(中間グレー)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray プロ(ライトグレー)
+ Pro Light プロ(ライト)
+ Resize Windows to Fit ウィンドウサイズを合わせる
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction 段落の方向を自動判別
+ Left-to-right paragraph direction 左から右への段落方向
+ Right-to-left paragraph direction 右から左への段落方向
+ Not rendered: this adjustment ({key}) is kept as imported. レンダリングされません: この調整({key})はインポートされたまま保持されます。
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube 色相キューブ
+ Brightness Cube 明るさキューブ
+ Color Wheel カラーホイール
+ RGB Sliders RGB スライダー
+ HSB Sliders HSB スライダー
+ CMYK Sliders CMYK スライダー
+ Lab Sliders Lab スライダー
+ Web Color Sliders Web カラースライダー
+ Copy Color as HTML カラーを HTML としてコピー
+ Copy Color's Hex Code カラーの 16 進コードをコピー
+ RGB Spectrum RGB スペクトル
+ CMYK Spectrum CMYK スペクトル
+ Grayscale Ramp グレースケールランプ
+ Current Colors 現在のカラー
+ Make Ramp Web Safe ランプを Web セーフにする
diff --cc crates/ui-egui/src/i18n/ko.tsv
index f41856037,5dd4f84f2..a8fed111f
--- a/crates/ui-egui/src/i18n/ko.tsv
+++ b/crates/ui-egui/src/i18n/ko.tsv
@@@ -3572,29 -3490,20 +3572,46 @@@ curves Smooth 매끄럽�
# Graphics Adapter preference (#1885)
GPU adapter GPU 어댑터
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… 스타일 가져오기…
+ Export Selected Styles… 선택한 스타일 내보내기…
+ Export Styles… 스타일 내보내기…
+ {file} is not a style library (.asl) {file}은(는) 스타일 라이브러리(.asl)가 아닙니다
+@plural Imported {n} style from {file}|Imported {n} styles from {file} {file}에서 스타일 {n}개를 가져왔습니다
+@plural Exported {n} style to {file}|Exported {n} styles to {file} 스타일 {n}개를 {file}(으)로 내보냈습니다
+# Actions: a step dialog holds a suspended recording (#7365)
+ Confirm or cancel the open action step dialog first 먼저 열려 있는 액션 단계 대화 상자를 확인하거나 취소하세요
+ Pro Medium Gray 프로 중간 회색
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray 프로 밝은 회색
+ Pro Light 프로 밝게
+ Resize Windows to Fit 창 크기 맞추기
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction 자동 단락 방향
+ Left-to-right paragraph direction 왼쪽에서 오른쪽 단락 방향
+ Right-to-left paragraph direction 오른쪽에서 왼쪽 단락 방향
+ Not rendered: this adjustment ({key}) is kept as imported. 렌더링되지 않음: 이 조정({key})은 가져온 상태 그대로 유지됩니다.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube 색조 큐브
+ Brightness Cube 밝기 큐브
+ Color Wheel 색상환
+ Grayscale Slider 회색 음영 슬라이더
+ RGB Sliders RGB 슬라이더
+ HSB Sliders HSB 슬라이더
+ CMYK Sliders CMYK 슬라이더
+ Lab Sliders Lab 슬라이더
+ Web Color Sliders 웹 색상 슬라이더
+ Copy Color as HTML 색상을 HTML로 복사
+ Copy Color's Hex Code 색상의 16진수 코드 복사
+ RGB Spectrum RGB 스펙트럼
+ CMYK Spectrum CMYK 스펙트럼
+ Grayscale Ramp 회색 음영 램프
+ Current Colors 현재 색상
+ Make Ramp Web Safe 램프를 웹 안전 색상으로 만들기
diff --cc crates/ui-egui/src/i18n/nl.tsv
index 2500efd59,d7ed2070c..a18d890f6
--- a/crates/ui-egui/src/i18n/nl.tsv
+++ b/crates/ui-egui/src/i18n/nl.tsv
@@@ -4123,29 -4060,19 +4123,45 @@@ curves Smooth Vloeiend make
# Graphics Adapter preference (#1885)
GPU adapter GPU-adapter
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Stijlen importeren…
+ Export Selected Styles… Geselecteerde stijlen exporteren…
+ Export Styles… Stijlen exporteren…
+ {file} is not a style library (.asl) {file} is geen stijlbibliotheek (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} {n} stijl geïmporteerd uit {file}|{n} stijlen geïmporteerd uit {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} {n} stijl geëxporteerd naar {file}|{n} stijlen geëxporteerd naar {file}
+# 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 handelingsstap
+ Pro Medium Gray Pro middelgrijs
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro lichtgrijs
+ Pro Light Pro licht
+ Resize Windows to Fit Venstergrootte aanpassen
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Automatische alinearichting
+ Left-to-right paragraph direction Alinearichting van links naar rechts
+ Right-to-left paragraph direction Alinearichting van rechts naar links
+ Not rendered: this adjustment ({key}) is kept as imported. Niet weergegeven: deze aanpassing ({key}) blijft behouden zoals geïmporteerd.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Kleurtoonkubus
+ Brightness Cube Helderheidskubus
+ Color Wheel Kleurenwiel
+ RGB Sliders RGB-schuifregelaars
+ HSB Sliders HSB-schuifregelaars
+ CMYK Sliders CMYK-schuifregelaars
+ Lab Sliders Lab-schuifregelaars
+ Web Color Sliders Webkleurschuifregelaars
+ Copy Color as HTML Kleur kopiëren als HTML
+ Copy Color's Hex Code Hexadecimale code van kleur kopiëren
+ RGB Spectrum RGB-spectrum
+ CMYK Spectrum CMYK-spectrum
+ Grayscale Ramp Grijswaardenbalk
+ Current Colors Huidige kleuren
+ Make Ramp Web Safe Balk beperken tot webkleuren
diff --cc crates/ui-egui/src/i18n/pl.tsv
index 7d058db9b,6ea307a74..89c4dd48e
--- a/crates/ui-egui/src/i18n/pl.tsv
+++ b/crates/ui-egui/src/i18n/pl.tsv
@@@ -3979,29 -3900,19 +3979,45 @@@ curves Smooth Wygład�
# Graphics Adapter preference (#1885)
GPU adapter Karta GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Importuj style…
+ Export Selected Styles… Eksportuj zaznaczone style…
+ Export Styles… Eksportuj style…
+ {file} is not a style library (.asl) {file} nie jest biblioteką stylów (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} Zaimportowano {n} styl z {file}|Zaimportowano {n} style z {file}|Zaimportowano {n} stylów z {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} Wyeksportowano {n} styl do {file}|Wyeksportowano {n} style do {file}|Wyeksportowano {n} stylów do {file}
+# 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 operacji
+ Pro Medium Gray Pro (średni szary)
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro (jasnoszary)
+ Pro Light Pro (jasny)
+ Resize Windows to Fit Dopasuj rozmiar okien
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Automatyczny kierunek akapitu
+ Left-to-right paragraph direction Kierunek akapitu od lewej do prawej
+ Right-to-left paragraph direction Kierunek akapitu od prawej do lewej
+ Not rendered: this adjustment ({key}) is kept as imported. Nie jest renderowana: ta korekta ({key}) jest zachowana w postaci zaimportowanej.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Sześcian odcienia
+ Brightness Cube Sześcian jasności
+ Color Wheel Koło kolorów
+ RGB Sliders Suwaki RGB
+ HSB Sliders Suwaki HSB
+ CMYK Sliders Suwaki CMYK
+ Lab Sliders Suwaki Lab
+ Web Color Sliders Suwaki kolorów internetowych
+ Copy Color as HTML Kopiuj kolor jako HTML
+ Copy Color's Hex Code Kopiuj kod szesnastkowy koloru
+ RGB Spectrum Widmo RGB
+ CMYK Spectrum Widmo CMYK
+ Grayscale Ramp Pasek skali szarości
+ Current Colors Bieżące kolory
+ Make Ramp Web Safe Ogranicz pasek do kolorów internetowych
diff --cc crates/ui-egui/src/i18n/pt-br.tsv
index 4751c6bb7,e6c1aeb49..8d0133706
--- a/crates/ui-egui/src/i18n/pt-br.tsv
+++ b/crates/ui-egui/src/i18n/pt-br.tsv
@@@ -4153,178 -4090,19 +4153,194 @@@ layerLabel No Color Sem co
# Graphics Adapter preference (#1885)
GPU adapter Adaptador de GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Importar estilos…
+ Export Selected Styles… Exportar estilos selecionados…
+ Export Styles… Exportar estilos…
+ {file} is not a style library (.asl) {file} não é uma biblioteca de estilos (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} {n} estilo importado de {file}|{n} estilos importados de {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} {n} estilo exportado para {file}|{n} estilos exportados para {file}
+# 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ção
+
+# Channels panel menu: channel commands, spot channels, Quick Mask, Color Indicates
+ New Channel… Novo canal…
+ Duplicate Channel Duplicar canal
+ Delete Channel Excluir canal
+ Rename Channel… Renomear canal…
+ New Spot Channel… Novo canal de cor especial…
+ Merge Spot Channel Mesclar canal de cor especial
+ Convert to Alpha Channel Converter em canal alfa
+ Split Channels Dividir canais
+ Merge Channels… Mesclar canais…
+ Exit Quick Mask Sair da máscara rápida
+ Color Indicates Masked Areas A cor indica áreas mascaradas
+ Color Indicates Selected Areas A cor indica áreas selecionadas
+
+# Layer Style › Blending Options: advanced blending and Blend If
+ General Blending Mesclagem geral
+ Shallow Raso
+ Deep Profundo
+ Blend Interior Effects as Group Mesclar efeitos internos como grupo
+ Blend Clipped Layers as Group Mesclar camadas recortadas como grupo
+ Transparency Shapes Layer A transparência define a forma da camada
+ Layer Mask Hides Effects A máscara de camada oculta os efeitos
+ Vector Mask Hides Effects A máscara vetorial oculta os efeitos
+ This Layer: Esta camada:
+ Underlying Layer: Camada subjacente:
+
+# Canvas right-click menus: pasteboard color, paths and shapes
+ Dark Gray Cinza-escuro
+ Medium Gray Cinza médio
+ Select Custom Color… Selecionar cor personalizada…
+ Color Picker (Custom Canvas Color) Seletor de cores (Cor personalizada da tela de pintura)
+ Make Work Path… Criar demarcador de trabalho…
+ Create Vector Mask Criar máscara vetorial
+ Make Selection… Fazer seleção…
+ Fill Path… Preencher demarcador…
+ Clipping Path… Demarcador de corte…
+ Free Transform Path Transformação livre do demarcador
+ Unite Shapes at Overlap Unir formas na sobreposição
+ Subtract Shapes at Overlap Subtrair formas na sobreposição
+ Copy Fill Copiar preenchimento
+ Copy Complete Stroke Copiar traçado completo
+ Paste Fill Colar preenchimento
+ Paste Complete Stroke Colar traçado completo
+ Make Symmetry Path Criar demarcador de simetria
+ Disable Symmetry Path Desativar demarcador de simetria
+
+# Color Picker titles
+ Color Picker (Foreground Color) Seletor de cores (Cor de primeiro plano)
+ Color Picker (Background Color) Seletor de cores (Cor de fundo)
+ Pick Color From Image Escolher cor da imagem
+
+# Rasterize prompts
+ This layer must be rasterized before proceeding. Esta camada precisa ser rasterizada antes de continuar.
+ This type layer must be rasterized before proceeding. Its text will no longer be editable. Rasterize the type? Esta camada de texto precisa ser rasterizada antes de continuar. O texto não poderá mais ser editado. Rasterizar o texto?
+ This shape layer must be rasterized before proceeding. It will no longer be editable as a shape. Rasterize the shape? Esta camada de forma precisa ser rasterizada antes de continuar. Ela não poderá mais ser editada como forma. Rasterizar a forma?
+ This Smart Object must be rasterized before proceeding. Its contents will no longer be editable. Rasterize the Smart Object? Este objeto inteligente precisa ser rasterizado antes de continuar. O conteúdo não poderá mais ser editado. Rasterizar o objeto inteligente?
+ This fill layer must be rasterized before proceeding. Its fill content will no longer be editable. Rasterize the layer? Esta camada de preenchimento precisa ser rasterizada antes de continuar. O conteúdo do preenchimento não poderá mais ser editado. Rasterizar a camada?
+
+# GPU and display status (status bar, System Info)
+ Graphics adapter: {adapter} Adaptador gráfico: {adapter}
+ Backend: {backend} ({type}) Backend: {backend} ({type})
+ Driver: {driver} Driver: {driver}
+ GPU backend preference: {backend} Preferência de backend da GPU: {backend}
+ Selected at launch: {backend} Selecionado ao iniciar: {backend}
+ Image compositor: {processor} Compositor de imagens: {processor}
+ Window renderer: {renderer} Renderizador da janela: {renderer}
+ Graphics adapter Adaptador gráfico
+ Software adapter Adaptador de software
+ unknown type tipo desconhecido
+ Fallback: {reason} Modo alternativo: {reason}
+ This session: {reason} Nesta sessão: {reason}
+ Platform: {os} {arch} Plataforma: {os} {arch}
+ GPU retry scheduled Nova tentativa da GPU agendada
+ Save your work and restart PhotoCraft to retry GPU acceleration. CPU rendering remains active for this session. Salve seu trabalho e reinicie o PhotoCraft para tentar a aceleração por GPU novamente. A renderização pela CPU continua ativa nesta sessão.
+ GPU device was lost; using the CPU renderer. O dispositivo da GPU foi perdido; usando o renderizador da CPU.
+ GPU error; using the CPU renderer. Erro da GPU; usando o renderizador da CPU.
+ Monitor profile: {profile} Perfil do monitor: {profile}
+ Monitor profile in use: {profile} Perfil do monitor em uso: {profile}
+ Monitor profile in use on {display}: {profile} Perfil do monitor em uso em {display}: {profile}
+ Monitor profile on {display}: {profile} Perfil do monitor em {display}: {profile}
+ Monitor profile on {display} (main window): {profile} Perfil do monitor em {display} (janela principal): {profile}
+ Display profiles: {reason} Perfis de tela: {reason}
+ Display profile not used Perfil de tela não usado
+ previous reading kept; the last re-read failed: {reason} leitura anterior mantida; a última releitura falhou: {reason}
+ The canvas is shown as sRGB. Choose a monitor profile in Edit › Color Settings. A tela de pintura é exibida como sRGB. Escolha um perfil de monitor em Editar › Configurações de cores.
+ The canvas on {display} is shown as sRGB. Choose a monitor profile in Edit › Color Settings. A tela de pintura em {display} é exibida como sRGB. Escolha um perfil de monitor em Editar › Configurações de cores.
+
+# Status messages
+ Nothing to paste: the clipboard holds no image Nada para colar: a área de transferência não contém imagem
+ Opened {url} Aberto: {url}
+ Preferences saved Preferências salvas
+ Preferences were reset: {error} As preferências foram redefinidas: {error}
+ Couldn't save preferences: {error}. Retrying… Não foi possível salvar as preferências: {error}. Tentando novamente…
+ Preferences can't be saved Não é possível salvar as preferências
+ PhotoCraft keeps retrying; until a save succeeds, preference changes are lost when it closes. O PhotoCraft continua tentando; até que um salvamento dê certo, as alterações nas preferências serão perdidas ao fechar.
+ Invalid panel layout; restored the default dock Layout de painéis inválido; a disposição padrão dos painéis foi restaurada
+ Recovered {name} Recuperado: {name}
+ Autosave failed: {error} Falha ao salvar automaticamente: {error}
+ Exported presets to {path} Predefinições exportadas para {path}
+ Ran script {name} Script executado: {name}
+ Sent to the printer ({spooler}) Enviado para a impressora ({spooler})
+ Printed to {path} Impresso em {path}
+ Exported {path} ({size}) Exportado: {path} ({size})
+ Exported {path} Exportado: {path}
+ Saved a copy as {path} Cópia salva como {path}
+ Exported contents to {path} Conteúdo exportado para {path}
+ Saved {path}; image assets: {n} in {dir} Salvo: {path}; recursos de imagem: {n} em {dir}
+ Couldn't open {name}: {error} Não foi possível abrir {name}: {error}
+ Added swatch {name} Amostra adicionada: {name}
+ {message} (notes: {n}; {warning}) {message} (observações: {n}; {warning})
+ Step {step} ({id}) failed: {error} Falha na etapa {step} ({id}): {error}
+ Could not rename the action: {error} Não foi possível renomear a ação: {error}
+ Action playback failed: {error} Falha ao reproduzir a ação: {error}
+ Clone source set at {x}, {y} Origem da clonagem definida em {x}, {y}
+ Color management: {error} Gerenciamento de cores: {error}
+ No custom shape "{name}": pick one in the options bar or Window › Shapes Nenhuma forma personalizada “{name}”: escolha uma na barra de opções ou em Janela › Formas
+ {label} is not available: {reason} {label} não está disponível: {reason}
+ Open Recent is unavailable on the web Abrir recentes não está disponível na web
+ Importing {what} from {file}… Importando {what} de {file}…
+ brushes pincéis
+ gradients degradês
+ This adjustment ({key}) is kept as imported and can't be edited yet. Este ajuste ({key}) é mantido como foi importado e ainda não pode ser editado.
+ {shortcut} assigned. {shortcut} atribuído.
+ {shortcut} is already in use by {commands} and will be removed from it when you click OK. {shortcut} já está em uso por {commands} e será removido de lá quando você clicar em OK.
+
+# Panels and small controls
+ Grid view Visualização em grade
+ List view Visualização em lista
+ New Brush Preset Nova predefinição de pincel
+ Toggle the Brush Settings panel Alternar o painel Configurações do pincel
+ Scroll menu up Rolar o menu para cima
+ Scroll menu down Rolar o menu para baixo
+ {index} of {total} {index} de {total}
+ Data Set: {name} ({index}/{total}) Conjunto de dados: {name} ({index}/{total})
+ (none) (nenhum)
+ Apply {option}: {state} Aplicar {option}: {state}
+ on ativado
+ off desativado
+
+# Liquify tools (tooltips)
+ Forward Warp Deformação para frente
+ Twirl Clockwise Torcer no sentido horário
+ Twirl Counterclockwise Torcer no sentido anti-horário
+ Pucker Franzir
+ Bloat Inflar
+ Push Left Empurrar para a esquerda
+ Freeze Mask Congelar máscara
+ Thaw Mask Descongelar máscara
+ Pro Medium Gray Pro cinza médio
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro cinza claro
+ Pro Light Pro claro
+ Resize Windows to Fit Redimensionar janelas para caber
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Direção automática do parágrafo
+ Left-to-right paragraph direction Direção do parágrafo da esquerda para a direita
+ Right-to-left paragraph direction Direção do parágrafo da direita para a esquerda
+ Not rendered: this adjustment ({key}) is kept as imported. Não renderizado: este ajuste ({key}) é mantido como foi importado.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Cubo de matiz
+ Brightness Cube Cubo de brilho
+ Color Wheel Roda de cores
+ RGB Sliders Controles deslizantes RGB
+ HSB Sliders Controles deslizantes HSB
+ CMYK Sliders Controles deslizantes CMYK
+ Lab Sliders Controles deslizantes Lab
+ Web Color Sliders Controles deslizantes de cores da Web
+ Copy Color as HTML Copiar cor como HTML
+ Copy Color's Hex Code Copiar código hexadecimal da cor
+ RGB Spectrum Espectro RGB
+ CMYK Spectrum Espectro CMYK
+ Grayscale Ramp Rampa de tons de cinza
+ Current Colors Cores atuais
+ Make Ramp Web Safe Tornar rampa segura para a Web
diff --cc crates/ui-egui/src/i18n/ru.tsv
index d7a335de3,f434f5ac0..90f0494b4
--- a/crates/ui-egui/src/i18n/ru.tsv
+++ b/crates/ui-egui/src/i18n/ru.tsv
@@@ -3844,753 -3278,19 +3844,769 @@@ curves Smooth Сгладит�
# Graphics Adapter preference (#1885)
GPU adapter Адаптер GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Импортировать стили…
+ Export Selected Styles… Экспортировать выбранные стили…
+ Export Styles… Экспортировать стили…
+ {file} is not a style library (.asl) {file} не является библиотекой стилей (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} Импортирован {n} стиль из {file}|Импортировано {n} стиля из {file}|Импортировано {n} стилей из {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} Экспортирован {n} стиль в {file}|Экспортировано {n} стиля в {file}|Экспортировано {n} стилей в {file}
+# Actions: a step dialog holds a suspended recording (#7365)
+ Confirm or cancel the open action step dialog first Сначала подтвердите или отмените открытый диалог шага операции
+ Pro Medium Gray Средне-серая Pro
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Светло-серая Pro
+ Pro Light Светлая Pro
+ Resize Windows to Fit Подгонять размер окон
+
+ EXR EXR
+ Increase Brush Size Увеличить размер кисти
+ Increase Type Size Увеличить размер текста
+ Increase Type Size by 10 Увеличить размер текста на 10
+ Indent first line Отступ первой строки
+ Indent left margin Отступ слева
+ Indent right margin Отступ справа
+ Indexed Индексированный
+ Infinite Бесконечный
+ Information Информация
+ Initial Direction Начальное направление
+ Ink Outlines Обводка контура
+ Inner Bevel Внутренняя фаска
+ Input Вход
+ Input Levels Входные уровни
+ Input Mode Режим ввода
+ Install Plug-in Установить плагин
+ Intensity Интенсивность
+ Intent Метод преобразования
+ Interpret Footage Интерпретировать материал
+ Intersect with selection (⇧⌥) Пересечение с выделенной областью (⇧⌥)
+ Interval Интервал
+ Invalid panel layout; restored the default dock Недопустимый макет панелей; восстановлена пристыковка по умолчанию
+ Invert Mask Инвертировать маску
+ Invert Selection Инвертировать выделенную область
+ Iris Blur Диафрагменное размытие
+ Ivy Плющ
+ Jag Зубчатость
+ Join the ArtCraft Discord Discord сообщества ArtCraft
+ Join the ArtCraft Discord ({url}) Присоединиться к Discord ArtCraft ({url})
+ Keeps the current texture when switching presets. Сохраняет текущую текстуру при смене набора.
+ Kernel Ядро
+ Kerning: Metrics, Optical or a value in 1/1000 em (Alt+←/→ at the caret) Кернинг: метрический, оптический или значение в 1/1000 em (Alt+←/→ у курсора)
+ Keyboard Клавиатура
+ Lab Lab
+ Landscape, 10 x 8 Альбомная, 10 x 8
+ Landscape, 6 x 4 Альбомная, 6 x 4
+ Landscape, 7 x 5 Альбомная, 7 x 5
+ Latin 1 Латиница 1
+ Latin Extended-A Латиница расширенная A
+ Latin Extended-B Латиница расширенная B
+ Layer Comps to Files Варианты слоя в файлы
+ Layer Content Options Параметры содержимого слоя
+ Layer Count Число слоёв
+ Layer From Background Слой из фона
+ Layer Knocks Out Drop Shadow Слой выбивает тень
+ Layer Mask Hides Effects Маска слоя скрывает эффекты
+ Layer Properties Свойства слоя
+ Layer Styles Стили слоя
+ Layer from Background Слой из фона
+ Layers to Files Слои в файлы
+ Layout Макет
+ Leading (set to the font size × auto-leading when Auto) Интерлиньяж (при значении «Авто» равен размеру шрифта × автоматический интерлиньяж)
+ Leaf Color Цвет листьев
+ Learn More Подробнее
+ Leaves Amount Количество листьев
+ Leaves Color Цвет листьев
+ Leaves Size Размер листьев
+ Left Diagonal Левая диагональ
+ Legacy Устаревший
+ Legal Legal
+ Lens Blur Размытие при малой глубине
+ Lens Correction Коррекция дисторсии
+ Lens Flare Блик от объектива
+ Less Меньше
+ Letter Letter
+ Level Based На основе уровней
+ Library Библиотека
+ Light Dark Balance Баланс светлого и тёмного
+ Light Direction Направление света
+ Light Intensity Интенсивность света
+ Light Rough Светлый шероховатый
+ Light Type Тип света
+ Light X Свет X
+ Light Y Свет Y
+ Light Z Свет Z
+ Lighten Grout Осветлить швы
+ Lighten Only Только осветление
+ Lighting Освещение
+ Lighting Effects Эффекты освещения
+ Linear Dodge Линейный осветлитель
+ Linear Height Линейная высота
+ Linear-srgb Линейный sRGB
+ Link Связать
+ Liquify Пластичность
+ List Список
+ List view Вид списком
+ Live Preview Живой просмотр
+ Load 3D LUT Загрузить 3D LUT
+ Load Files into Stack Загрузить файлы в стопку
+ Load path as a selection Загрузить контур как выделенную область
+ Loading… Загрузка…
+ Lock All Заблокировать всё
+ Lock Image Pixels Заблокировать пиксели изображения
+ Lock Position Закрепить положение
+ Lock Transparent Pixels Заблокировать прозрачные пиксели
+ Locked Заблокировано
+ Long Lines Длинные линии
+ Long Strokes Длинные штрихи
+ Lorem Ipsum Lorem Ipsum
+ Lower Нижний
+ Lum Ярк.
+ Lut LUT
+ Magentas Пурпурные тона
+ Make Selection from Path Создать выделенную область из контура
+ Make Selection… Создать выделенную область…
+ Make Symmetry Path Создать контур симметрии
+ Make Work Path… Создать рабочий контур…
+ Make work path from selection Создать рабочий контур из выделенной области
+ Manual Вручную
+ Map Document Документ карты
+ Map Layer Слой карты
+ Map Path Путь к карте
+ Mask Channel Канал-маска
+ Mask Incomplete Blocks Маскировать неполные блоки
+ Mask None Без маски
+ Masks Маски
+ Match Color Подбор цвета
+ Math Symbols Математические символы
+ Max Offset Макс. смещение
+ Max Radius Макс. радиус
+ Measurement Scale Масштаб измерений
+ Measurement Scale Marker Маркер масштаба измерений
+ Medium Dots Средние точки
+ Medium Gray Средне-серый
+ Medium Lines Средние линии
+ Medium Strokes Средние штрихи
+ Merge Channels… Объединить каналы…
+ Merge Spot Channel Объединить цветовой канал
+ Merge to HDR Pro Объединить в HDR Pro
+ Metallic Металлический
+ Metrics Метрики
+ Mezzotint Меццотинто
+ Middle Середина
+ Midtone Полутон
+ Monitor Profile Профиль монитора
+ Monitor profile in use on {display}: {profile} Используемый профиль монитора на {display}: {profile}
+ Monitor profile in use: {profile} Используемый профиль монитора: {profile}
+ Monitor profile on {display} (main window): {profile} Профиль монитора для {display} (главное окно): {profile}
+ Monitor profile on {display}: {profile} Профиль монитора для {display}: {profile}
+ Monitor profile: {profile} Профиль монитора: {profile}
+ Mono Contrast Монохромный контраст
+ Monochromatic Монохромный
+ More Больше
+ Mosaic Мозаика
+ Mosaic Tiles Мозаичные плитки
+ Motion Blur Размытие в движении
+ Mouse Мышь
+ Move Layer Переместить слой
+ Movie Prime Киносъёмочный фикс
+ Multiple Flames Along Path Несколько языков пламени вдоль контура
+ Multiple Flames One Direction Несколько языков пламени в одном направлении
+ Multiple Flames Path Directions Несколько языков пламени по направлениям контура
+ Multiple Flames Various Length Несколько языков пламени разной длины
+ My Brushes Мои кисти
+ Native file drag-and-drop is not supported on Wayland yet. Use File › Open, or run PhotoCraft under XWayland with `WAYLAND_DISPLAY= photocraft`. Перетаскивание файлов ещё не поддерживается в Wayland. Используйте «Файл › Открыть» или запустите PhotoCraft под XWayland с `WAYLAND_DISPLAY= photocraft`.
+ Nearest Ближайший
+ Neon Glow Неоновое свечение
+ Neutralize Нейтрализовать
+ Neutrals Нейтральные тона
+ New Brush Preset Новый набор параметров кисти
+ New Channel… Новый канал…
+ New Guide Новая направляющая
+ New Guide Layout Схема направляющих
+ New Spot Channel… Новый цветовой канал…
+ New Video Layer from File Новый видеослой из файла
+ New Window Новое окно
+ New Workspace Новая рабочая среда
+ New document Новый документ
+ New document… Новый документ…
+ New document… ⌘N Новый документ… ⌘N
+ Next Далее
+ No Document Нет документа
+ No Image Нет изображения
+ No Layers Нет слоёв
+ No Results Нет результатов
+ No Results Found Ничего не найдено
+ No Selection Нет выделенной области
+ No custom shape "{name}": pick one in the options bar or Window › Shapes Нет произвольной фигуры «{name}»: выберите её на панели параметров или в меню «Окно › Фигуры»
+ No layers Нет слоёв
+ No recent files Нет недавних файлов
+ No selection Нет выделенной области
+ Noise Color Цветовой шум
+ Noise Color Detail Цветовая детализация шума
+ Noise Luminance Яркостный шум
+ Noise Luminance Detail Яркостная детализация шума
+ Nothing to Redo Нечего повторить
+ Nothing to Undo Нечего отменить
+ Nothing to paste: the clipboard holds no image Нечего вставлять: в буфере обмена нет изображения
+ Number Of Levels Число уровней
+ Numbers Числа
+ Ocean Ripple Океанские волны
+ Octagon Восьмиугольник
+ Odd Fields Нечётные поля
+ Oil Paint Масляная живопись
+ On Вкл.
+ One Flame Along Path Один язык пламени вдоль контура
+ Open As Открыть как
+ Open File Открыть файл
+ Open Folder Открыть папку
+ Open Image Открыть изображение
+ Open Recent is unavailable on the web «Открыть недавние» недоступно в веб-версии
+ Opened {url} Открыто: {url}
+ Opening Открытие
+ Open… ⌘O Открыть… ⌘O
+ Operation canceled Операция отменена
+ Operation cancelled Операция отменена
+ Operation completed Операция завершена
+ Operation failed Операция не выполнена
+ Optical Оптический
+ Original Ratio Исходное соотношение
+ Out Black Выходной чёрный
+ Out From Center От центра наружу
+ Out Of Gamut Вне охвата
+ Out White Выходной белый
+ Out of memory Недостаточно памяти
+ Outer Bevel Внешняя фаска
+ Output Levels Выходные уровни
+ Oval Овал
+ Overlay Edge Наложение края
+ Overlay: Rule of Thirds Наложение: правило третей
+ PSD PSD
+ Package Упаковать
+ Page Setup… Параметры страницы…
+ Paint Daubs Мазки краской
+ Paints from the document's opening state Рисует по состоянию документа на момент открытия
+ Palette Knife Шпатель
+ Panel Панель
+ Paper Бумага
+ Paper Brightness Яркость бумаги
+ Parallel Параллельно
+ Paste Complete Stroke Вставить полный контур
+ Paste Fill Вставить заливку
+ Patchwork Лоскутное шитьё
+ Path Blur Размытие по контуру
+ Paths to Illustrator Контуры в Illustrator
+ Pattern Fill… Заливка узором…
+ Pattern Type Тип узора
+ Pencil Width Ширина карандаша
+ Pentagon Пятиугольник
+ Percentage Процент
+ Permission denied Доступ запрещён
+ PhotoCraft keeps retrying; until a save succeeds, preference changes are lost when it closes. PhotoCraft продолжает попытки; пока сохранение не удастся, изменения настроек будут потеряны при закрытии.
+ Photomerge Фотослияние
+ Pick Color From Image Выбрать цвет на изображении
+ Picture Frame Рамка
+ Pillow Emboss Подушковидное тиснение
+ Pinch Сжатие
+ Pins Булавки
+ Place Embedded Поместить встроенный
+ Place Linked Поместить связанный
+ Place Scale Marker Шкала масштаба
+ Plane Плоскость
+ Planes Плоскости
+ Plastic Wrap Пластиковая упаковка
+ Platform: {os} {arch} Платформа: {os} {arch}
+ Please wait… Подождите…
+ Point Точка
+ Point Curve Точечная кривая
+ Point Curve Blue Точечная кривая: синяя
+ Point Curve Green Точечная кривая: зелёная
+ Point Curve Red Точечная кривая: красная
+ Pointed Заострённый
+ Pointillize Пуантилизм
+ Polar Coordinates Полярные координаты
+ Polar To Rectangular Полярные в прямоугольные
+ Policy Cmyk Правила для CMYK
+ Policy Gray Правила для градаций серого
+ Policy Rgb Правила для RGB
+ Pond Ripples Волны на пруду
+ Portrait, 4 x 6 Книжная, 4 x 6
+ Portrait, 5 x 7 Книжная, 5 x 7
+ Postcard Открытка
+ Poster Плакат
+ Poster Edges Плакатные края
+ Posterization Постеризация
+ Preferences can't be saved Не удаётся сохранить настройки
+ Preferences saved Настройки сохранены
+ Preferences were reset: {error} Настройки сброшены: {error}
+ Preferences… Настройки…
+ Preserve Сохранить
+ Preset Manager Управление наборами
+ Press keys Нажмите клавиши
+ Preview Image Просмотр изображения
+ Previous Назад
+ Prime105 Prime 105
+ Prime35 Prime 35
+ Printed to {path} Напечатано в {path}
+ Pro (Dark) Pro (тёмная)
+ Pro (Medium Gray) Pro (средне-серая)
+ Processing… Обработка…
+ Profile Профиль
+ Proof Setup… Настройка пробного отпечатка…
+ Prophoto-compat ProPhoto RGB (совместимо)
+ Pucker Сморщивание
+ Push Left Сдвиг влево
+ Pyramids Пирамиды
+ Quick Actions Быстрые действия
+ Quit Выход
+ Quit PhotoCraft Выйти из PhotoCraft
+ Quit {app} Выйти из {app}
+ R G B R G B
+ R g b R g b
+ Radial Радиальный
+ Radial Blur Радиальное размытие
+ Radius X Радиус X
+ Radius Y Радиус Y
+ Ran script {name} Выполнен сценарий {name}
+ Randomize Length Случайная длина
+ Randomize Shapes Случайные фигуры
+ Rasterize Fill Content Растрировать содержимое заливки
+ Rasterize Smart Object Растрировать смарт-объект
+ Ratio Соотношение
+ Raw Defaults Значения RAW по умолчанию
+ Reading Чтение
+ Ready Готово
+ Rec2020 Rec. 2020
+ Recent Files Недавние файлы
+ Reconstruct All Восстановить всё
+ Recovered {name} Восстановлено: {name}
+ Rectangular Selection Прямоугольная выделенная область
+ Rectangular To Polar Прямоугольные в полярные
+ Red Cyan Красный–голубой
+ Reds Красные тона
+ Reduce Color Noise Уменьшить цветовой шум
+ Reduce Noise Уменьшить шум
+ Reflected Отражение
+ Relief Рельеф
+ Relink to File Повторно связать с файлом
+ Remove All Удалить всё
+ Remove Jpeg Artifact Удалить артефакты JPEG
+ Rename Brush Переименовать кисть
+ Rename Channel… Переименовать канал…
+ Rename Group Переименовать группу
+ Rename Tool Preset Переименовать набор
+ Render Video Экспорт видео
+ Rendering… Отрисовка…
+ Reorder Layer Изменить порядок слоя
+ Replace Color Замена цвета
+ Replace Contents Заменить содержимое
+ Replace Footage Заменить материал
+ Report a Bug Сообщить об ошибке
+ Report an Issue Сообщить о проблеме
+ Reset Alignment Сбросить выравнивание
+ Reset All Сбросить всё
+ Reset Preferences Сбросить настройки
+ Resolve Missing Fonts Устранить отсутствующие шрифты
+ Restart Перезапустить
+ Restart Required Требуется перезапуск
+ Resume Продолжить
+ Retry Повторить
+ Rgb RGB
+ Ridges Гребни
+ Right Diagonal Правая диагональ
+ Ripple Рябь
+ Ripple Magnitude Величина ряби
+ Ripple Size Размер ряби
+ Rope Верёвка
+ Roses Розы
+ Rough Pastels Пастель
+ Row Order Порядок строк
+ Rulers (⌘R) Линейки (⌘R)
+ Sample Size Размер образца
+ Sampled Colors Отобранные цвета
+ Sandstone Песчаник
+ Sat Насыщ.
+ Save As Сохранить как
+ Save Changes Сохранить изменения
+ Save File Сохранить файл
+ Save Image Сохранить изображение
+ Save Path Сохранить контур
+ Save Pixel Aspect Ratio Сохранить соотношение сторон пикселя
+ Save a Copy Сохранить копию
+ Save before closing? Сохранить перед закрытием?
+ Save for Web (Legacy) Сохранить для Web (устаревшее)
+ Save your work and restart PhotoCraft to retry GPU acceleration. CPU rendering remains active for this session. Сохраните работу и перезапустите PhotoCraft, чтобы повторить попытку ускорения GPU. Отрисовка на CPU остаётся активной в этом сеансе.
+ Saved a copy as {path} Копия сохранена как {path}
+ Saved {path}; image assets: {n} in {dir} Сохранено: {path}; графические ресурсы: {n} в {dir}
+ Saving… Сохранение…
+ Scale Effects Масштабировать эффекты
+ Scaling Масштабирование
+ Scallops Фестоны
+ Script Events Manager Диспетчер событий сценариев
+ Scroll menu down Прокрутить меню вниз
+ Scroll menu up Прокрутить меню вверх
+ Search commands Поиск команд
+ Search commands (⌘K) Поиск команд (⌘K)
+ Search commands, tools and panels Поиск команд, инструментов и панелей
+ Search menus Поиск по меню
+ Seed Зерно
+ Select Custom Color… Выбрать свой цвет…
+ Select Data Points Выбрать точки данных
+ Select Layer Выбрать слой
+ Select and Mask Выделение и маска
+ Selected at launch: {backend} Выбрано при запуске: {backend}
+ SemiBold Полужирный
+ Sensitivity Чувствительность
+ Sent to the printer ({spooler}) Отправлено на принтер ({spooler})
+ Sepia Сепия
+ Services Службы
+ Set Colors Задать цвета
+ Set Measurement Scale Задать масштаб измерений
+ Sgray sGray
+ Shadow Тень
+ Shadow Amount Величина теней
+ Shadow Intensity Интенсивность теней
+ Shadow Radius Радиус теней
+ Shadow Tone Тон теней
+ Shadows up to: Тени до:
+ Shadows/Highlights Тени/Света
+ Shallow Поверхностный
+ Shape Blur Размытие по фигуре
+ Sharpen Amount Величина резкости
+ Sharpen Detail Детализация резкости
+ Sharpen Details Резкость деталей
+ Sharpen Masking Маскирование резкости
+ Sharpen Radius Радиус резкости
+ Shear Искривление
+ Shine Блеск
+ Short Lines Короткие линии
+ Short Strokes Короткие штрихи
+ Shortcut Сочетание клавиш
+ Shortcuts Сочетания клавиш
+ Show All Показать все
+ Show Extras Options Параметры вспомогательных элементов
+ Show Guides Показать направляющие
+ Show Guides (⌘;) Показать направляющие (⌘;)
+ Show Rulers Показать линейки
+ Show the layer's effects (⌥-click: all layers) Показать эффекты слоя (⌥+щелчок: все слои)
+ Simple Простой
+ Simulate Paper Имитировать бумагу
+ Sine Синусоида
+ Sketch Эскиз
+ Skip Пропустить
+ Slice Options Параметры фрагмента
+ Smart Blur Умное размытие
+ Smart Sharpen Умная резкость
+ Smoothness Сглаженность
+ Smudge Stick Растушёвка
+ Snap to Grid Привязать к сетке
+ Snowflakes Снежинки
+ Soften Смягчить
+ Softness Мягкость
+ Software adapter Программный адаптер
+ Solarized Dark Solarized (тёмная)
+ Solid Color Однотонный цвет
+ Solid Front Faces Сплошные передние грани
+ Source Channel Канал-источник
+ Source Invert Инвертировать источник
+ Source Layer Исходный слой
+ Source1 Channel Канал источника 1
+ Source1 Invert Инвертировать источник 1
+ Source2 Channel Канал источника 2
+ Source2 Invert Инвертировать источник 2
+ Source: set Источник: задан
+ Space Пробел
+ Sparkle Искры
+ Spatter Разбрызгивание
+ Speckle Крапинки
+ Speed Скорость
+ Spherize Сферизация
+ Spin Вращение
+ Spin Blur Размытие вращением
+ Split Channels Разделить каналы
+ Spot Точечный
+ Spray Radius Радиус распыления
+ Sprayed Strokes Разбрызганные штрихи
+ Spread Разброс
+ Sprinkles Вкрапления
+ Square Size Размер квадрата
+ Square, 12 x 12 Квадратная, 12 x 12
+ Square, 5 x 5 Квадратная, 5 x 5
+ Squareness Квадратность
+ Stagger Смещение
+ Stained Glass Витраж
+ Star Звезда
+ Stars Звёзды
+ Start X Начало X
+ Start Y Начало Y
+ Statistics Статистика
+ Step {step} ({id}) failed: {error} Шаг {step} ({id}) не выполнен: {error}
+ Stippled Крапчатый
+ Stops Контрольные точки
+ Strength Сила
+ Stretch Растянуть
+ Stroke Color Цвет обводки
+ Stroke Detail Детализация обводки
+ Stroke Direction Направление обводки
+ Stroke Length Длина обводки
+ Stroke Pressure Нажим обводки
+ Stroke Size Размер обводки
+ Stroke Width Ширина обводки
+ Stroke path with brush Обвести контур кистью
+ Strokes Штрихи
+ Studio (Dark) Studio (тёмная)
+ Studio (Light) Studio (светлая)
+ Stylization Стилизация
+ Subtract Shapes at Overlap Вычесть фигуры при перекрытии
+ Subtract from selection (⌥) Вычесть из выделенной области (⌥)
+ Sumi-e Суми-э
+ Surface Blur Размытие по поверхности
+ Switch Foreground and Background Colors Поменять цвета переднего плана и фона
+ System Info Информация о системе
+ Tablet Планшет
+ Tabloid Tabloid
+ Taper Сужение
+ Target Цель
+ Target Channel 3 Целевой канал 3
+ Target Channel 4 Целевой канал 4
+ Target Channel 5 Целевой канал 5
+ Target Channel 6 Целевой канал 6
+ Target Channel 7 Целевой канал 7
+ Target Channel 8 Целевой канал 8
+ Target Channel 9 Целевой канал 9
+ Target Composite Channel Целевой составной канал
+ Target X Цель X
+ Target Y Цель Y
+ Teal Orange Бирюзовый–оранжевый
+ Technology Previews… Пробные технологии…
+ Temporary Временный
+ Text Layer Текстовый слой
+ Texture Coverage Покрытие текстуры
+ Texturizer Текстуризатор
+ Thaw Mask Разморозить маску
+ The canvas is shown as sRGB. Choose a monitor profile in Edit › Color Settings. Холст отображается как sRGB. Выберите профиль монитора в разделе «Редактирование › Настройки цвета».
+ The canvas on {display} is shown as sRGB. Choose a monitor profile in Edit › Color Settings. Холст на {display} отображается как sRGB. Выберите профиль монитора в разделе «Редактирование › Настройки цвета».
+ The current gradient (pick one in Window › Gradients) Текущий градиент (выберите в меню «Окно › Градиенты»)
+ The document does not have an embedded colour profile. Working space: {working}. Документ не содержит встроенного цветового профиля. Рабочее пространство: {working}.
+ The document has an embedded colour profile that does not match the working space.\nEmbedded: {embedded}\nWorking: {working} Документ содержит встроенный цветовой профиль, не совпадающий с рабочим пространством.\nВстроенный: {embedded}\nРабочее пространство: {working}
+ The file could not be opened. Не удалось открыть файл.
+ The file could not be saved. Не удалось сохранить файл.
+ Thickness Толщина
+ This Layer: Этот слой:
+ This Smart Object must be rasterized before proceeding. Its contents will no longer be editable. Rasterize the Smart Object? Перед продолжением необходимо растрировать этот смарт-объект. Его содержимое перестанет быть редактируемым. Растрировать смарт-объект?
+ This adjustment ({key}) is kept as imported and can't be edited yet. Эта коррекция ({key}) сохраняется в импортированном виде и пока не может быть изменена.
+ This fill layer must be rasterized before proceeding. Its fill content will no longer be editable. Rasterize the layer? Перед продолжением необходимо растрировать этот слой заливки. Содержимое заливки перестанет быть редактируемым. Растрировать слой?
+ This layer must be rasterized before proceeding. Перед продолжением необходимо растрировать этот слой.
+ This session: {reason} Этот сеанс: {reason}
+ This shape layer must be rasterized before proceeding. It will no longer be editable as a shape. Rasterize the shape? Перед продолжением необходимо растрировать этот слой фигуры. Он перестанет быть редактируемым как фигура. Растрировать фигуру?
+ This type layer must be rasterized before proceeding. Its text will no longer be editable. Rasterize the type? Перед продолжением необходимо растрировать этот текстовый слой. Его текст перестанет быть редактируемым. Растрировать текст?
+ Tile Size Размер плитки
+ Tiles Плитки
+ Tilt-Shift Наклон-сдвиг
+ Tint Color Цвет тонирования
+ Tiny Lens Маленькая линза
+ Title Заголовок
+ To До
+ To Center К центру
+ Toggle Layer Mask Overlay Переключить наложение маски слоя
+ Toggle the Brush Settings panel Переключить панель «Параметры кисти»
+ Toggle the Brush Settings panel (F5) Переключить панель «Параметры кисти» (F5)
+ Tool Options Параметры инструмента
+ Trace Contour Обводка контуров
+ Tracking (1/1000 em) Трекинг (1/1000 em)
+ Transformation Трансформирование
+ Transition Переход
+ Transparency Shapes Layer Прозрачность задаёт форму слоя
+ Trap Приводка
+ Tree Дерево
+ Trim Обрезать
+ Turbulent Турбулентность
+ Twirl Скручивание
+ Twirl Clockwise Скручивание по часовой стрелке
+ Twirl Counterclockwise Скручивание против часовой стрелки
+ Type Options Параметры текста
+ Unaltered Без изменений
+ Undefined Areas Неопределённые области
+ Underlying Layer: Нижележащий слой:
+ Underpainting Подмалёвок
+ Underwater Под водой
+ Ungroup Разгруппировать
+ Uniform Однородный
+ Unite Shapes at Overlap Объединить фигуры при перекрытии
+ Unlink Разъединить
+ Unlock Разблокировать
+ Unlocked Разблокировано
+ Unsaved Changes Несохранённые изменения
+ Unsharp Mask Нерезкое маскирование
+ Unsupported file format Неподдерживаемый формат файла
+ Unsupported format Неподдерживаемый формат
+ Up Вверх
+ Update Обновить
+ Updates Обновления
+ Upper Верхний
+ Use Custom Color Использовать свой цвет
+ Use File › Open to open an image. Используйте «Файл › Открыть», чтобы открыть изображение.
+ Use Selection In Source Использовать выделение в источнике
+ Use Selection In Target Использовать выделение в цели
+ Uses the foreground and background colors. Использует цвета переднего плана и фона.
+ Vanishing Point Точка схода
+ Variable Data Sets Наборы данных переменных
+ Vector Mask Hides Effects Векторная маска скрывает эффекты
+ Vertical Distortion Вертикальная дисторсия
+ Vertical Only Только по вертикали
+ Vertical Type Tool Инструмент «Вертикальный текст»
+ Vertical scale Масштаб по вертикали
+ Vertical type Вертикальный текст
+ Video Frames to Layers Видеокадры в слои
+ Vignette Amount Величина виньетки
+ Vignette Feather Растушёвка виньетки
+ Vignette Highlights Светлые тона виньетки
+ Vignette Midpoint Средняя точка виньетки
+ Vignette Roundness Округлость виньетки
+ Vignette Style Стиль виньетки
+ Vine Color Цвет лозы
+ Vine With Flowers Лоза с цветами
+ Vine With Leaves Лоза с листьями
+ Violent Сильный
+ W: Ш:
+ WIA Support Поддержка WIA
+ Warm Тёплый
+ Warming Filter (85) Согревающий фильтр (85)
+ Warming L B A Согревающий (LBA)
+ Warming81 Согревающий (81)
+ Warming85 Согревающий (85)
+ Warmth Теплота
+ Warning Предупреждение
+ Warp Text Деформация текста
+ Watercolor Акварель
+ Watercolour look: lighter interior, darker rims. Акварельный вид: светлее внутри, темнее по краям.
+ Wavelength Max Макс. длина волны
+ Wavelength Min Мин. длина волны
+ Waves Волны
+ Web Large Web (крупный)
+ Web Minimum Web (минимальный)
+ Web Most Common Web (наиболее распространённый)
+ WebP (lossless) WebP (без потерь)
+ Wetness Влажность
+ White Clip Отсечение белого
+ White Intensity Интенсивность белого
+ White Is High Белое — высокое
+ Whole Word Слово целиком
+ Wide Blurry Широкий размытый
+ Wide Sharp Широкий резкий
+ Wind Ветер
+ Window renderer: {renderer} Отрисовка окна: {renderer}
+ Working Рабочее
+ Working Cmyk Рабочий CMYK
+ Working Gray Рабочий: градации серого
+ Working Rgb Рабочий RGB
+ Working-cmyk Рабочий CMYK
+ Workspaces Рабочие среды
+ Wrap Оборачивание
+ Yellows Жёлтые тона
+ ZigZag Зигзаг
+ Zigzag Зигзаг
+ Zoom In (hold, drag to scrub) Увеличение (удерживайте, перетащите для прокрутки)
+ Zoom Out (hold) Уменьшение (удерживайте)
+ auto авто
+ blue синий
+ brushes кисти
+ fallback резерв
+ gradients градиенты
+ gray серый
+ green зелёный
+ layer mask маска слоя
+ manual вручную
+ none нет
+ off выключено
+ on включено
+ orange оранжевый
+ previous reading kept; the last re-read failed: {reason} сохранено предыдущее значение; последнее повторное чтение не удалось: {reason}
+ red красный
+ unknown неизвестно
+ unknown type неизвестный тип
+ vector mask векторная маска
+ violet фиолетовый
+ yellow жёлтый
+ {index} of {total} {index} из {total}
+ {label} is not available: {reason} {label} недоступно: {reason}
+ {message} (notes: {n}; {warning}) {message} (примечаний: {n}; {warning})
+ {shortcut} assigned. {shortcut} назначено.
+ {shortcut} is already in use by {commands} and will be removed from it when you click OK. {shortcut} уже используется командой {commands} и будет удалено из неё при нажатии «ОК».
+ {verb} {mask} {layer} {verb} {mask} {layer}
+ ↑↓ navigate ↵ run esc close ↑↓ навигация ↵ выполнить esc закрыть
+ ✓ Color Indicates Masked Areas ✓ Цветом обозначены маскированные области
+ ✓ Color Indicates Selected Areas ✓ Цветом обозначены выделенные области
+
+
+# Dynamic command-id, plural, and contextual labels (fourth pass).
+@id edit.clear Очистить
+@id edit.purge.undo Данные отмены
+@id edit.stroke Обвести…
+@id edit.transform.scale Масштабирование
+@id file.close Закрыть
+@id filter.sharpen.sharpen Резкость
+@id layer.layerMask.apply Применить
+@id select.all Выделить всё
+@plural Imported {n} brush from {file}|Imported {n} brushes from {file} Импортирована {n} кисть из {file}|Импортированы {n} кисти из {file}|Импортировано {n} кистей из {file}
+@plural Imported {n} gradient from {file}|Imported {n} gradients from {file} Импортирован {n} градиент из {file}|Импортированы {n} градиента из {file}|Импортировано {n} градиентов из {file}
+@plural Imported {n} pattern from {file}|Imported {n} patterns from {file} Импортирован {n} узор из {file}|Импортированы {n} узора из {file}|Импортировано {n} узоров из {file}
+cameraRaw Balance Баланс
+cameraRaw Clarity Чёткость
+cameraRaw Color Цвет
+cameraRaw Color Mixer Смеситель цветов
+cameraRaw Contrast Контраст
+cameraRaw Curve Кривая
+cameraRaw Dehaze Удаление дымки
+cameraRaw Detail Детализация
+cameraRaw Effects Эффекты
+cameraRaw Exposure Экспозиция
+cameraRaw Feather Растушёвка
+cameraRaw Highlights Света
+cameraRaw Luminance Яркость
+cameraRaw Masking Маскирование
+cameraRaw Midpoint Средняя точка
+cameraRaw Midtones Средние тона
+cameraRaw Radius Радиус
+cameraRaw Roundness Округлость
+cameraRaw Saturation Насыщенность
+cameraRaw Shadows Тени
+cameraRaw Size Размер
+cameraRaw Temperature Температура
+cameraRaw Texture Текстура
+cameraRaw Tint Оттенок
+cameraRaw Whites Белые точки
+colorRange Invert Инвертировать
+document Orientation Ориентация
+layerLabel Magenta Пурпурный
+layerLabel No Color Без цвета
+layerLabel Red Красный
+layers Fill Заливка
+layers Fill: Заливка:
+navigator Zoom Масштаб
+shape Appearance Оформление
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Автоматическое направление абзаца
+ Left-to-right paragraph direction Направление абзаца слева направо
+ Right-to-left paragraph direction Направление абзаца справа налево
+ Not rendered: this adjustment ({key}) is kept as imported. Не отображается: эта коррекция ({key}) сохранена как при импорте.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Куб цветового тона
+ Brightness Cube Куб яркости
+ Color Wheel Цветовой круг
+ RGB Sliders Ползунки RGB
+ HSB Sliders Ползунки HSB
+ CMYK Sliders Ползунки CMYK
+ Lab Sliders Ползунки Lab
+ Web Color Sliders Ползунки web-цветов
+ Copy Color as HTML Копировать цвет как HTML
+ Copy Color's Hex Code Копировать шестнадцатеричный код цвета
+ RGB Spectrum Спектр RGB
+ CMYK Spectrum Спектр CMYK
+ Grayscale Ramp Шкала градаций серого
+ Current Colors Текущие цвета
+ Make Ramp Web Safe Сделать шкалу безопасной для web
diff --cc crates/ui-egui/src/i18n/sr.tsv
index 67132c7b2,a2e74385f..28756900b
--- a/crates/ui-egui/src/i18n/sr.tsv
+++ b/crates/ui-egui/src/i18n/sr.tsv
@@@ -4435,29 -4371,19 +4435,45 @@@ shape Appearance Izgle
# Graphics Adapter preference (#1885)
GPU adapter GPU adapter
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Uvezi stilove…
+ Export Selected Styles… Izvezi izabrane stilove…
+ Export Styles… Izvezi stilove…
+ {file} is not a style library (.asl) {file} nije biblioteka stilova (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} Uvezen je {n} stil iz {file}|Uvezena su {n} stila iz {file}|Uvezeno je {n} stilova iz {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} Izvezen je {n} stil u {file}|Izvezena su {n} stila u {file}|Izvezeno je {n} stilova u {file}
+# 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 radnje
+ Pro Medium Gray Pro srednje siva
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro svetlosiva
+ Pro Light Pro svetla
+ Resize Windows to Fit Prilagodi veličinu prozora
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Automatski smer pasusa
+ Left-to-right paragraph direction Smer pasusa sleva nadesno
+ Right-to-left paragraph direction Smer pasusa zdesna nalevo
+ Not rendered: this adjustment ({key}) is kept as imported. Није приказано: ово прилагођавање ({key}) је задржано онако како је увезено.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Kocka nijanse
+ Brightness Cube Kocka osvetljenosti
+ Color Wheel Točak boja
+ RGB Sliders RGB klizači
+ HSB Sliders HSB klizači
+ CMYK Sliders CMYK klizači
+ Lab Sliders Lab klizači
+ Web Color Sliders Klizači veb boja
+ Copy Color as HTML Kopiraj boju kao HTML
+ Copy Color's Hex Code Kopiraj heksadecimalni kod boje
+ RGB Spectrum RGB spektar
+ CMYK Spectrum CMYK spektar
+ Grayscale Ramp Skala nijansi sive
+ Current Colors Trenutne boje
+ Make Ramp Web Safe Učini skalu bezbednom za veb
diff --cc crates/ui-egui/src/i18n/tr.tsv
index 94e0ed0f5,f7ce2d0d4..dc4c24d9a
--- a/crates/ui-egui/src/i18n/tr.tsv
+++ b/crates/ui-egui/src/i18n/tr.tsv
@@@ -4093,29 -4028,19 +4093,45 @@@ cameraData Lens Len
# Graphics Adapter preference (#1885)
GPU adapter GPU bağdaştırıcısı
+# Styles panel: Import / Export Styles (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} {file} dosyasından {n} stil içe aktarıldı
+@plural Exported {n} style to {file}|Exported {n} styles to {file} {n} stil {file} dosyasına dışa aktarıldı
+ Import Styles… Stilleri İçe Aktar…
+ Export Selected Styles… Seçili Stilleri Dışa Aktar…
+ Export Styles… Stilleri Dışa Aktar…
+ {file} is not a style library (.asl) {file} bir stil kitaplığı değil (.asl)
+# 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 edin
+ Pro Medium Gray Pro Orta Gri
+ Solarized Solarize
+ Breeze Esinti
+ Pro Light Gray Pro Açık Gri
+ Pro Light Profesyonel Işık
+ Resize Windows to Fit Pencereleri sığacak şekilde boyutlandır
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Otomatik paragraf yönü
+ Left-to-right paragraph direction Soldan sağa paragraf yönü
+ Right-to-left paragraph direction Sağdan sola paragraf yönü
+ Not rendered: this adjustment ({key}) is kept as imported. Görüntülenmiyor: bu ayarlama ({key}) içe aktarıldığı gibi korunuyor.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Renk Tonu Küpü
+ Brightness Cube Parlaklık Küpü
+ Color Wheel Renk Çarkı
+ RGB Sliders RGB Kaydırıcıları
+ HSB Sliders HSB Kaydırıcıları
+ CMYK Sliders CMYK Kaydırıcıları
+ Lab Sliders Lab Kaydırıcıları
+ Web Color Sliders Web Rengi Kaydırıcıları
+ Copy Color as HTML Rengi HTML Olarak Kopyala
+ Copy Color's Hex Code Rengin Onaltılık Kodunu Kopyala
+ RGB Spectrum RGB Spektrumu
+ CMYK Spectrum CMYK Spektrumu
+ Grayscale Ramp Gri Tonlama Şeridi
+ Current Colors Geçerli Renkler
+ Make Ramp Web Safe Şeridi Web Renkleriyle Sınırla
diff --cc crates/ui-egui/src/i18n/uk.tsv
index d51858d59,4952864b1..4b7d8fcf2
--- a/crates/ui-egui/src/i18n/uk.tsv
+++ b/crates/ui-egui/src/i18n/uk.tsv
@@@ -4072,29 -4009,19 +4072,45 @@@ curves Smooth Згладит�
# Graphics Adapter preference (#1885)
GPU adapter Адаптер GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Імпортувати стилі…
+ Export Selected Styles… Експортувати вибрані стилі…
+ Export Styles… Експортувати стилі…
+ {file} is not a style library (.asl) {file} не є бібліотекою стилів (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} Імпортовано {n} стиль з {file}|Імпортовано {n} стилі з {file}|Імпортовано {n} стилів з {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} Експортовано {n} стиль до {file}|Експортовано {n} стилі до {file}|Експортовано {n} стилів до {file}
+# Actions: a step dialog holds a suspended recording (#7365)
+ Confirm or cancel the open action step dialog first Спочатку підтвердьте або скасуйте відкритий діалог кроку операції
+ Pro Medium Gray Середньосіра «Профі»
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Світло-сіра «Профі»
+ Pro Light Світла «Профі»
+ Resize Windows to Fit Підганяти розмір вікон
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Автоматичний напрямок абзацу
+ Left-to-right paragraph direction Напрямок абзацу зліва направо
+ Right-to-left paragraph direction Напрямок абзацу справа наліво
+ Not rendered: this adjustment ({key}) is kept as imported. Не відображається: це коригування ({key}) збережено як було імпортовано.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Куб тону
+ Brightness Cube Куб яскравості
+ Color Wheel Колірне коло
+ RGB Sliders Повзунки RGB
+ HSB Sliders Повзунки HSB
+ CMYK Sliders Повзунки CMYK
+ Lab Sliders Повзунки Lab
+ Web Color Sliders Повзунки вебкольорів
+ Copy Color as HTML Копіювати колір як HTML
+ Copy Color's Hex Code Копіювати шістнадцятковий код кольору
+ RGB Spectrum Спектр RGB
+ CMYK Spectrum Спектр CMYK
+ Grayscale Ramp Шкала градацій сірого
+ Current Colors Поточні кольори
+ Make Ramp Web Safe Зробити шкалу безпечною для вебу
diff --cc crates/ui-egui/src/i18n/vi.tsv
index a7bd89b40,0eda1aaee..6c9676982
--- a/crates/ui-egui/src/i18n/vi.tsv
+++ b/crates/ui-egui/src/i18n/vi.tsv
@@@ -3855,29 -3791,20 +3855,46 @@@ curves Smooth Làm mượ
# Graphics Adapter preference (#1885)
GPU adapter Bộ điều hợp GPU
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… Nhập kiểu…
+ Export Selected Styles… Xuất các kiểu đã chọn…
+ Export Styles… Xuất kiểu…
+ {file} is not a style library (.asl) {file} không phải là thư viện kiểu (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} Đã nhập {n} kiểu từ {file}
+@plural Exported {n} style to {file}|Exported {n} styles to {file} Đã xuất {n} kiểu sang {file}
+# 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ước
+ Pro Medium Gray Pro xám vừa
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray Pro xám nhạt
+ Pro Light Pro sáng
+ Resize Windows to Fit Đổi cỡ cửa sổ cho vừa ảnh
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction Hướng đoạn văn tự động
+ Left-to-right paragraph direction Hướng đoạn văn từ trái sang phải
+ Right-to-left paragraph direction Hướng đoạn văn từ phải sang trái
+ Not rendered: this adjustment ({key}) is kept as imported. Không được kết xuất: điều chỉnh này ({key}) được giữ nguyên như khi nhập.
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube Khối sắc màu
+ Brightness Cube Khối độ sáng
+ Color Wheel Bánh xe màu
+ Grayscale Slider Thanh trượt thang xám
+ RGB Sliders Thanh trượt RGB
+ HSB Sliders Thanh trượt HSB
+ CMYK Sliders Thanh trượt CMYK
+ Lab Sliders Thanh trượt Lab
+ Web Color Sliders Thanh trượt màu web
+ Copy Color as HTML Sao chép màu dạng HTML
+ Copy Color's Hex Code Sao chép mã hex của màu
+ RGB Spectrum Phổ RGB
+ CMYK Spectrum Phổ CMYK
+ Grayscale Ramp Dải thang xám
+ Current Colors Màu hiện tại
+ Make Ramp Web Safe Giới hạn dải màu ở màu web
diff --cc crates/ui-egui/src/i18n/zh-hans.tsv
index edd08b42b,0255bd4ff..958669094
--- a/crates/ui-egui/src/i18n/zh-hans.tsv
+++ b/crates/ui-egui/src/i18n/zh-hans.tsv
@@@ -3022,29 -2935,20 +3022,46 @@@ curves Smooth 平�
# Graphics Adapter preference (#1885)
GPU adapter GPU 适配器
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… 导入样式…
+ Export Selected Styles… 导出所选样式…
+ Export Styles… 导出样式…
+ {file} is not a style library (.asl) {file} 不是样式库 (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} 已从 {file} 导入 {n} 个样式
+@plural Exported {n} style to {file}|Exported {n} styles to {file} 已将 {n} 个样式导出到 {file}
+# Actions: a step dialog holds a suspended recording (#7365)
+ Confirm or cancel the open action step dialog first 请先确认或取消打开的动作步骤对话框
+ Pro Medium Gray 专业中灰
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray 专业浅灰
+ Pro Light 专业浅色
+ Resize Windows to Fit 调整窗口大小以适合
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction 自动段落方向
+ Left-to-right paragraph direction 从左到右的段落方向
+ Right-to-left paragraph direction 从右到左的段落方向
+ Not rendered: this adjustment ({key}) is kept as imported. 未渲染:此调整({key})按导入时的原样保留。
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube 色相立方体
+ Brightness Cube 亮度立方体
+ Color Wheel 色轮
+ Grayscale Slider 灰度滑块
+ RGB Sliders RGB 滑块
+ HSB Sliders HSB 滑块
+ CMYK Sliders CMYK 滑块
+ Lab Sliders Lab 滑块
+ Web Color Sliders Web 颜色滑块
+ Copy Color as HTML 将颜色复制为 HTML
+ Copy Color's Hex Code 复制颜色的十六进制代码
+ RGB Spectrum RGB 色谱
+ CMYK Spectrum CMYK 色谱
+ Grayscale Ramp 灰度色带
+ Current Colors 当前颜色
+ Make Ramp Web Safe 使色带成为 Web 安全色
diff --cc crates/ui-egui/src/i18n/zh-hant.tsv
index 7130f1858,72d50a4f4..c8a429250
--- a/crates/ui-egui/src/i18n/zh-hant.tsv
+++ b/crates/ui-egui/src/i18n/zh-hant.tsv
@@@ -2986,29 -2920,20 +2986,46 @@@ curves Smooth 平�
# Graphics Adapter preference (#1885)
GPU adapter GPU 介面卡
+# Styles panel: Import / Export Styles (.asl)
+ Import Styles… 匯入樣式…
+ Export Selected Styles… 匯出所選樣式…
+ Export Styles… 匯出樣式…
+ {file} is not a style library (.asl) {file} 不是樣式庫 (.asl)
+@plural Imported {n} style from {file}|Imported {n} styles from {file} 已從 {file} 匯入 {n} 個樣式
+@plural Exported {n} style to {file}|Exported {n} styles to {file} 已將 {n} 個樣式匯出至 {file}
+# Actions: a step dialog holds a suspended recording (#7365)
+ Confirm or cancel the open action step dialog first 請先確認或取消開啟中的動作步驟對話框
+ Pro Medium Gray 專業中灰
+ Solarized Solarized
+ Breeze Breeze
+ Pro Light Gray 專業淺灰
+ Pro Light 專業淺色
+ Resize Windows to Fit 調整視窗大小以符合
+
+ EXR EXR
+
+# Paragraph direction (TYPE-218-2)
+ Automatic paragraph direction 自動段落方向
+ Left-to-right paragraph direction 由左至右的段落方向
+ Right-to-left paragraph direction 由右至左的段落方向
+ Not rendered: this adjustment ({key}) is kept as imported. 未算繪:此調整({key})依匯入時的原樣保留。
+
+# Print preview image (#8236)
+ Print preview image Print preview image
+ # Color panel menu: modes, copy commands and colour ramps (#6000)
+ Hue Cube 色相立方體
+ Brightness Cube 亮度立方體
+ Color Wheel 色輪
+ Grayscale Slider 灰階滑桿
+ RGB Sliders RGB 滑桿
+ HSB Sliders HSB 滑桿
+ CMYK Sliders CMYK 滑桿
+ Lab Sliders Lab 滑桿
+ Web Color Sliders 網頁色彩滑桿
+ Copy Color as HTML 將色彩複製為 HTML
+ Copy Color's Hex Code 複製色彩的十六進位碼
+ RGB Spectrum RGB 色譜
+ CMYK Spectrum CMYK 色譜
+ Grayscale Ramp 灰階色帶
+ Current Colors 目前色彩
+ Make Ramp Web Safe 讓色帶成為網頁安全色
diff --cc crates/ui-egui/src/panel_docking_tests.rs
index 2c25810a6,e710d9942..71916158f
--- a/crates/ui-egui/src/panel_docking_tests.rs
+++ b/crates/ui-egui/src/panel_docking_tests.rs
@@@ -675,25 -673,26 +675,45 @@@ fn customized_panel_menus_and_rail_rema
assert!(menu.query_all_by_label("New Swatch…").count() > 0);
}
+ /// A floated Color panel's menu still picks its mode (#6000): the shared docking renderer has
+ /// its own panel menu, separate from the legacy dock's.
+ #[test]
+ fn floated_color_panel_menu_picks_the_mode() {
+ let mut app = app();
+ app.run("window.panel.float", json!({"panel":"color","x":20,"y":40})).unwrap();
+ let mut h = harness(app, vec2(1280.0, 800.0));
+ let floating = h.ctx.memory(|memory| memory.area_rect(egui::Id::new("photocraft-panel-docking").with(("floating", &"color".to_string())))).unwrap();
+ let button = h.query_all_by_label("Panel menu").find(|node| floating.contains_rect(node.rect())).unwrap().rect().center();
+ h.hover_at(button);
+ for pressed in [true, false] {
+ h.event(Event::PointerButton { pos: button, button: PointerButton::Primary, pressed, modifiers: Modifiers::NONE });
+ h.run_steps(1);
+ }
+ h.run_steps(2);
+ h.get_by_label(" RGB Sliders").click();
+ h.run_steps(2);
+ assert_eq!(h.state().ui.color_panel.mode, crate::state::ColorPanelMode::RgbSliders);
+ }
+
+#[test]
+fn actions_panel_menu_includes_load_and_save_actions() {
+ let mut ready = false;
+ let mut menu = Harness::builder().build_ui_state(
+ move |ui, app: &mut PhotocraftApp| {
+ if !ready {
+ PhotocraftApp::setup_context(ui.ctx(), crate::theme::ThemeKind::ProMedium);
+ ready = true;
+ }
+ panel_menu(app, ui, "actions");
+ },
+ self::app(),
+ );
+ menu.run_steps(2);
+ assert!(menu.query_all_by_label("Load Actions…").count() > 0);
+ assert!(menu.query_all_by_label("Save Actions…").count() > 0);
+ assert!(menu.query_all_by_label("New Action…").count() > 0);
+}
+
#[test]
fn custom_workspace_saves_shared_layout_and_timeline_without_embedding_flags() {
let mut app = app();
diff --cc crates/ui-egui/src/panels.rs
index 8276dd756,5bb1f66ac..1bdbb8c96
--- a/crates/ui-egui/src/panels.rs
+++ b/crates/ui-egui/src/panels.rs
@@@ -4348,12 -4110,33 +4238,34 @@@ pub(crate) fn color_field(app: &mut Pho
}
}
});
+ crate::apply_color::track_focus(ui.ctx());
}
+ /// A smooth-shaded `n` x `n` grid over `rect`, coloured by `color(x, y)` with x and y in 0..1
+ /// (y down).
+ pub(crate) fn color_grid(rect: Rect, n: usize, color: impl Fn(f32, f32) -> Color32) -> egui::Mesh {
+ let n = n.max(1);
+ let mut mesh = egui::Mesh::default();
+ for j in 0..=n {
+ for i in 0..=n {
+ let (x, y) = (i as f32 / n as f32, j as f32 / n as f32);
+ mesh.colored_vertex(pos2(rect.left() + x * rect.width(), rect.top() + y * rect.height()), color(x, y));
+ }
+ }
+ let row = (n + 1) as u32;
+ for j in 0..n as u32 {
+ for i in 0..n as u32 {
+ let a = j * row + i;
+ mesh.add_triangle(a, a + 1, a + row + 1);
+ mesh.add_triangle(a, a + row + 1, a + row);
+ }
+ }
+ mesh
+ }
+
/// Tool colours are sRGB-encoded floats; egui's Hsva works on sRGB bytes via these helpers
/// (its `from_rgba_unmultiplied` expects *linear* RGB, which gave wrong readouts).
- fn srgb_bytes(c: [f32; 4]) -> [u8; 3] {
+ pub(crate) fn srgb_bytes(c: [f32; 4]) -> [u8; 3] {
let q = |v: f32| (v.clamp(0.0, 1.0) * 255.0 + 0.5) as u8;
[q(c[0]), q(c[1]), q(c[2])]
}
@@@ -5318,37 -4920,7 +5124,7 @@@ mod color_tests
assert_eq!(srgb_bytes(h.state().session.tools.foreground), [0x00, 0x33, 0x00]);
}
- #[test]
- fn hue_and_saturation_fields_take_values_on_black() {
- use egui_kittest::kittest::Queryable;
- let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default());
- app.session.tools.foreground = [0.0, 0.0, 0.0, 1.0];
- let mut h = egui_kittest::Harness::builder().with_size(vec2(300.0, 300.0)).build_ui_state(
- |ui, app: &mut PhotocraftApp| {
- if ui.ctx().fonts(|f| f.families().contains(&egui::FontFamily::Name("medium".into()))) {
- hsb_sliders(app, ui);
- }
- },
- app,
- );
- PhotocraftApp::setup_context(&h.ctx, crate::theme::ThemeKind::Studio);
- h.run_steps(2);
- // Hue, Saturation, Brightness, typed one key per frame. Black has no hue or saturation of its
- // own, so the first two used to reset to 0 and this ended on white.
- for (field, typed) in [(0, "120"), (1, "100"), (2, "100")] {
- h.query_all_by_role(egui::accesskit::Role::SpinButton).nth(field).unwrap().click();
- h.run_steps(1);
- for ch in typed.chars() {
- h.event(egui::Event::Text(ch.to_string()));
- h.run_steps(1);
- }
- h.key_press(egui::Key::Tab);
- h.run_steps(2);
- }
- assert_eq!(srgb_bytes(h.state().session.tools.foreground), [0, 255, 0]);
- }
-
- /// The Color field fills the dock group, never shrinks below 120 pt, and ignores a bad height.
+ /// The Color field fills the dock group, shrinks to leave room for the readout in a short group, and ignores a bad height.
#[test]
fn color_field_height_fills_the_group() {
assert_eq!(color_field_height(None, 300.0), 120.0);
diff --cc docs/gaps.md
index 211131525,9825e3c19..2351724f0
--- a/docs/gaps.md
+++ b/docs/gaps.md
@@@ -1,6 -1,6 +1,6 @@@
# Where PhotoCraft falls short of Photoshop
- > **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-22 · **Change:** minor (G10: `.asl` style libraries landed, #1051; G8: area type (TYPE-218-10); G1: smart objects keep Photoshop's Cylinder warp, #4112; G8: paragraph direction buttons in the Paragraph panel and options bar, TYPE-218-2 partial; G1: 32-bit Hue/Saturation and Colorize as Photoshop does them, Photoshop-oracle floor 190/258, #5781; G11: compound layer properties export as separate Photoshop Set events, rename last, #8304; G11: Batch and droplets take the result at the action's Save step, so actions ending in Save As and Close work; G11: `.atn` steps that switch to another open document import, play and save back, #7103; G14: the Nikon D4 white level follows the sample depth, so 12-bit D4 NEFs no longer open 2.6 stops dark, #5978; G14: a Nikon NEF's Adobe RGB preview is read as Adobe RGB (maker-note ColorSpace 0x001E), #5987; Apply Layer Comp action mapping, #7101; G10: JPEG Options dialog landed, FILE-215-19 partial (no Matte, progressive Scans or size preview); G10: Cineon write; G10: DPX read and write, #1049, Cineon and Amiga IFF read; Classical Object Finder improvement; learned segmentation remains open; G4: named, stateful section locks and visible keyboard focus in Brush Settings; G4: independent Brush Pose tilt-axis overrides, #3825 partial; G4: Transfer Mixer-only controls, #3825 partial; G9: Preferences › File Handling › Save in Background takes effect, #6207, 24 of 169 preferences do nothing; G7: Content-Aware Move previews every selection the command takes, coarse then exact, TOOL-213-4 done, #6680; G4: Pattern Stamp and Background Eraser draw live, TOOL-213-7; G9: Animated Zoom pref read: holding the Zoom tool zooms continuously, #6210, prefs that do nothing 25 of 166; G2: a cancelled 24 MP Gaussian Blur job stops in at most 44 ms, P25 under its 200 ms budget in local runs, baseline not re-run, #6205; G1: generated large-file fixtures, a 4.38 GB PSB opens on Windows through io, FILE-216-2 done, #5107; G9: fill and adjustment layers copy and paste whole, #2344; G1: smart filter masks show on PSD open, Photoshop-oracle floor 188/258; G10: DPX read and write, #1049, Cineon read; G1: CMYK Hue/Saturation and Color Balance keep the black ink; G1: CMYK Posterize on the stored values, psd-tools oracle floor 242/309; G1: CMYK adjustment layers composite on the document's inks, Photoshop-oracle floor 165/258; G1: CMYK Brightness/Contrast on the inks, CMYK Threshold's luma; G1: modern Brightness/Contrast's brightness curve matches Photoshop, Photoshop-oracle floor 151/258; G1: Lab documents composite on their stored L, a, b, Photoshop-oracle floor 152/258; G1: Levels on whole levels at every step, Photoshop-oracle floor 146/258, psd-tools 238/309; G1: 32-bit Brightness/Contrast legacy, Channel Mixer, Photo Filter and Black & White tint unclipped as in Photoshop, Photoshop-oracle floor 149/258; G1: mask feathers blur with their exact variance, psd-tools oracle floor 240/309; G1: Threshold splits on Photoshop's luminosity, psd-tools oracle floor 241/309; G1: pass-through clipping base with an adjustment renders isolated, psd-tools oracle floor 240/309; G1: 16-bit Posterize as Photoshop bins it, psd-tools oracle floor 241/309; G1: Gradient Map driven by the W3C luminosity, Photoshop-oracle floor 147/258; G7: Field Blur's on-canvas pins, #3373; G4: Hue Jitter amount track, #3825 partial; G4: minimum field interaction, #3825 partial; G1: CMYK Invert, Posterize and Threshold on the inks, 16-bit Lab Invert; Photoshop-oracle floor 145/258; G11: `.atn` import maps 112 events: Select and Mask, Filter Gallery Spatter, Ripple, Crystallize, Pattern Fill layers, mask targeting, Step Backward, nudges in points, Bitmap mode; G5: Free Transform H/V skew fields; G9: toolbar tool shortcut editing; refreshed against main: G2, G5, G7, G9, G10, G13, G14, G17 items that landed; G10: DPX read and write, #1049; G4: checkbox-only Brush Settings rows; G11: Load/Save Actions `.atn` landed, AUTO-219-2 partial; G5: hold-a-key spring-loaded tools landed, #2672; G1: #2465 fixed; stale missing-tool rows corrected: Color Replacement, Red Eye and Add/Delete Anchor Point are live tools, so only Art History Brush is missing; no estimate changed) · **Target:** Adobe Photoshop 2026
-> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-22 · **Change:** minor (G9: Color panel modes, ramp and copy commands, the same in every theme, UI-217-17, #6000; G9: Preferences › File Handling › Save in Background takes effect, #6207, 24 of 169 preferences do nothing; G7: Content-Aware Move previews every selection the command takes, coarse then exact, TOOL-213-4 done, #6680; G4: Pattern Stamp and Background Eraser draw live, TOOL-213-7; G9: Animated Zoom pref read: holding the Zoom tool zooms continuously, #6210, prefs that do nothing 25 of 166; G2: a cancelled 24 MP Gaussian Blur job stops in at most 44 ms, P25 under its 200 ms budget in local runs, baseline not re-run, #6205; G1: generated large-file fixtures, a 4.38 GB PSB opens on Windows through io, FILE-216-2 done, #5107; G9: fill and adjustment layers copy and paste whole, #2344; G1: smart filter masks show on PSD open, Photoshop-oracle floor 188/258; G10: DPX read and write, #1049, Cineon read; G1: CMYK Hue/Saturation and Color Balance keep the black ink; G1: CMYK Posterize on the stored values, psd-tools oracle floor 242/309; G1: CMYK adjustment layers composite on the document's inks, Photoshop-oracle floor 165/258; G1: CMYK Brightness/Contrast on the inks, CMYK Threshold's luma; G1: modern Brightness/Contrast's brightness curve matches Photoshop, Photoshop-oracle floor 151/258; G1: Lab documents composite on their stored L, a, b, Photoshop-oracle floor 152/258; G1: Levels on whole levels at every step, Photoshop-oracle floor 146/258, psd-tools 238/309; G1: 32-bit Brightness/Contrast legacy, Channel Mixer, Photo Filter and Black & White tint unclipped as in Photoshop, Photoshop-oracle floor 149/258; G1: mask feathers blur with their exact variance, psd-tools oracle floor 240/309; G1: Threshold splits on Photoshop's luminosity, psd-tools oracle floor 241/309; G1: pass-through clipping base with an adjustment renders isolated, psd-tools oracle floor 240/309; G1: 16-bit Posterize as Photoshop bins it, psd-tools oracle floor 241/309; G1: Gradient Map driven by the W3C luminosity, Photoshop-oracle floor 147/258; G7: Field Blur's on-canvas pins, #3373; G4: Hue Jitter amount track, #3825 partial; G4: minimum field interaction, #3825 partial; G1: CMYK Invert, Posterize and Threshold on the inks, 16-bit Lab Invert; Photoshop-oracle floor 145/258; G11: `.atn` import maps 112 events: Select and Mask, Filter Gallery Spatter, Ripple, Crystallize, Pattern Fill layers, mask targeting, Step Backward, nudges in points, Bitmap mode; G5: Free Transform H/V skew fields; G9: toolbar tool shortcut editing; refreshed against main: G2, G5, G7, G9, G10, G13, G14, G17 items that landed; G10: DPX read and write, #1049; G4: checkbox-only Brush Settings rows; G11: Load/Save Actions `.atn` landed, AUTO-219-2 partial; G5: hold-a-key spring-loaded tools landed, #2672; G1: #2465 fixed; stale missing-tool rows corrected: Color Replacement, Red Eye and Add/Delete Anchor Point are live tools, so only Art History Brush is missing; no estimate changed) · **Target:** Adobe Photoshop 2026
++> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-22 · **Change:** minor (G9: Color panel modes, ramp and copy commands, the same in every theme, UI-217-17, #6000; G10: `.asl` style libraries landed, #1051; G8: area type (TYPE-218-10); G1: smart objects keep Photoshop's Cylinder warp, #4112; G8: paragraph direction buttons in the Paragraph panel and options bar, TYPE-218-2 partial; G1: 32-bit Hue/Saturation and Colorize as Photoshop does them, Photoshop-oracle floor 190/258, #5781; G11: compound layer properties export as separate Photoshop Set events, rename last, #8304; G11: Batch and droplets take the result at the action's Save step, so actions ending in Save As and Close work; G11: `.atn` steps that switch to another open document import, play and save back, #7103; G14: the Nikon D4 white level follows the sample depth, so 12-bit D4 NEFs no longer open 2.6 stops dark, #5978; G14: a Nikon NEF's Adobe RGB preview is read as Adobe RGB (maker-note ColorSpace 0x001E), #5987; Apply Layer Comp action mapping, #7101; G10: JPEG Options dialog landed, FILE-215-19 partial (no Matte, progressive Scans or size preview); G10: Cineon write; G10: DPX read and write, #1049, Cineon and Amiga IFF read; Classical Object Finder improvement; learned segmentation remains open; G4: named, stateful section locks and visible keyboard focus in Brush Settings; G4: independent Brush Pose tilt-axis overrides, #3825 partial; G4: Transfer Mixer-only controls, #3825 partial; G9: Preferences › File Handling › Save in Background takes effect, #6207, 24 of 169 preferences do nothing; G7: Content-Aware Move previews every selection the command takes, coarse then exact, TOOL-213-4 done, #6680; G4: Pattern Stamp and Background Eraser draw live, TOOL-213-7; G9: Animated Zoom pref read: holding the Zoom tool zooms continuously, #6210, prefs that do nothing 25 of 166; G2: a cancelled 24 MP Gaussian Blur job stops in at most 44 ms, P25 under its 200 ms budget in local runs, baseline not re-run, #6205; G1: generated large-file fixtures, a 4.38 GB PSB opens on Windows through io, FILE-216-2 done, #5107; G9: fill and adjustment layers copy and paste whole, #2344; G1: smart filter masks show on PSD open, Photoshop-oracle floor 188/258; G10: DPX read and write, #1049, Cineon read; G1: CMYK Hue/Saturation and Color Balance keep the black ink; G1: CMYK Posterize on the stored values, psd-tools oracle floor 242/309; G1: CMYK adjustment layers composite on the document's inks, Photoshop-oracle floor 165/258; G1: CMYK Brightness/Contrast on the inks, CMYK Threshold's luma; G1: modern Brightness/Contrast's brightness curve matches Photoshop, Photoshop-oracle floor 151/258; G1: Lab documents composite on their stored L, a, b, Photoshop-oracle floor 152/258; G1: Levels on whole levels at every step, Photoshop-oracle floor 146/258, psd-tools 238/309; G1: 32-bit Brightness/Contrast legacy, Channel Mixer, Photo Filter and Black & White tint unclipped as in Photoshop, Photoshop-oracle floor 149/258; G1: mask feathers blur with their exact variance, psd-tools oracle floor 240/309; G1: Threshold splits on Photoshop's luminosity, psd-tools oracle floor 241/309; G1: pass-through clipping base with an adjustment renders isolated, psd-tools oracle floor 240/309; G1: 16-bit Posterize as Photoshop bins it, psd-tools oracle floor 241/309; G1: Gradient Map driven by the W3C luminosity, Photoshop-oracle floor 147/258; G7: Field Blur's on-canvas pins, #3373; G4: Hue Jitter amount track, #3825 partial; G4: minimum field interaction, #3825 partial; G1: CMYK Invert, Posterize and Threshold on the inks, 16-bit Lab Invert; Photoshop-oracle floor 145/258; G11: `.atn` import maps 112 events: Select and Mask, Filter Gallery Spatter, Ripple, Crystallize, Pattern Fill layers, mask targeting, Step Backward, nudges in points, Bitmap mode; G5: Free Transform H/V skew fields; G9: toolbar tool shortcut editing; refreshed against main: G2, G5, G7, G9, G10, G13, G14, G17 items that landed; G10: DPX read and write, #1049; G4: checkbox-only Brush Settings rows; G11: Load/Save Actions `.atn` landed, AUTO-219-2 partial; G5: hold-a-key spring-loaded tools landed, #2672; G1: #2465 fixed; stale missing-tool rows corrected: Color Replacement, Red Eye and Add/Delete Anchor Point are live tools, so only Art History Brush is missing; no estimate changed) · **Target:** Adobe Photoshop 2026
Every known shortfall against Photoshop 2026 (27.11.0), one entry each, ranked by user impact
on the way to beta. This is the work list agents pick from: take the highest-ranked entry that
@@@ -254,15 -206,14 +254,17 @@@ what an agent can't finish alone
### G9. Panels, preferences and workspace
- **Progress (2026-10-15):** Preferences › General › Animated Zoom takes effect: a held Zoom
tool press zooms continuously about the press point, ⌥ out (#6210, `ui-egui/src/zoom_hold.rs`).
+- **Progress (2026-10-14, #5556):** Character and Paragraph controls stay available without
+ a type target, editing persisted Type tool defaults inherited by new text. Formatting existing
+ selected text keeps its current command and undo scope. Other panel gaps remain open.
- **Progress (2026-10-12):** toolbar tool shortcuts can be reassigned, removed and reset (#4086),
with saved bindings, matching toolbar hints and regression coverage (`ui-egui/src/tool_shortcuts.rs`).
+ - **Progress (2026-10-15):** the Color panel has Photoshop's panel-menu modes (Hue Cube, Brightness
+ Cube, Color Wheel, Grayscale/RGB/HSB/CMYK/Lab/Web Color sliders), its colour ramp and copy
+ commands, the same in every theme (UI-217-17, #2569, #6000; `ui-egui/src/color_panel_ui.rs`).
- **Missing:** 24 of 171 preferences do nothing (scorecard prefs audit, 2026-10-15: Save in
Background now takes effect, #6207); panel groups can't
- float or tear off into OS windows (UI-217-5, #1828, #1213, #2305); Color panel lacks wheel and
- slider modes (UI-217-17, #2569); more themes (UI-217-11, #2661); a single pixel layer
+ float or tear off into OS windows (UI-217-5, #1828, #1213, #2305); more themes (UI-217-11, #2661); a single pixel layer
copies without its mask and styles (UI-217-23; fill and adjustment layers copy whole, #2344); tool-specific context menus beyond brushes, selections and Pen
([context-menu-parity.md](context-menu-parity.md)); Libraries, Comments, Contextual Task Bar
panels.
@@@ -349,21 -292,9 +351,22 @@@
| Date | Change | Summary |
|---|---|---|
+| 2026-10-22 | minor | G1: 32-bit Hue/Saturation unclipped with Photoshop's saturation factor, bright colours keep their hue, Colorize's saturation scaled by 1 − \|Lightness\|; photoshop rgb32 hue-saturation and hue-saturation-colorize pass; Photoshop-oracle floor 188 → 190 of 258 (#5781) |
+| 2026-10-21 | minor | #8304: compound layer properties export as separate Set events, rename last; independent Photoshop replay pending; percentages and estimates unchanged |
+| 2026-10-21 | minor | G11: Batch and droplets take the result at the action's recorded Save / Save As step (Photoshop's "Override Action 'Save As' Commands"); estimate unchanged |
+| 2026-10-22 | minor | G8: Auto / Left-to-right / Right-to-left paragraph direction buttons in the Paragraph panel, Properties and the Type options bar (#6793); TYPE-218-2 partial (the visual RTL caret is still missing, and PSD doesn't store the direction yet) |
+| 2026-10-19 | minor | G10: JPEG Options dialog landed (FILE-215-19 partial: no Matte, progressive Scans or size preview); no readiness percentage or estimate changed |
+| 2026-10-19 | minor | G11: `.atn` steps that select another open document by offset import as `document.activate {"offset"}`, play and save back (#7103); estimate unchanged |
+| 2026-10-18 | minor | G13: Russian gained the 1,229 dynamic UI labels other catalogs already had (filter and adjustment parameters, Camera Raw, lighting, History/Layers/paths menus, metadata, System Info, status templates, dialogs); engine messages and native review remain open |
+| 2026-10-17 | minor | Classical Object Finder improvement; learned segmentation remains open |
+| 2026-10-15 | minor | G10: Cineon write landed (10-bit log gray/RGB, Save As `.cin`) |
+| 2026-10-14 | minor | G1: 32-bit Hue/Saturation unclipped (slider on whole levels) and Colorize's saturation scaled by 1 − \|Lightness\|; photoshop rgb32 hue-saturation and hue-saturation-colorize pass |
+| 2026-10-14 | minor | G1: Lab adjustment layers' results are whole samples (native Lab path); photoshop lab8 curves passes |
+ | 2026-10-19 | minor | G9: Color panel modes, ramp and copy commands from its panel menu, the same in every theme (UI-217-17 done, #6000) |
| 2026-10-15 | minor | G1 / #5972 A1: render only provably constant-RGB `GdFl` noise fills; variable noise synthesis remains open |
+| 2026-10-20 | minor | G10: `.asl` layer style library import and export landed (#1051) |
| 2026-10-18 | minor | G9: with no selection, Copy takes fill and adjustment layers whole and Paste recreates them (#2344); UI-217-23 stays partial (a single pixel layer copies its pixels only); estimate unchanged |
+| 2026-10-17 | minor | G11: `.atn` Apply Layer Comp imports, plays and exports by comp name (#7101); other reference forms remain unsupported |
| 2026-10-15 | minor | G2: a cancelled 24 MP Gaussian Blur job stops within 44 ms max (P25, budget 200 ms; was about 400 ms; local runs, baseline not re-run), the uncancelled job on a locked-transparency layer about 40% faster; #6205 |
| 2026-10-15 | minor | G9: Animated Zoom preference takes effect (hold the Zoom tool to zoom continuously, #6210); prefs that do nothing 25 of 166; no estimate changed |
| 2026-10-16 | minor | G7: Content-Aware Move's live preview covers every selection the command takes (over 256 × 256: a coarse result solved scaled down, then the exact one); TOOL-213-4 done (#6680) |
diff --cc docs/ui-parity.md
index 61d9f5b7c,ad431018d..a66cdf2d1
--- a/docs/ui-parity.md
+++ b/docs/ui-parity.md
@@@ -1,6 -1,6 +1,6 @@@
# UI parity: tools, handles, modifiers and feel
- > **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-21 · **Change:** minor (a picked colour recolours the selected type and shapes; Hand tool ⌘ / ⌥ are Zoom In / Zoom Out while held, #6434; the wheel steps value fields, #5473; a dragged guide shows its X or Y beside the pointer, #7680; Type options bar "T" icon scrubs the font size, #6437; Move tool: dragged selected pixels take their own outline as the selection, #7538; artboard backgrounds remain below child Free Transform previews; ⌫/Delete removes the selected smart filter, #4751; Object Finder foreground/background discrimination (#6548); rounded triangle, polygon and star corners; shape Fill/Stroke popovers accept hex RGB values, #6176; a guide let go over either ruler is removed, #6286; Crop rows corrected: saved crop presets and Delete Cropped Pixels off are done, #6562; marching ants in device pixels, #7489; Animated Zoom: holding the Zoom tool zooms continuously, #6210; shape Density and Feather, TOOL-214-12, #5846; Pen Auto Add/Delete on the path being drawn, #6140; Show Transform Controls frames every selected layer; guide keys and clicks; menu bar from the keyboard, #4988; Crop tool Content-Aware Fill; on-canvas corner radius widgets, TOOL-214-12; Curvature Pen edits the active path; Clip Thumbnails to Layer Bounds; Pen ⇧ 45°; last selected tool restored at launch; Layers panel filter-type dropdown with Kind, Name and Mode, #5048; Free Transform box and marching ants follow the selection, #5297; History: the trash deletes the selected snapshot, rows drag onto the trash, #5324; smart filter reordering by drag; smart object perspective row corrected to done, #426; Free Transform H/V skew fields; toolbar tool shortcuts can be reassigned; ⇧-dragged guides land on ruler ticks; layer and selection keys; tool keys; spring-loaded tool letters; type formatting keys; Pen Auto Add/Delete, #4144; smart filter rows; stale missing-tool rows corrected: Color Replacement, Red Eye and the Add/Delete Anchor Point pair are live toolbar tools, Frame landed; no percentage changed; selection-modifier and ⌥-wheel rows match their tests) · **Target:** Adobe Photoshop 2026
-> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-22 · **Change:** minor (Color panel modes from its panel menu, the same in every theme, UI-217-17, #6000; Animated Zoom: holding the Zoom tool zooms continuously, #6210; shape Density and Feather, TOOL-214-12, #5846; Pen Auto Add/Delete on the path being drawn, #6140; Show Transform Controls frames every selected layer; guide keys and clicks; menu bar from the keyboard, #4988; Crop tool Content-Aware Fill; on-canvas corner radius widgets, TOOL-214-12; Curvature Pen edits the active path; Clip Thumbnails to Layer Bounds; Pen ⇧ 45°; last selected tool restored at launch; Layers panel filter-type dropdown with Kind, Name and Mode, #5048; Free Transform box and marching ants follow the selection, #5297; History: the trash deletes the selected snapshot, rows drag onto the trash, #5324; smart filter reordering by drag; smart object perspective row corrected to done, #426; Free Transform H/V skew fields; toolbar tool shortcuts can be reassigned; ⇧-dragged guides land on ruler ticks; layer and selection keys; tool keys; spring-loaded tool letters; type formatting keys; Pen Auto Add/Delete, #4144; smart filter rows; stale missing-tool rows corrected: Color Replacement, Red Eye and the Add/Delete Anchor Point pair are live toolbar tools, Frame landed; no percentage changed; selection-modifier and ⌥-wheel rows match their tests) · **Target:** Adobe Photoshop 2026
++> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-22 · **Change:** minor (Color panel modes from its panel menu, the same in every theme, UI-217-17, #6000; a picked colour recolours the selected type and shapes; Hand tool ⌘ / ⌥ are Zoom In / Zoom Out while held, #6434; the wheel steps value fields, #5473; a dragged guide shows its X or Y beside the pointer, #7680; Type options bar "T" icon scrubs the font size, #6437; Move tool: dragged selected pixels take their own outline as the selection, #7538; artboard backgrounds remain below child Free Transform previews; ⌫/Delete removes the selected smart filter, #4751; Object Finder foreground/background discrimination (#6548); rounded triangle, polygon and star corners; shape Fill/Stroke popovers accept hex RGB values, #6176; a guide let go over either ruler is removed, #6286; Crop rows corrected: saved crop presets and Delete Cropped Pixels off are done, #6562; marching ants in device pixels, #7489; Animated Zoom: holding the Zoom tool zooms continuously, #6210; shape Density and Feather, TOOL-214-12, #5846; Pen Auto Add/Delete on the path being drawn, #6140; Show Transform Controls frames every selected layer; guide keys and clicks; menu bar from the keyboard, #4988; Crop tool Content-Aware Fill; on-canvas corner radius widgets, TOOL-214-12; Curvature Pen edits the active path; Clip Thumbnails to Layer Bounds; Pen ⇧ 45°; last selected tool restored at launch; Layers panel filter-type dropdown with Kind, Name and Mode, #5048; Free Transform box and marching ants follow the selection, #5297; History: the trash deletes the selected snapshot, rows drag onto the trash, #5324; smart filter reordering by drag; smart object perspective row corrected to done, #426; Free Transform H/V skew fields; toolbar tool shortcuts can be reassigned; ⇧-dragged guides land on ruler ticks; layer and selection keys; tool keys; spring-loaded tool letters; type formatting keys; Pen Auto Add/Delete, #4144; smart filter rows; stale missing-tool rows corrected: Color Replacement, Red Eye and the Add/Delete Anchor Point pair are live toolbar tools, Frame landed; no percentage changed; selection-modifier and ⌥-wheel rows match their tests) · **Target:** Adobe Photoshop 2026
How PhotoCraft's direct manipulation compares with Photoshop 2026 (27.11.0): the toolbox, the
handles and modifier keys of each gesture, nudging, snapping, numeric precision, navigation,
@@@ -220,8 -209,7 +220,8 @@@ Paragraph; the rest open as in-app floa
| Panel groups float and tear off into OS windows | missing | UI-217-5, #1828, #1213 |
| Drag panels to reorder and regroup | partial | #2272, #2305 |
| Docked resize pushes the neighbour | partial | #2573 |
- | Color panel wheel and RGB/HSB/CMYK/Lab sliders | missing | UI-217-17, #2569 |
+ | Color panel modes from its panel menu (Hue Cube, Brightness Cube, Color Wheel, Grayscale/RGB/HSB/CMYK/Lab/Web Color sliders), colour ramp (RGB/CMYK Spectrum, Grayscale Ramp, Current Colors, Make Ramp Web Safe; Shift-click cycles, Alt-click picks the other colour), Copy Color as HTML / Hex Code; the same in every theme | done | `color_panel_ui.rs`, `color_panel_tests.rs`; UI-217-17, #2569, #6000 |
+| A colour picked in the Color or Swatches panel or the Color Picker recolours the selection: selected characters while editing; every selected type layer with a Type tool; every selected shape's fill with a shape, Pen or path selection tool; only the foreground with other tools, the Move tool too; one history step (a Color panel drag too) | done: `apply_color.rs`, `apply_color_tests.rs` | |
| Window size and dock width remembered | done | UI-217-2 |
| Command palette with recents | done | UI-217-7 |
| Menu bar from the keyboard: Alt / F10 focus the bar, ← → ↓ ↩ drive it, Alt+letter opens a menu, underlined mnemonics run items | done | `menu_keys.rs`, #4988; macOS uses the native bar |
@@@ -284,10 -262,4 +284,11 @@@
| 2026-10-14 | minor | Last selected tool restored across launches; temporary overrides excluded, explicit Eraser choices retained, and final selection flushed on normal exit |
| 2026-10-13 | minor | Free Transform with a selection: the box is the selection's rectangle, and the marching ants follow it while it is transformed (#5297) |
| 2026-10-14 | minor | Move › Show Transform Controls frames every selected layer and outlines the selected shapes |
+| 2026-10-21 | minor | Crop rows corrected against the code and the scorecard: saved custom crop presets (TOOL-214-9, #2723) and Delete Cropped Pixels off are done (#6562); no percentage changed |
+| 2026-10-20 | minor | Free Transform of an artboard child omits ancestor paper from the covering and isolated composites while retaining board clipping. The base canvas and whole-artboard backgrounds are preserved; synthetic regressions in `transform_tool.rs`. No parity percentage changed. |
+| 2026-10-18 | minor | Move tool: dragging selected pixels shrinks the marching ants to the moved pixels as the drag starts, and the dropped selection is theirs, as in Photoshop (#7538) |
+| 2026-10-18 | minor | Marching ants drawn in device pixels like Photoshop's: equally thick on every edge at 125 %/150 % display scale, thicker on HiDPI, slanted dash ends (#7489) |
+| 2026-10-15 | minor | ⌫/Delete with a smart filter row selected removes that filter (the Smart Filters row: all of them), as the Delete button does, instead of the smart object (#4751) |
+| 2026-10-14 | minor | Rounded corners on live triangles, polygons and stars: Properties field and on-canvas widgets (TOOL-214-12) |
+| 2026-10-14 | minor | A colour picked in the Color or Swatches panel or the Color Picker recolours the selected type layers (Type tool) or shape fills (shape, Pen and path selection tools) |
+ | 2026-10-15 | minor | Color panel: Photoshop's panel-menu modes, colour ramp and copy commands; the theme no longer picks the panel's layout (UI-217-17 done, #2569, #6000) |