Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Merge PR #643

Claude9978dc739d13
diff --cc crates/engine/src/export.rs
index 0d02a4b0f,b7ffaab03..f356d6e4d
--- a/crates/engine/src/export.rs
+++ b/crates/engine/src/export.rs
@@@ -666,17 -602,13 +666,21 @@@ pub struct ExportOptions
pub bit_depth: Option<u8>,
/// HDR output for photos edited in HDR: JPEG as an ISO 21496-1 gain map JPEG (the SDR
/// rendition plus a gain map, so the file looks right everywhere; quality as set, `limit_kb`
- /// not applied), AVIF as 10-bit Rec. 2020 PQ, 32-bit float TIFF with the highlights above SDR
- /// white kept. Other formats, and photos without an HDR edit, are SDR.
+ /// not applied), AVIF as 10-bit Rec. 2020 PQ, PNG as 16-bit Rec. 2020 PQ (`cICP`; viewers
+ /// without cICP support show it as sRGB, washed out), JPEG XL as 16-bit Rec. 2020 PQ, 32-bit float
+ /// TIFF with the highlights above SDR white kept. Other formats, and photos without an HDR
+ /// edit, are SDR.
pub hdr: bool,
+ /// JPEG XL: mathematically lossless instead of lossy (`quality` is then unused).
+ pub jxl_lossless: bool,
+ /// JPEG XL: encoder effort (time spent for a smaller file).
+ pub jxl_effort: JxlEffort,
+ /// JPEG XL: progressive file (a coarse image first, refined as it loads).
+ pub jxl_progressive: bool,
+ /// After the export, add the files written to Apple Photos (macOS only; see [`AfterExport`]).
+ pub add_to_photos: bool,
+ /// The Photos album they go into, made when missing (empty = none).
+ pub photos_album: String,
}
impl Default for ExportOptions {
@@@ -701,9 -633,8 +705,11 @@@
color_space: OutputSpace::Srgb,
bit_depth: None,
hdr: false,
+ jxl_lossless: false,
+ jxl_effort: JxlEffort::Normal,
+ jxl_progressive: false,
+ add_to_photos: false,
+ photos_album: String::new(),
}
}
}
@@@ -740,15 -671,18 +746,23 @@@ pub const OPTION_PARAMS: &[&str] = &
"colorSpace",
"bitDepth",
"hdr",
+ "jxlLossless",
+ "jxlEffort",
+ "jxlProgressive",
+ "addToPhotos",
+ "photosAlbum",
];
+ /// Why an export can't add its files to Apple Photos on this platform (`None`: it can, when the
+ /// session has the runner; see [`crate::Session::after_export`]).
+ pub fn apple_photos_unsupported() -> Option<&'static str> {
+ (!cfg!(target_os = "macos")).then_some("Apple Photos is only available on macOS")
+ }
+
-/// The keys of a `watermark` object ([`Watermark`], camelCase).
-pub const WATERMARK_PARAMS: &[&str] = &["text", "vertical", "size", "opacity", "anchor", "inset", "color", "shadow", "image", "imageWidth"];
+/// The keys of a `watermark` object ([`Watermark`], camelCase). `inset` sets `insetX` and `insetY`
+/// together (what versions before the two margins wrote); either of those, when given, wins.
+pub const WATERMARK_PARAMS: &[&str] =
+ &["text", "vertical", "size", "opacity", "anchor", "insetX", "insetY", "inset", "rotation", "color", "shadow", "image", "imageWidth"];
/// Text height as a fraction of the short edge: the range the renderer draws without clamping.
pub const WATERMARK_SIZE_RANGE: (f32, f32) = (0.005, 0.5);
@@@ -889,9 -810,21 +903,21 @@@ impl ExportOptions
}
serde_json::from_value::<Resize>(v.clone()).map_err(|e| bad(format!("`{k}`: {e}")))?;
}
- "dontEnlarge" | "removeLocation" | "background" | "hdr" => {
+ "dontEnlarge" | "removeLocation" | "background" | "hdr" | "jxlLossless" | "jxlProgressive" => {
boolean(k, v)?;
}
+ "addToPhotos" => {
+ if boolean(k, v)?
+ && let Some(why) = apple_photos_unsupported()
+ {
+ return Err(bad(format!("`{k}`: {why}")));
+ }
+ }
+ "photosAlbum" => {
+ if string(cmd, k, v)?.contains('\0') {
+ return Err(bad(format!("`{k}` can't contain a NUL character")));
+ }
+ }
"naming" | "subfolder" | "path" | "dir" | "preset" => {
string(cmd, k, v)?;
}
@@@ -1029,9 -957,8 +1056,11 @@@
color_space: s("colorSpace").and_then(OutputSpace::parse).unwrap_or(d.color_space),
bit_depth: u("bitDepth").filter(|b| matches!(b, 8 | 10 | 16 | 32)).map(|b| b as u8),
hdr: p.get("hdr").and_then(Value::as_bool).unwrap_or(d.hdr),
+ jxl_lossless: p.get("jxlLossless").and_then(Value::as_bool).unwrap_or(d.jxl_lossless),
+ jxl_effort: s("jxlEffort").and_then(JxlEffort::parse).unwrap_or(d.jxl_effort),
+ jxl_progressive: p.get("jxlProgressive").and_then(Value::as_bool).unwrap_or(d.jxl_progressive),
+ add_to_photos: p.get("addToPhotos").and_then(Value::as_bool).unwrap_or(d.add_to_photos),
+ photos_album: s("photosAlbum").map_or(d.photos_album, |a| a.trim().to_string()),
}
}
diff --cc crates/engine/src/tests_export.rs
index 53d7cf1ee,392cb0e53..b57bd471b
--- a/crates/engine/src/tests_export.rs
+++ b/crates/engine/src/tests_export.rs
@@@ -455,124 -441,285 +455,407 @@@ fn hdr_avif_export_is_pq_rec2020()
assert!(nclx(&sdr.bytes).is_none_or(|c| c[3] != 16));
}
+/// "Remove location info" holds for the file-copying formats too: the sidecar and the DNG's
+/// packet carry no location, and an original that embeds GPS is refused rather than copied.
+#[test]
+fn remove_location_holds_for_original_and_dng_exports() {
+ let dir = temp_dir("export-noloc");
+ let gps =
+ lightcraft_meta::Metadata { gps: Some(lightcraft_meta::Gps { latitude: 48.85, longitude: 2.35, altitude: None }), ..Default::default() };
+ // a raw with no embedded GPS, located in the catalog
+ let raw = dir.join("Raw.dng");
+ std::fs::write(&raw, synthetic_dng_with(None, Default::default())).unwrap();
+ // a JPEG with GPS in its EXIF
+ let jpg = dir.join("Geo.jpg");
+ let img = lightcraft_raster::Rgba8::from_fn(32, 24, |x, y| [(x * 8) as u8, (y * 10) as u8, 90, 255]);
+ let exif = lightcraft_meta::write_exif(&gps);
+ let meta = lightcraft_codecs::EncodeMeta { exif: Some(&exif), ..Default::default() };
+ std::fs::write(&jpg, lightcraft_codecs::encode_jpeg(&lightcraft_codecs::EncodeImage::rgba8(&img), 90, Default::default(), &meta).unwrap())
+ .unwrap();
+ let mut s = Session::new().with_fs();
+ s.execute("library.import", &json!({"paths": [raw.to_string_lossy(), jpg.to_string_lossy()]})).unwrap();
+ let id = |s: &Session, n: &str| s.catalog.photos().find(|p| p.file_name == n).unwrap().id;
+ let (rid, jid) = (id(&s, "Raw.dng"), id(&s, "Geo.jpg"));
+ s.execute("photo.setMeta", &json!({"ids": [rid.0, jid.0], "gps": [48.85, 2.35], "city": "Paris"})).unwrap();
+ let opts = |f: &str, remove: bool| ExportOptions::from_json(&json!({"format": f, "removeLocation": remove}));
+
+ // original raw: the sidecar keeps the location unless it is removed
+ let side = |e: &crate::export::Exported| lightcraft_meta::parse_xmp(std::str::from_utf8(&e.sidecars[0].1).unwrap()).unwrap().metadata;
+ let kept = side(&export_photo(&mut s, rid, &opts("original", false), 1).unwrap());
+ assert!(kept.gps.is_some() && kept.city.is_some());
+ let gone = side(&export_photo(&mut s, rid, &opts("original", true), 1).unwrap());
+ assert!(gone.gps.is_none() && gone.city.is_none(), "{gone:?}");
+
+ // dng: the embedded packet
+ let e = export_photo(&mut s, rid, &opts("dng", false), 1).unwrap();
+ assert!(lightcraft_meta::extract(&e.bytes).gps.is_some());
+ let e = export_photo(&mut s, rid, &opts("dng", true), 1).unwrap();
+ let m = lightcraft_meta::extract(&e.bytes);
+ assert!(m.gps.is_none() && m.city.is_none(), "{m:?}");
+
+ // original JPEG embedding GPS: copied as is normally, refused when the location must go
+ let e = export_photo(&mut s, jid, &opts("original", false), 1).unwrap();
+ assert!(lightcraft_meta::extract(&e.bytes).gps.is_some());
+ let err = export_photo(&mut s, jid, &opts("original", true), 1).err().unwrap();
+ assert!(err.contains("can't remove the location") && err.contains("export as JPEG"), "{err}");
+ let _ = std::fs::remove_dir_all(&dir);
+}
+
+/// An original raw whose own metadata holds GPS is refused under "Remove location info".
+#[test]
+fn remove_location_refuses_a_raw_that_embeds_gps() {
+ let dir = temp_dir("export-noloc-raw");
+ let gps = lightcraft_meta::Metadata { gps: Some(lightcraft_meta::Gps { latitude: 10.0, longitude: 20.0, altitude: None }), ..Default::default() };
+ let raw = dir.join("Geo.dng");
+ let bytes = synthetic_dng_with(Some(&lightcraft_meta::write_xmp(&gps, None)), Default::default());
+ assert!(lightcraft_meta::extract(&bytes).gps.is_some(), "fixture embeds GPS");
+ std::fs::write(&raw, bytes).unwrap();
+ let mut s = Session::new().with_fs();
+ s.execute("library.import", &json!({"paths": [raw.to_string_lossy()]})).unwrap();
+ let id = s.catalog.photos().next().unwrap().id;
+ let err = export_photo(&mut s, id, &ExportOptions::from_json(&json!({"format": "original", "removeLocation": true})), 1).err().unwrap();
+ assert!(err.contains("can't remove the location"), "{err}");
+ let _ = std::fs::remove_dir_all(&dir);
+}
+
+#[test]
+fn hdr_png_export_is_16_bit_pq_rec2020() {
+ let mut s = Session::with_demo();
+ let id = sunset(&mut s);
+ let o = ExportOptions::from_json(&json!({"longEdge": 160, "format": "png", "hdr": true}));
+ assert!(o.hdr_output());
+ assert_eq!(o.effective_space(), lightcraft_pipeline::OutputSpace::Rec2020);
+ // a photo without an HDR edit exports as an ordinary (sRGB, 8-bit) PNG
+ let sdr = export_photo(&mut s, id, &o, 1).unwrap();
+ assert!(!sdr.bytes.windows(4).any(|w| w == b"cICP"));
+ assert_eq!(sdr.bytes[24], 8, "8-bit");
+ s.execute("develop.hdr", &json!({"enabled": true, "maxEv": 2})).unwrap();
+ let hdr = export_photo(&mut s, id, &o, 1).unwrap();
+ let at = hdr.bytes.windows(4).position(|w| w == b"cICP").expect("cICP chunk");
+ assert_eq!(&hdr.bytes[at + 4..at + 8], &[9, 16, 0, 1], "BT.2020, PQ, RGB, full range");
+ assert_eq!(hdr.bytes[24], 16, "16-bit");
+ // the highlights above SDR white are there: MaxCLL beyond the 203 cd/m² of SDR white
+ let at = hdr.bytes.windows(4).position(|w| w == b"cLLI").expect("cLLI chunk");
+ let max_cll = u32::from_be_bytes(hdr.bytes[at + 4..at + 8].try_into().unwrap()) as f32 / 10_000.0;
+ assert!(max_cll > 250.0 && max_cll <= 4.0 * 203.0 + 1.0, "MaxCLL {max_cll}");
+ // HDR output off: the HDR edit exports its SDR rendition
+ let plain = export_photo(&mut s, id, &ExportOptions::from_json(&json!({"longEdge": 160, "format": "png"})), 1).unwrap();
+ assert!(!plain.bytes.windows(4).any(|w| w == b"cICP"));
+}
+
+#[test]
+fn hdr_jxl_export_is_pq_rec2020() {
+ let mut s = Session::with_demo();
+ let id = sunset(&mut s);
+ let o = ExportOptions::from_json(&json!({"longEdge": 160, "format": "jxl", "hdr": true, "quality": 90}));
+ assert!(o.hdr_output());
+ let sdr = export_photo(&mut s, id, &o, 1).unwrap();
+ s.execute("develop.hdr", &json!({"enabled": true, "maxEv": 2})).unwrap();
+ let hdr = export_photo(&mut s, id, &o, 1).unwrap();
+ let encoding = |b: &[u8]| {
+ let img = jxl_oxide::JxlImage::builder().read(std::io::Cursor::new(b)).unwrap();
+ let m = &img.image_header().metadata;
+ (format!("{:?}", m.colour_encoding), m.bit_depth.bits_per_sample())
+ };
+ let (c, bits) = encoding(&hdr.bytes);
+ assert!(c.contains("Bt2100") && c.contains("Pq"), "{c}");
+ assert_eq!(bits, 16);
+ // a photo without an HDR edit exports as an ordinary SDR file
+ let (c, _) = encoding(&sdr.bytes);
+ assert!(!c.contains("Pq"), "{c}");
+}
+
+#[test]
+fn jxl_export_writes_metadata() {
+ let mut s = Session::with_demo();
+ let id = sunset(&mut s);
+ let o = ExportOptions::from_json(&json!({"longEdge": 120, "format": "jxl", "quality": 80}));
+ let e = export_photo(&mut s, id, &o, 1).unwrap();
+ let d = lightcraft_codecs::decode(&e.bytes, Default::default()).unwrap();
+ assert_eq!(d.width.max(d.height), 120);
+ assert!(d.xmp.as_deref().is_some_and(|x| x.contains("Golden horizon")), "title in the XMP box");
+ assert!(d.exif.is_some(), "EXIF box");
+}
++
+ /// Issue #236: Add to Apple Photos after an export. A fake runner stands in for osascript: tests
+ /// never start it, nor Photos.
+ #[cfg(not(target_arch = "wasm32"))]
+ mod apple_photos {
+ use std::sync::{Arc, Mutex};
+
+ use serde_json::{Value, json};
+
+ use super::disk_batch;
+ use crate::Session;
+ use crate::apple_photos::{Imports, MARKER, Output, Runner};
+ use crate::export::{AfterExport, Destination, ExportOptions};
+ use crate::tests_xmp::temp_dir;
+
+ type Calls = Arc<Mutex<Vec<Vec<String>>>>;
+
+ /// Records the arguments; Photos "imports" the first `keep` files (all: `usize::MAX`).
+ fn fake(keep: usize) -> (Runner, Calls) {
+ let calls: Calls = Arc::default();
+ let c = calls.clone();
+ let r: Runner = Arc::new(move |args: &[String], _| {
+ c.lock().unwrap().push(args.to_vec());
+ let files = args.len() - args.iter().position(|a| a == MARKER).unwrap() - 2;
+ let ids: Vec<String> = (0..files.min(keep)).map(|i| format!("ID-{i}/L0/001")).collect();
+ Ok(Output { status: Some(0), stdout: ids.join("\n") + "\n", stderr: String::new() })
+ });
+ (r, calls)
+ }
+
+ /// The paths after the album: the files Photos was asked to import.
+ fn imported_paths(args: &[String]) -> Vec<String> {
+ args[args.iter().position(|a| a == MARKER).unwrap() + 2..].to_vec()
+ }
+
+ fn export_two(s: &mut Session, tag: &str) -> Vec<Value> {
+ let dir = temp_dir(tag);
+ let ids: Vec<_> = s.visible().iter().copied().take(2).collect();
+ let o = ExportOptions::from_json(&json!({"longEdge": 48, "naming": "{name}-{seq}"}));
+ let to = Destination { dir: dir.to_string_lossy().into(), exact: None };
+ let mut files = Vec::new();
+ for id in ids {
+ files.extend(disk_batch(s, id, &o, &to).unwrap());
+ }
+ files
+ }
+
+ #[test]
+ fn exported_files_go_to_photos_in_order() {
+ let mut s = Session::with_demo();
+ let files = export_two(&mut s, "photos-flow");
+ let written: Vec<String> = files.iter().map(|f| f["path"].as_str().unwrap().to_string()).collect();
+ assert_eq!(written.len(), 2);
+ let (runner, calls) = fake(usize::MAX);
+ let imports = Imports::default();
+ let after = AfterExport::apple_photos(runner.clone(), " Trip \"2026\"\n ", &imports).unwrap();
+ // a skipped file and a failed photo are not sent
+ let mut results = files.clone();
+ results.insert(1, json!({"skipped": "/elsewhere/x.jpg"}));
+ results.push(json!({"photo": 9, "file": "y", "error": "no source"}));
+ let out = after.run(&results, false).unwrap();
+ assert_eq!(out["imported"], 2, "{out}");
+ assert_eq!(out["requested"], 2);
+ assert_eq!(out["ids"], json!(["ID-0/L0/001", "ID-1/L0/001"]));
+ assert_eq!(out["album"], "Trip \"2026\"");
+ assert!(out.get("warning").is_none());
+ let args = calls.lock().unwrap()[0].clone();
+ assert_eq!(imported_paths(&args), written, "the files written, in order, as whole arguments");
+ assert!(written.iter().all(|p| std::path::Path::new(p).is_absolute()));
+ assert_eq!(args[args.iter().position(|a| a == MARKER).unwrap() + 1], "Trip \"2026\"");
+ // a cancelled export adds nothing
+ let out = AfterExport::apple_photos(runner.clone(), "", &imports).unwrap().run(&files, true).unwrap();
+ assert!(out["skipped"].as_str().unwrap().contains("cancelled"));
+ assert_eq!(calls.lock().unwrap().len(), 1);
+ // Photos took one of the two: said so, not an error
+ let (runner, _) = fake(1);
+ let out = AfterExport::apple_photos(runner, "", &Imports::default()).unwrap().run(&files, false).unwrap();
+ assert_eq!((out["imported"].as_u64(), out["requested"].as_u64()), (Some(1), Some(2)));
+ assert!(out["warning"].as_str().unwrap().contains("1 of 2"), "{out}");
+ assert!(out["album"].is_null());
+ // permission refused: the outcome says where to allow it; the files stay written
+ let denied: Runner = Arc::new(|_: &[String], _| {
+ Ok(Output {
+ status: Some(1),
+ stdout: String::new(),
+ stderr: "execution error: Not authorized to send Apple events to Photos. (-1743)".into(),
+ })
+ });
+ let out = AfterExport::apple_photos(denied, "", &Imports::default()).unwrap().run(&files, false).unwrap();
+ assert!(out["error"].as_str().unwrap().contains("Privacy & Security › Automation"), "{out}");
+ assert!(written.iter().all(|p| std::path::Path::new(p).is_file()));
+ // nothing asked: nothing done
+ assert!(AfterExport::default().is_none());
+ assert_eq!(AfterExport::default().run(&files, false), None);
+ }
+
+ #[test]
+ fn photos_is_refused_before_anything_is_written_when_it_cannot_be_reached() {
+ let mut s = Session::with_demo();
+ assert!(s.apple_photos.is_none(), "only with_fs installs the runner");
+ let on = ExportOptions { add_to_photos: true, ..Default::default() };
+ let e = s.after_export(&on).err().unwrap();
+ if cfg!(target_os = "macos") {
+ assert!(e.contains("isn't connected in this session"), "{e}");
+ } else {
+ assert_eq!(e, "Apple Photos is only available on macOS");
+ }
+ assert!(s.after_export(&ExportOptions::default()).unwrap().is_none());
+ // with a runner: macOS adds, other platforms still refuse
+ let (runner, calls) = fake(usize::MAX);
+ s.apple_photos = Some(runner);
+ let after = s.after_export(&on);
+ assert_eq!(after.is_ok(), cfg!(target_os = "macos"), "{:?}", after.as_ref().err());
+ match after {
+ Ok(after) => {
+ let files = export_two(&mut s, "photos-session");
+ assert_eq!(after.run(&files, false).unwrap()["imported"], 2);
+ assert_eq!(calls.lock().unwrap().len(), 1);
+ }
+ Err(e) => assert!(e.contains("only available on macOS"), "{e}"),
+ }
+ }
+
+ #[test]
+ fn the_add_to_photos_command_needs_a_runner_and_checks_its_input() {
+ let mut s = Session::with_demo();
+ let files = export_two(&mut s, "photos-cmd");
+ let paths: Vec<String> = files.iter().map(|f| f["path"].as_str().unwrap().to_string()).collect();
+ let info = |s: &Session| s.commands().into_iter().find(|c| c.id == "export.addToPhotos").unwrap();
+ // no runner: listed, disabled, with the reason
+ let i = info(&s);
+ assert!(!i.enabled);
+ let why = i.disabled_reason.unwrap();
+ assert!(why.contains(if cfg!(target_os = "macos") { "isn't connected" } else { "only available on macOS" }), "{why}");
+ let e = s.execute("export.addToPhotos", &json!({"paths": paths})).unwrap_err().to_string();
+ assert!(e.contains("Apple Photos"), "{e}");
+ let (runner, calls) = fake(usize::MAX);
+ s.apple_photos = Some(runner);
+ assert!(info(&s).enabled);
+ // no window: it waits for Photos by default
+ let r = s.execute("export.addToPhotos", &json!({"paths": paths, "album": "Läufe/日本 \\ \"q\""})).unwrap();
+ assert_eq!((r["imported"].as_u64(), r["running"].as_bool(), r["job"].as_u64()), (Some(2), Some(false), Some(1)), "{r}");
+ assert_eq!(r["album"], "Läufe/日本 \\ \"q\"");
+ assert_eq!(imported_paths(&calls.lock().unwrap()[0]), paths);
+ // bad input never reaches the runner (paths from the temp folder: absolute on every platform)
+ let missing = std::env::temp_dir().join("lc-photos-nonexistent").join("a.jpg").to_string_lossy().into_owned();
+ for (p, msg) in [
+ (json!({}), "missing `paths`"),
+ (json!({"paths": "a.jpg"}), "missing `paths`"),
+ (json!({"paths": [1]}), "array of file paths"),
+ (json!({"paths": []}), "no files"),
+ (json!({"paths": ["relative.jpg"]}), "absolute"),
+ (json!({"paths": [missing]}), "no such file"),
+ (json!({"paths": paths, "album": 3}), "`album` must be a string"),
+ (json!({"paths": paths, "wait": "yes"}), "`wait` must be true or false"),
+ (json!({"paths": paths, "albm": "x"}), "unknown parameter `albm`"),
+ ] {
+ let e = s.execute("export.addToPhotos", &p).unwrap_err().to_string();
+ assert!(e.contains(msg), "{p}: {e}");
+ }
+ assert_eq!(calls.lock().unwrap().len(), 1);
+ // not journaled: replaying actions must not import again
+ assert!(!s.journal.iter().any(|(id, _)| id == "export.addToPhotos"));
+ }
+
+ /// The desktop app answers control requests on its UI thread: `export.addToPhotos` must not
+ /// wait there for Photos (minutes, or a permission prompt). It returns the running job; the
+ /// outcome comes from `export.photosImports`; a second import, or an export asking for Photos,
+ /// is refused until it ends, so a retry never adds the files twice.
+ #[test]
+ fn a_slow_photos_import_runs_in_the_background() {
+ let mut s = Session::with_demo();
+ let files = export_two(&mut s, "photos-slow");
+ let paths: Vec<String> = files.iter().map(|f| f["path"].as_str().unwrap().to_string()).collect();
+ let (go, wait) = std::sync::mpsc::channel::<()>();
+ let wait = Mutex::new(wait);
+ let runner: Runner = Arc::new(move |args: &[String], _| {
+ // a regression (waiting on the caller's thread) fails after 20 s instead of hanging
+ let _ = wait.lock().unwrap().recv_timeout(std::time::Duration::from_secs(20));
+ let n = args.len() - args.iter().position(|a| a == MARKER).unwrap() - 2;
+ Ok(Output { status: Some(0), stdout: (0..n).map(|i| format!("ID-{i}\n")).collect(), stderr: String::new() })
+ });
+ s.apple_photos = Some(runner);
+ s.apple_photos_background = true; // as in the desktop app
+ let t0 = std::time::Instant::now();
+ let r = s.execute("export.addToPhotos", &json!({"paths": paths, "album": "Slow"})).unwrap();
+ assert!(t0.elapsed() < std::time::Duration::from_secs(5), "answered without waiting for Photos");
+ assert_eq!(r, json!({"job": 1, "running": true, "requested": 2, "album": "Slow"}));
+ let status = |s: &mut Session| s.execute("export.photosImports", &json!({"job": 1})).unwrap();
+ assert_eq!(status(&mut s)["running"], true);
+ // a retry is refused, and says why
+ let e = s.execute("export.addToPhotos", &json!({"paths": paths})).unwrap_err().to_string();
+ assert!(e.contains("still adding 2 file(s) from an earlier request (import 1)"), "{e}");
+ if cfg!(target_os = "macos") {
+ let on = ExportOptions { add_to_photos: true, ..Default::default() };
+ assert!(s.after_export(&on).err().unwrap().contains("still adding"), "refused before writing anything");
+ }
+ go.send(()).unwrap();
+ while status(&mut s)["running"] == true {
+ assert!(t0.elapsed() < std::time::Duration::from_secs(20), "the import finishes");
+ std::thread::sleep(std::time::Duration::from_millis(5));
+ }
+ let done = status(&mut s);
+ assert_eq!((done["imported"].as_u64(), done["album"].as_str()), (Some(2), Some("Slow")), "{done}");
+ let all = s.execute("export.photosImports", &json!({})).unwrap();
+ assert_eq!(all["imports"].as_array().map(Vec::len), Some(1));
+ assert!(s.execute("export.photosImports", &json!({"job": 7})).unwrap_err().to_string().contains("no import 7"));
+ // the window's thread never waits for Photos: `wait: true` is refused here, before any import
+ let e = s.execute("export.addToPhotos", &json!({"paths": paths, "wait": true})).unwrap_err().to_string();
+ assert!(e.contains("isn't available in the desktop app"), "{e}");
+ // finished: the next one may start
+ go.send(()).unwrap();
+ assert_eq!(s.execute("export.addToPhotos", &json!({"paths": paths})).unwrap()["job"], 2);
+ }
+
+ /// Review of #236: an export adding to Photos reserves the import before it writes its files.
+ /// While it renders, `export.addToPhotos` is refused, naming the export's job, instead of
+ /// taking Photos and leaving the export to fail its Photos step after writing.
+ #[test]
+ fn an_export_holds_photos_from_before_it_writes() {
+ let mut s = Session::with_demo();
+ let (runner, calls) = fake(usize::MAX);
+ s.apple_photos = Some(runner.clone());
+ let elsewhere = export_two(&mut s, "photos-hold-other");
+ let other: Vec<String> = elsewhere.iter().map(|f| f["path"].as_str().unwrap().to_string()).collect();
+ // what Session::after_export does on macOS (it refuses other platforms first)
+ let after = AfterExport::apple_photos(runner, "Held", &s.apple_photos_imports).unwrap();
+ let job = s.execute("export.photosImports", &json!({"job": 1})).unwrap();
+ assert_eq!((job["running"].as_bool(), job["exporting"].as_bool()), (Some(true), Some(true)), "{job}");
+ let e = s.execute("export.addToPhotos", &json!({"paths": other})).unwrap_err().to_string();
+ assert!(e.contains("An export is about to add its files to Apple Photos (import 1)"), "{e}");
+ if cfg!(target_os = "macos") {
+ let on = ExportOptions { add_to_photos: true, ..Default::default() };
+ assert!(s.after_export(&on).err().unwrap().contains("(import 1)"), "a second export is refused before writing");
+ }
+ assert!(calls.lock().unwrap().is_empty());
+ // the export writes its files and hands them over: imported under its own job
+ let files = export_two(&mut s, "photos-hold");
+ let out = after.run(&files, false).unwrap();
+ assert_eq!((out["job"].as_u64(), out["imported"].as_u64(), out["album"].as_str()), (Some(1), Some(2), Some("Held")), "{out}");
+ // then the slot is free
+ assert_eq!(s.execute("export.addToPhotos", &json!({"paths": other})).unwrap()["job"], 2);
+ // an export that fails (its AfterExport dropped) frees it too
+ drop(AfterExport::apple_photos(fake(usize::MAX).0, "", &s.apple_photos_imports).unwrap());
+ assert!(s.apple_photos_imports.running().is_none());
+ assert_eq!(s.execute("export.addToPhotos", &json!({"paths": other})).unwrap()["job"], 4);
+ }
+
+ /// Review of #236: a runner that panics while the command or an export waits for it is that
+ /// import's error; the slot is freed, so the next import isn't refused as "still running"
+ /// and a process ending doesn't wait for it.
+ #[test]
+ fn a_panicking_runner_never_holds_photos() {
+ let mut s = Session::with_demo();
+ let files = export_two(&mut s, "photos-panic");
+ let paths: Vec<String> = files.iter().map(|f| f["path"].as_str().unwrap().to_string()).collect();
+ s.apple_photos = Some(Arc::new(|_: &[String], _| panic!("runner exploded")));
+ // the command (no window: it waits)
+ let e = s.execute("export.addToPhotos", &json!({"paths": paths})).unwrap_err().to_string();
+ assert!(e.contains("stopped unexpectedly"), "{e}");
+ assert!(s.apple_photos_imports.running().is_none());
+ assert_eq!(s.execute("export.photosImports", &json!({"job": 1})).unwrap()["running"], false);
+ // an export's reservation
+ let runner = s.apple_photos.clone().unwrap();
+ let out = AfterExport::apple_photos(runner, "", &s.apple_photos_imports).unwrap().run(&files, false).unwrap();
+ assert!(out["error"].as_str().unwrap().contains("stopped unexpectedly"), "{out}");
+ assert!(s.apple_photos_imports.running().is_none());
+ assert!(!s.wait_for_photos_imports(), "nothing left to wait for");
+ // and the next import runs
+ let (good, _) = fake(usize::MAX);
+ s.apple_photos = Some(good);
+ assert_eq!(s.execute("export.addToPhotos", &json!({"paths": paths})).unwrap()["imported"], 2);
+ }
+
+ /// The desktop app, lightcraft-cli and the MCP server get the real runner from `with_fs`, on
+ /// macOS only. (Installed, never run here.)
+ #[test]
+ fn with_fs_installs_the_runner_on_macos_only() {
+ let s = Session::new().with_fs();
+ assert_eq!(s.apple_photos.is_some(), cfg!(target_os = "macos"));
+ assert_eq!(s.commands().into_iter().find(|c| c.id == "export.addToPhotos").unwrap().enabled, cfg!(target_os = "macos"));
+ }
+ }
diff --cc crates/mcp/src/headless.rs
index 663f6c839,459fbbed3..8678b1f7e
--- a/crates/mcp/src/headless.rs
+++ b/crates/mcp/src/headless.rs
@@@ -133,7 -140,7 +142,7 @@@ impl Backend for Headless
"engine.commands" => {
let mut v: Vec<Value> = self.session.commands().into_iter().map(|c| serde_json::to_value(c).unwrap_or_default()).collect();
v.push(json!({"id": "app.export", "label": "Export Now", "menu": [], "shortcut": null,
- "params": "{path?: output file (.jpg/.png/.tif/.webp/.avif/.jxl/.psd/.dng) | dir?, ids?, preset?, format?: jpeg|png|tiff|webp|avif|jxl|psd|dng|original, longEdge?|shortEdge?|width?|height?|megapixels?|percent? (default longEdge 3000; longEdge 0 = full size), dontEnlarge?, ppi?, quality?: 1..100, jxlLossless?, jxlEffort?: fast|normal, jxlProgressive?, limitKb?, colorSpace?: srgb|displayP3|adobeRgb|proPhoto|rec2020, bitDepth?: 8|10|16|32, hdr? (HDR output for HDR edits: gain map JPEG, PQ AVIF / PNG / JPEG XL, float TIFF), sharpen?: none|screen|matte|glossy, sharpenAmount?: low|standard|high, metadata?: all|allExceptCamera|copyright|none, removeLocation?, naming?, startNumber?, subfolder?, conflict?: unique|overwrite|skip, tiffCompression?: none|lzw|zip, dngCompression?: lossless|deflate|uncompressed, watermark?: text | {text?, vertical? (upright columns, right to left), size? (text height, 0.005..0.5 of the short edge; default 0.035), opacity? (0..1; 0.7), anchor?: topLeft|top|topRight|left|center|right|bottomLeft|bottom|bottomRight, insetX? (margin from the left/right edge, 0..0.4 of the short edge; 0.025), insetY? (from the top/bottom edge; 0.025), inset? (sets both), rotation?: 0|90|180|270 (degrees clockwise; 0), color? [r,g,b] sRGB, shadow?, image? (graphic drawn instead of the text), imageWidth? (0.01..1 of the photo's width; 0.2)}} — an unknown parameter, an out-of-range watermark size or a value of the wrong kind is an error, not a default",
- "params": "{path?: output file (.jpg/.png/.tif/.webp/.avif/.dng) | dir?, ids?, preset?, format?: jpeg|png|tiff|webp|avif|dng|original, longEdge?|shortEdge?|width?|height?|megapixels?|percent? (default longEdge 3000; longEdge 0 = full size), dontEnlarge?, ppi?, quality?: 1..100, limitKb?, colorSpace?: srgb|displayP3|adobeRgb|proPhoto|rec2020, bitDepth?: 8|10|16|32, hdr? (HDR output for HDR edits: gain map JPEG, float TIFF), sharpen?: none|screen|matte|glossy, sharpenAmount?: low|standard|high, metadata?: all|allExceptCamera|copyright|none, removeLocation?, naming?, startNumber?, subfolder?, conflict?: unique|overwrite|skip, tiffCompression?: none|lzw|zip, dngCompression?: lossless|deflate|uncompressed, addToPhotos?: bool (macOS: then add the files written to Apple Photos; outcome in `applePhotos`), photosAlbum?: top-level album name (made when missing), watermark?: text | {text?, vertical? (upright columns, right to left), size? (text height, 0.005..0.5 of the short edge; default 0.035), opacity? (0..1; 0.7), anchor?: topLeft|top|topRight|left|center|right|bottomLeft|bottom|bottomRight, inset? (margin, 0..0.4 of the short edge; 0.025), color? [r,g,b] sRGB, shadow?, image? (graphic drawn instead of the text), imageWidth? (0.01..1 of the photo's width; 0.2)}} — an unknown parameter, an out-of-range watermark size or a value of the wrong kind is an error, not a default",
++ "params": "{path?: output file (.jpg/.png/.tif/.webp/.avif/.jxl/.psd/.dng) | dir?, ids?, preset?, format?: jpeg|png|tiff|webp|avif|jxl|psd|dng|original, longEdge?|shortEdge?|width?|height?|megapixels?|percent? (default longEdge 3000; longEdge 0 = full size), dontEnlarge?, ppi?, quality?: 1..100, jxlLossless?, jxlEffort?: fast|normal, jxlProgressive?, limitKb?, colorSpace?: srgb|displayP3|adobeRgb|proPhoto|rec2020, bitDepth?: 8|10|16|32, hdr? (HDR output for HDR edits: gain map JPEG, PQ AVIF / PNG / JPEG XL, float TIFF), sharpen?: none|screen|matte|glossy, sharpenAmount?: low|standard|high, metadata?: all|allExceptCamera|copyright|none, removeLocation?, naming?, startNumber?, subfolder?, conflict?: unique|overwrite|skip, tiffCompression?: none|lzw|zip, dngCompression?: lossless|deflate|uncompressed, addToPhotos?: bool (macOS: then add the files written to Apple Photos; outcome in `applePhotos`), photosAlbum?: top-level album name (made when missing), watermark?: text | {text?, vertical? (upright columns, right to left), size? (text height, 0.005..0.5 of the short edge; default 0.035), opacity? (0..1; 0.7), anchor?: topLeft|top|topRight|left|center|right|bottomLeft|bottom|bottomRight, insetX? (margin from the left/right edge, 0..0.4 of the short edge; 0.025), insetY? (from the top/bottom edge; 0.025), inset? (sets both), rotation?: 0|90|180|270 (degrees clockwise; 0), color? [r,g,b] sRGB, shadow?, image? (graphic drawn instead of the text), imageWidth? (0.01..1 of the photo's width; 0.2)}} — an unknown parameter, an out-of-range watermark size or a value of the wrong kind is an error, not a default",
"enabled": self.session.active().is_some()}));
Ok(Value::Array(v))
}
diff --cc crates/mcp/src/tools.rs
index 2f51d64d0,9e5ab90ab..93b0567d8
--- a/crates/mcp/src/tools.rs
+++ b/crates/mcp/src/tools.rs
@@@ -259,10 -256,12 +259,12 @@@ pub fn helper_tools(has_ui: bool) -> Ve
"startNumber": {"type": "integer", "description": "First {seq} value (default 1)"},
"metadata": {"type": "string", "enum": ["all", "allExceptCamera", "copyright", "none"]},
"removeLocation": {"type": "boolean"},
- "colorSpace": {"type": "string", "enum": ["srgb", "displayP3", "adobeRgb", "proPhoto", "rec2020"], "description": "Output colour space (default sRGB; AVIF is always sRGB). adobeRgb = Adobe RGB (1998) compatible; the embedded ICC profile is generated from the published primaries"},
- "bitDepth": {"type": "integer", "enum": [8, 10, 16, 32], "description": "Bits per channel: PNG 8|16 (default 8), TIFF 8|16|32 (default 16; 32 = linear float with a linear profile), AVIF 8|10; JPEG/WebP are 8-bit"},
- "hdr": {"type": "boolean", "description": "HDR output for photos edited in HDR (develop.hdr): JPEG as an ISO 21496-1 gain map JPEG, AVIF as 10-bit Rec. 2020 PQ, 32-bit TIFF with highlights above 1; other formats and SDR edits export as usual"},
+ "colorSpace": {"type": "string", "enum": ["srgb", "displayP3", "adobeRgb", "proPhoto", "rec2020"], "description": "Output colour space (default sRGB; AVIF is always sRGB; lossy JPEG XL writes adobeRgb/proPhoto as rec2020). adobeRgb = Adobe RGB (1998) compatible; the embedded ICC profile is generated from the published primaries"},
+ "bitDepth": {"type": "integer", "enum": [8, 10, 16, 32], "description": "Bits per channel: PNG 8|16 (default 8), TIFF 8|16|32 (default 16; 32 = linear float with a linear profile), PSD 8|16 (default 16), AVIF 8|10, JPEG XL 8|16; JPEG/WebP are 8-bit"},
+ "hdr": {"type": "boolean", "description": "HDR output for photos edited in HDR (develop.hdr): JPEG as an ISO 21496-1 gain map JPEG, AVIF as 10-bit, PNG and JPEG XL as 16-bit Rec. 2020 PQ, 32-bit TIFF with highlights above 1; other formats and SDR edits export as usual"},
+ "addToPhotos": {"type": "boolean", "description": "macOS: after writing the files, add them to Apple Photos (Apple Events to Photos' import; the first time, macOS asks the user to allow LightCraft to control Photos). The outcome is `applePhotos` in the result, the import job: {job, running, requested, album, imported?, ids?, warning?, error?}; headless waits for Photos, the desktop app returns the running job (outcome: command export.photosImports {job}). The files are written either way. An error before exporting on other platforms, or while another import is reserved or running"},
+ "photosAlbum": {"type": "string", "description": "With addToPhotos: the album to add them to, a top-level Photos album of exactly this name, made when missing (several of that name: nothing is added); default none"},
- "watermark": {"description": "Text, or {text, vertical (boolean; defaults to false: upright columns right to left), size (text height as a fraction of the short edge, 0.005..0.5; default 0.035), opacity (0..1; default 0.7), anchor (topLeft|top|topRight|left|center|right|bottomLeft|bottom|bottomRight), inset (margin as a fraction of the short edge, 0..0.4; default 0.025), color [r,g,b] (sRGB 0..255), shadow (boolean), image (path of a graphic drawn instead of the text), imageWidth (fraction of the photo's width, 0.01..1; default 0.2)}. Unknown keys and out-of-range sizes are errors"}
+ "watermark": {"description": "Text, or {text, vertical (boolean; defaults to false: upright columns right to left), size (text height as a fraction of the short edge, 0.005..0.5; default 0.035), opacity (0..1; default 0.7), anchor (topLeft|top|topRight|left|center|right|bottomLeft|bottom|bottomRight), insetX (margin from the left or right edge as a fraction of the short edge, 0..0.4; default 0.025), insetY (margin from the top or bottom edge, same units), inset (sets both), rotation (degrees clockwise: 0|90|180|270; default 0; the watermark is sized before it is turned), color [r,g,b] (sRGB 0..255), shadow (boolean), image (path of a graphic drawn instead of the text), imageWidth (fraction of the photo's width, 0.01..1; default 0.2)}. Unknown keys and out-of-range sizes are errors"}
}),
&[],
),
diff --cc crates/ui-egui/locales/de-formats.json
index b9a6debec,cbb4ddab8..ca0b6705a
--- a/crates/ui-egui/locales/de-formats.json
+++ b/crates/ui-egui/locales/de-formats.json
@@@ -238,7 -229,7 +238,10 @@@
"1 task is still running: {names}. Quitting stops it.": "1 Aufgabe läuft noch: {names}. Beenden bricht sie ab.",
"{n} tasks are still running: {names}. Quitting stops them.": "{n} Aufgaben laufen noch: {names}. Beenden bricht sie ab.",
"{what} merge cancelled": "{what}-Zusammenfügung abgebrochen",
+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Übersprungen: {n} lokale Fotos{0:.0} – Alben enthalten Bibliotheksfotos (zuerst zu „Meine Fotos“ hinzufügen)",
+ "New Folder in “{name}”": "Neuer Ordner in „{name}“",
- "Moved {} photo(s)": "{} Foto(s) verschoben"
++ "Moved {} photo(s)": "{} Foto(s) verschoben",
+ "not added to Apple Photos: {e}": "nicht zu Apple Fotos hinzugefügt: {e}",
+ "{n} added to Apple Photos album “{album}”": "{n} zum Apple-Fotos-Album „{album}“ hinzugefügt",
+ "{n} added to Apple Photos": "{n} zu Apple Fotos hinzugefügt"
}
diff --cc crates/ui-egui/locales/de.json
index 5c7d81a97,2b130f2ec..aa591b056
--- a/crates/ui-egui/locales/de.json
+++ b/crates/ui-egui/locales/de.json
@@@ -2058,52 -2040,9 +2058,57 @@@
"Finding faces": "Gesichter werden gesucht",
"Synchronizing folder": "Ordner wird synchronisiert",
"Looking for changes": "Änderungen werden gesucht",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Dies ist ein Lightroom-Katalog, keine LightCraft-Bibliothek. Stattdessen in eine LightCraft-Bibliothek importieren?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "Der Import liest den Katalog, ohne ihn zu ändern, und fügt seine Fotos, Bearbeitungen, Stichwörter und Sammlungen der jetzt geöffneten Bibliothek hinzu.",
+ "Albums hold library photos: Add to My Photos first": "Alben enthalten Bibliotheksfotos: zuerst zu „Meine Fotos“ hinzufügen",
+ "Add to My Photos First": "Zuerst zu „Meine Fotos“ hinzufügen",
+ "Fill Location from GPS": "Ort aus GPS ausfüllen",
+ "Download Place Names (GeoNames)": "Ortsnamen herunterladen (GeoNames)",
+ "Place Names Status": "Status der Ortsnamen",
+ "Fill Location": "Ort ausfüllen",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Leere Felder Stadt, Bundesland und Land aus GPS ausfüllen (GeoNames-Ortsnamen, offline)",
+ "Looking up places": "Orte werden nachgeschlagen",
+ "Downloading place names": "Ortsnamen werden heruntergeladen",
+ "Place names downloaded": "Ortsnamen heruntergeladen",
+ "Place names download cancelled": "Download der Ortsnamen abgebrochen",
+ "Other…": "Andere…",
+ "Intent:": "Priorität:",
+ "Perceptual": "Perzeptiv",
+ "Relative": "Relativ",
+ "Simulate Paper & Ink": "Papier und Druckfarbe simulieren",
+ "Content-Aware": "Inhaltsbasiert",
+ "imported earlier switch over with Photo ▸ Reload from Disk.": "Bereits importierte Fotos wechseln mit Foto → Vom Datenträger neu laden zur RAW-Bearbeitung.",
+ "Canon EOS R5 Mark II C-RAW files that opened as \"preview only\" (more than half of them, depending on the": "C-RAW-Dateien der Canon EOS R5 Mark II, die als „Nur Vorschau“ geöffnet wurden (je nach Motiv mehr als die Hälfte),",
+ "scene) now develop from their sensor data with every editing tool, like the camera's other raws. Photos": "werden jetzt wie die übrigen RAW-Dateien der Kamera aus ihren Sensordaten mit allen Werkzeugen bearbeitet.",
+ "Sidebar Sections": "Seitenleistenbereiche",
+ "Reset Sidebar Sections": "Seitenleistenbereiche zurücksetzen",
+ "Hide This Section": "Diesen Bereich ausblenden",
+ "No folders to browse": "Keine Ordner zum Durchsuchen",
+ "No photos yet": "Noch keine Fotos",
+ "No imported folders yet": "Noch keine importierten Ordner",
+ "Show Sidebar Section": "Seitenleistenbereich anzeigen",
+ "Move Sidebar Section": "Seitenleistenbereich verschieben",
+ "New Library…": "Neue Bibliothek…",
+ "Open Recent Library": "Zuletzt verwendete Bibliothek öffnen",
+ "Recent Libraries": "Zuletzt verwendete Bibliotheken",
+ "Clear Recent Libraries": "Liste leeren",
+ "No Recent Libraries": "Keine zuletzt verwendeten Bibliotheken",
+ "New Library: Choose Where to Put It": "Neue Bibliothek: Speicherort wählen",
+ "New Library": "Neue Bibliothek",
+ "Library name": "Name der Bibliothek",
+ "New Folder on Disk": "Neuer Ordner auf dem Datenträger",
+ "New Folder on Disk…": "Neuer Ordner auf dem Datenträger…",
+ "Move to Folder": "In Ordner verschieben",
+ "Move to Folder…": "In Ordner verschieben…",
+ "Move Selected Photos Here": "Ausgewählte Fotos hierher verschieben",
+ "Moves the files and their XMP sidecars into this folder; never overwrites": "Verschiebt die Dateien samt XMP-Filialdateien in diesen Ordner; nichts wird überschrieben",
+ "Appearance Settings…": "Erscheinungsbild-Einstellungen…",
+ "Add to favorites": "Zu Favoriten hinzufügen",
+ "Remove from favorites": "Aus Favoriten entfernen",
- "{n} photos opened for editing; each is stacked with its original": "{n} Fotos zur Bearbeitung geöffnet; jedes ist mit seinem Original gestapelt"
++ "{n} photos opened for editing; each is stacked with its original": "{n} Fotos zur Bearbeitung geöffnet; jedes ist mit seinem Original gestapelt",
+ "Add to Apple Photos": "Zu Apple Fotos hinzufügen",
+ "Adding to Apple Photos…": "Wird zu Apple Fotos hinzugefügt…",
+ "not added to Apple Photos (cancelled)": "nicht zu Apple Fotos hinzugefügt (abgebrochen)",
+ "The first time, macOS asks whether LightCraft may control Photos.": "Beim ersten Mal fragt macOS, ob LightCraft Fotos steuern darf.",
+ "Adding to Apple Photos": "Wird zu Apple Fotos hinzugefügt"
}
diff --cc crates/ui-egui/locales/es-formats.json
index c61324752,ec8e037d5..3cb8047dd
--- a/crates/ui-egui/locales/es-formats.json
+++ b/crates/ui-egui/locales/es-formats.json
@@@ -238,7 -229,7 +238,10 @@@
"1 task is still running: {names}. Quitting stops it.": "1 tarea sigue en curso: {names}. Salir la detiene.",
"{n} tasks are still running: {names}. Quitting stops them.": "{n} tareas siguen en curso: {names}. Salir las detiene.",
"{what} merge cancelled": "Combinación {what} cancelada",
+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Fotos locales omitidas: {n}{0:.0} — los álbumes contienen fotos de la biblioteca (añádelas primero a Mis fotos)",
+ "New Folder in “{name}”": "Nueva carpeta en «{name}»",
- "Moved {} photo(s)": "{} foto(s) movida(s)"
++ "Moved {} photo(s)": "{} foto(s) movida(s)",
+ "not added to Apple Photos: {e}": "no se añadieron a Fotos de Apple: {e}",
+ "{n} added to Apple Photos album “{album}”": "{n} añadidas al álbum “{album}” de Fotos de Apple",
+ "{n} added to Apple Photos": "{n} añadidas a Fotos de Apple"
}
diff --cc crates/ui-egui/locales/es.json
index 5b9e12b1d,b9a3b4270..716e420d9
--- a/crates/ui-egui/locales/es.json
+++ b/crates/ui-egui/locales/es.json
@@@ -1903,49 -1885,9 +1903,54 @@@
"Finding faces": "Buscando caras",
"Synchronizing folder": "Sincronizando carpeta",
"Looking for changes": "Buscando cambios",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Esto es un catálogo de Lightroom, no una biblioteca de LightCraft. ¿Importarlo a una biblioteca de LightCraft?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "La importación lee el catálogo sin modificarlo y añade sus fotos, ediciones, palabras clave y colecciones a la biblioteca abierta ahora.",
+ "Albums hold library photos: Add to My Photos first": "Los álbumes contienen fotos de la biblioteca: añádelas primero a Mis fotos",
+ "Add to My Photos First": "Añadir primero a Mis fotos",
+ "Fill Location from GPS": "Rellenar ubicación desde GPS",
+ "Download Place Names (GeoNames)": "Descargar nombres de lugares (GeoNames)",
+ "Place Names Status": "Estado de los nombres de lugares",
+ "Fill Location": "Rellenar ubicación",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Rellenar Ciudad, Estado y País vacíos desde el GPS (nombres de lugares de GeoNames, sin conexión)",
+ "Looking up places": "Buscando lugares",
+ "Downloading place names": "Descargando nombres de lugares",
+ "Place names downloaded": "Nombres de lugares descargados",
+ "Place names download cancelled": "Descarga de nombres de lugares cancelada",
+ "Other…": "Otro…",
+ "Intent:": "Propósito:",
+ "Perceptual": "Perceptual",
+ "Relative": "Relativo",
+ "Simulate Paper & Ink": "Simular papel y tinta",
+ "Content-Aware": "Según el contenido",
+ "Sidebar Sections": "Secciones de la barra lateral",
+ "Reset Sidebar Sections": "Restablecer secciones de la barra lateral",
+ "Hide This Section": "Ocultar esta sección",
+ "No folders to browse": "No hay carpetas para explorar",
+ "No photos yet": "Aún no hay fotos",
+ "No imported folders yet": "Aún no hay carpetas importadas",
+ "Show Sidebar Section": "Mostrar sección de la barra lateral",
+ "Move Sidebar Section": "Mover sección de la barra lateral",
+ "New Library…": "Nueva biblioteca…",
+ "Open Recent Library": "Abrir biblioteca reciente",
+ "Recent Libraries": "Bibliotecas recientes",
+ "Clear Recent Libraries": "Borrar bibliotecas recientes",
+ "No Recent Libraries": "No hay bibliotecas recientes",
+ "New Library: Choose Where to Put It": "Nueva biblioteca: elige dónde guardarla",
+ "New Library": "Nueva biblioteca",
+ "Library name": "Nombre de la biblioteca",
+ "New Folder on Disk": "Nueva carpeta en el disco",
+ "New Folder on Disk…": "Nueva carpeta en el disco…",
+ "Move to Folder": "Mover a carpeta",
+ "Move to Folder…": "Mover a carpeta…",
+ "Move Selected Photos Here": "Mover aquí las fotos seleccionadas",
+ "Moves the files and their XMP sidecars into this folder; never overwrites": "Mueve los archivos y sus archivos XMP auxiliares a esta carpeta; nunca sobrescribe",
+ "Appearance Settings…": "Ajustes de apariencia…",
+ "Add to favorites": "Añadir a favoritos",
+ "Remove from favorites": "Quitar de favoritos",
- "{n} photos opened for editing; each is stacked with its original": "{n} fotos abiertas para editar; cada una está apilada con su original"
++ "{n} photos opened for editing; each is stacked with its original": "{n} fotos abiertas para editar; cada una está apilada con su original",
+ "Add to Apple Photos": "Añadir a Fotos de Apple",
+ "Adding to Apple Photos…": "Añadiendo a Fotos de Apple…",
+ "not added to Apple Photos (cancelled)": "no se añadieron a Fotos de Apple (cancelado)",
+ "The first time, macOS asks whether LightCraft may control Photos.": "La primera vez, macOS pregunta si LightCraft puede controlar Fotos.",
+ "Adding to Apple Photos": "Añadiendo a Fotos de Apple"
}
diff --cc crates/ui-egui/locales/fr-formats.json
index 0ac18fea1,54e5026ab..c076d09e0
--- a/crates/ui-egui/locales/fr-formats.json
+++ b/crates/ui-egui/locales/fr-formats.json
@@@ -238,7 -229,7 +238,10 @@@
"1 task is still running: {names}. Quitting stops it.": "1 tâche est encore en cours : {names}. Quitter l'arrête.",
"{n} tasks are still running: {names}. Quitting stops them.": "{n} tâches sont encore en cours : {names}. Quitter les arrête.",
"{what} merge cancelled": "Fusion {what} annulée",
+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Photos locales ignorées : {n}{0:.0} — les albums contiennent des photos de la bibliothèque (ajoutez-les d’abord à Mes photos)",
+ "New Folder in “{name}”": "Nouveau dossier dans « {name} »",
- "Moved {} photo(s)": "{} photo(s) déplacée(s)"
++ "Moved {} photo(s)": "{} photo(s) déplacée(s)",
+ "not added to Apple Photos: {e}": "non ajouté à Apple Photos : {e}",
+ "{n} added to Apple Photos album “{album}”": "{n} ajouté(s) à l'album Apple Photos « {album} »",
+ "{n} added to Apple Photos": "{n} ajouté(s) à Apple Photos"
}
diff --cc crates/ui-egui/locales/fr.json
index 9054e3fd4,3a84f7d34..d4fcff460
--- a/crates/ui-egui/locales/fr.json
+++ b/crates/ui-egui/locales/fr.json
@@@ -1890,62 -1885,9 +1890,67 @@@
"Reset Panel Layout": "Reset Panel Layout",
"Resize panel window": "Resize panel window",
"Resize panels": "Resize panels",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Ceci est un catalogue Lightroom, pas une bibliothèque LightCraft. L’importer plutôt dans une bibliothèque LightCraft ?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "L’importation lit le catalogue sans le modifier et ajoute ses photos, retouches, mots-clés et collections à la bibliothèque ouverte.",
+ "Albums hold library photos: Add to My Photos first": "Les albums contiennent des photos de la bibliothèque : ajoutez-les d’abord à Mes photos",
+ "Add to My Photos First": "Ajouter d’abord à Mes photos",
+ "Fill Location from GPS": "Remplir le lieu depuis le GPS",
+ "Download Place Names (GeoNames)": "Télécharger les noms de lieux (GeoNames)",
+ "Place Names Status": "État des noms de lieux",
+ "Fill Location": "Remplir le lieu",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Remplir Ville, État et Pays vides depuis le GPS (noms de lieux GeoNames, hors ligne)",
+ "Looking up places": "Recherche des lieux",
+ "Downloading place names": "Téléchargement des noms de lieux",
+ "Place names downloaded": "Noms de lieux téléchargés",
+ "Place names download cancelled": "Téléchargement des noms de lieux annulé",
+ "Other…": "Autre…",
+ "Intent:": "Mode de rendu :",
+ "Perceptual": "Perceptif",
+ "Relative": "Relatif",
+ "Simulate Paper & Ink": "Simuler le papier et l'encre",
+ "Content-Aware": "Contenu pris en compte",
+ "Sidebar Sections": "Sections de la barre latérale",
+ "Reset Sidebar Sections": "Réinitialiser les sections de la barre latérale",
+ "Hide This Section": "Masquer cette section",
+ "No folders to browse": "Aucun dossier à parcourir",
+ "No photos yet": "Aucune photo pour l’instant",
+ "No imported folders yet": "Aucun dossier importé pour l’instant",
+ "Show Sidebar Section": "Afficher la section de la barre latérale",
+ "Move Sidebar Section": "Déplacer la section de la barre latérale",
+ "New Library…": "Nouvelle bibliothèque…",
+ "Open Recent Library": "Ouvrir une bibliothèque récente",
+ "Recent Libraries": "Bibliothèques récentes",
+ "Clear Recent Libraries": "Effacer les bibliothèques récentes",
+ "No Recent Libraries": "Aucune bibliothèque récente",
+ "New Library: Choose Where to Put It": "Nouvelle bibliothèque : choisir son emplacement",
+ "New Library": "Nouvelle bibliothèque",
+ "Library name": "Nom de la bibliothèque",
+ "New Folder on Disk": "Nouveau dossier sur le disque",
+ "New Folder on Disk…": "Nouveau dossier sur le disque…",
+ "Move to Folder": "Déplacer vers un dossier",
+ "Move to Folder…": "Déplacer vers un dossier…",
+ "Move Selected Photos Here": "Déplacer ici les photos sélectionnées",
+ "Moves the files and their XMP sidecars into this folder; never overwrites": "Déplace les fichiers et leurs fichiers annexes XMP dans ce dossier ; n'écrase jamais rien",
+ "Appearance Settings…": "Réglages d’apparence…",
+ "Add to favorites": "Ajouter aux favoris",
+ "Remove from favorites": "Retirer des favoris",
+ "Appearance": "Apparence",
+ "Appearance Mode": "Mode d’apparence",
+ "Sync with System": "Synchroniser avec le système",
+ "Light Mode": "Mode clair",
+ "Dark Mode": "Mode sombre",
+ "Next Appearance Mode": "Mode d’apparence suivant",
+ "Light Theme": "Thème clair",
+ "Dark Theme": "Thème sombre",
+ "In Use": "Utilisé",
+ "Charcoal": "Anthracite",
+ "Midnight": "Minuit",
+ "Silver": "Argent",
+ "Paper": "Papier",
- "{n} photos opened for editing; each is stacked with its original": "{n} photos ouvertes pour modification ; chacune est empilée avec son original"
++ "{n} photos opened for editing; each is stacked with its original": "{n} photos ouvertes pour modification ; chacune est empilée avec son original",
+ "Add to Apple Photos": "Ajouter à Apple Photos",
+ "Adding to Apple Photos…": "Ajout à Apple Photos…",
+ "not added to Apple Photos (cancelled)": "non ajouté à Apple Photos (annulé)",
+ "The first time, macOS asks whether LightCraft may control Photos.": "La première fois, macOS demande si LightCraft peut contrôler Photos.",
+ "Adding to Apple Photos": "Ajout à Apple Photos"
}
diff --cc crates/ui-egui/locales/ja-formats.json
index 3dabbde14,941e21f1e..f5964ece5
--- a/crates/ui-egui/locales/ja-formats.json
+++ b/crates/ui-egui/locales/ja-formats.json
@@@ -238,7 -229,7 +238,10 @@@
"1 task is still running: {names}. Quitting stops it.": "1件のタスクが実行中です:{names}。終了すると停止します。",
"{n} tasks are still running: {names}. Quitting stops them.": "{n}件のタスクが実行中です:{names}。終了すると停止します。",
"{what} merge cancelled": "{what}合成をキャンセルしました",
+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "ローカル写真{n}枚をスキップしました{0:.0}:アルバムに入れられるのはライブラリの写真です(先にマイフォトに追加してください)",
+ "New Folder in “{name}”": "「{name}」に新規フォルダ",
- "Moved {} photo(s)": "{} 枚の写真を移動しました"
++ "Moved {} photo(s)": "{} 枚の写真を移動しました",
+ "not added to Apple Photos: {e}": "Appleの写真に追加されませんでした:{e}",
+ "{n} added to Apple Photos album “{album}”": "{n}件をAppleの写真のアルバム「{album}」に追加しました",
+ "{n} added to Apple Photos": "{n}件をAppleの写真に追加しました"
}
diff --cc crates/ui-egui/locales/ja.json
index 4c503519b,23c4e2c07..8f387d979
--- a/crates/ui-egui/locales/ja.json
+++ b/crates/ui-egui/locales/ja.json
@@@ -1905,49 -1887,9 +1905,54 @@@
"Finding faces": "顔を検索中",
"Synchronizing folder": "フォルダを同期中",
"Looking for changes": "変更を確認中",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "これは Lightroom カタログで、LightCraft ライブラリではありません。代わりに LightCraft ライブラリに読み込みますか?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "読み込みはカタログを変更せずに読み取り、写真・編集・キーワード・コレクションを現在開いているライブラリに追加します。",
+ "Albums hold library photos: Add to My Photos first": "アルバムに入れられるのはライブラリの写真です:先にマイフォトに追加してください",
+ "Add to My Photos First": "先にマイフォトに追加",
+ "Fill Location from GPS": "GPS から場所を入力",
+ "Download Place Names (GeoNames)": "地名データをダウンロード (GeoNames)",
+ "Place Names Status": "地名データの状態",
+ "Fill Location": "場所を入力",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "空の市区町村・都道府県・国を GPS から入力 (GeoNames の地名、オフライン)",
+ "Looking up places": "場所を検索中",
+ "Downloading place names": "地名データをダウンロード中",
+ "Place names downloaded": "地名データをダウンロードしました",
+ "Place names download cancelled": "地名データのダウンロードを中止しました",
+ "Other…": "その他…",
+ "Intent:": "マッチング方法:",
+ "Perceptual": "知覚的",
+ "Relative": "相対的",
+ "Simulate Paper & Ink": "紙とインキをシミュレート",
+ "Content-Aware": "コンテンツに応じる",
+ "Sidebar Sections": "サイドバーのセクション",
+ "Reset Sidebar Sections": "サイドバーのセクションをリセット",
+ "Hide This Section": "このセクションを隠す",
+ "No folders to browse": "参照できるフォルダがありません",
+ "No photos yet": "写真はまだありません",
+ "No imported folders yet": "読み込んだフォルダはまだありません",
+ "Show Sidebar Section": "サイドバーのセクションを表示",
+ "Move Sidebar Section": "サイドバーのセクションを移動",
+ "New Library…": "新しいライブラリ…",
+ "Open Recent Library": "最近使ったライブラリを開く",
+ "Recent Libraries": "最近使ったライブラリ",
+ "Clear Recent Libraries": "最近使ったライブラリを消去",
+ "No Recent Libraries": "最近使ったライブラリはありません",
+ "New Library: Choose Where to Put It": "新しいライブラリ:保存場所を選択",
+ "New Library": "新しいライブラリ",
+ "Library name": "ライブラリ名",
+ "New Folder on Disk": "ディスクに新規フォルダ",
+ "New Folder on Disk…": "ディスクに新規フォルダ…",
+ "Move to Folder": "フォルダへ移動",
+ "Move to Folder…": "フォルダへ移動…",
+ "Move Selected Photos Here": "選択した写真をここへ移動",
+ "Moves the files and their XMP sidecars into this folder; never overwrites": "ファイルと XMP サイドカーをこのフォルダへ移動します。上書きはしません",
+ "Appearance Settings…": "外観設定…",
+ "Add to favorites": "お気に入りに追加",
+ "Remove from favorites": "お気に入りから削除",
- "{n} photos opened for editing; each is stacked with its original": "{n}枚の写真を編集用に開きました。それぞれ元の写真とスタックされています"
++ "{n} photos opened for editing; each is stacked with its original": "{n}枚の写真を編集用に開きました。それぞれ元の写真とスタックされています",
+ "Add to Apple Photos": "Appleの写真に追加",
+ "Adding to Apple Photos…": "Appleの写真に追加中…",
+ "not added to Apple Photos (cancelled)": "Appleの写真には追加されませんでした(キャンセル)",
+ "The first time, macOS asks whether LightCraft may control Photos.": "初回は、LightCraftに写真の操作を許可するかmacOSが確認します。",
+ "Adding to Apple Photos": "Appleの写真に追加中"
}
diff --cc crates/ui-egui/locales/pt-br-formats.json
index b76d794c0,90decfd4d..74a0c7a8b
--- a/crates/ui-egui/locales/pt-br-formats.json
+++ b/crates/ui-egui/locales/pt-br-formats.json
@@@ -238,7 -229,7 +238,10 @@@
"1 task is still running: {names}. Quitting stops it.": "1 tarefa ainda está em andamento: {names}. Sair a interrompe.",
"{n} tasks are still running: {names}. Quitting stops them.": "{n} tarefas ainda estão em andamento: {names}. Sair as interrompe.",
"{what} merge cancelled": "{what} mesclagem cancelada",
+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Fotos locais ignoradas: {n}{0:.0} — álbuns contêm fotos da biblioteca (adicione-as às Minhas fotos primeiro)",
+ "New Folder in “{name}”": "Nova pasta em “{name}”",
- "Moved {} photo(s)": "{} foto(s) movida(s)"
++ "Moved {} photo(s)": "{} foto(s) movida(s)",
+ "not added to Apple Photos: {e}": "não adicionadas ao Fotos da Apple: {e}",
+ "{n} added to Apple Photos album “{album}”": "{n} adicionadas ao álbum “{album}” do Fotos da Apple",
+ "{n} added to Apple Photos": "{n} adicionadas ao Fotos da Apple"
}
diff --cc crates/ui-egui/locales/pt-br.json
index b992e6cb1,cdbf23f4e..a6d42d264
--- a/crates/ui-egui/locales/pt-br.json
+++ b/crates/ui-egui/locales/pt-br.json
@@@ -1903,49 -1885,9 +1903,54 @@@
"Finding faces": "Procurando rostos",
"Synchronizing folder": "Sincronizando pasta",
"Looking for changes": "Procurando alterações",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Este é um catálogo do Lightroom, não uma biblioteca do LightCraft. Importá-lo para uma biblioteca do LightCraft?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "A importação lê o catálogo sem alterá-lo e adiciona as fotos, edições, palavras-chave e coleções dele à biblioteca aberta agora.",
+ "Albums hold library photos: Add to My Photos first": "Álbuns contêm fotos da biblioteca: adicione-as às Minhas fotos primeiro",
+ "Add to My Photos First": "Adicionar às Minhas fotos primeiro",
+ "Fill Location from GPS": "Preencher local pelo GPS",
+ "Download Place Names (GeoNames)": "Baixar nomes de lugares (GeoNames)",
+ "Place Names Status": "Status dos nomes de lugares",
+ "Fill Location": "Preencher local",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Preencher Cidade, Estado e País vazios pelo GPS (nomes de lugares GeoNames, offline)",
+ "Looking up places": "Procurando lugares",
+ "Downloading place names": "Baixando nomes de lugares",
+ "Place names downloaded": "Nomes de lugares baixados",
+ "Place names download cancelled": "Download dos nomes de lugares cancelado",
+ "Other…": "Outro…",
+ "Intent:": "Tipo de conversão:",
+ "Perceptual": "Perceptual",
+ "Relative": "Relativo",
+ "Simulate Paper & Ink": "Simular papel e tinta",
+ "Content-Aware": "Sensível ao conteúdo",
+ "Sidebar Sections": "Seções da barra lateral",
+ "Reset Sidebar Sections": "Redefinir seções da barra lateral",
+ "Hide This Section": "Ocultar esta seção",
+ "No folders to browse": "Nenhuma pasta para navegar",
+ "No photos yet": "Ainda não há fotos",
+ "No imported folders yet": "Ainda não há pastas importadas",
+ "Show Sidebar Section": "Mostrar seção da barra lateral",
+ "Move Sidebar Section": "Mover seção da barra lateral",
+ "New Library…": "Nova biblioteca…",
+ "Open Recent Library": "Abrir biblioteca recente",
+ "Recent Libraries": "Bibliotecas recentes",
+ "Clear Recent Libraries": "Limpar bibliotecas recentes",
+ "No Recent Libraries": "Nenhuma biblioteca recente",
+ "New Library: Choose Where to Put It": "Nova biblioteca: escolha onde salvá-la",
+ "New Library": "Nova biblioteca",
+ "Library name": "Nome da biblioteca",
+ "New Folder on Disk": "Nova pasta no disco",
+ "New Folder on Disk…": "Nova pasta no disco…",
+ "Move to Folder": "Mover para pasta",
+ "Move to Folder…": "Mover para pasta…",
+ "Move Selected Photos Here": "Mover as fotos selecionadas para cá",
+ "Moves the files and their XMP sidecars into this folder; never overwrites": "Move os arquivos e seus arquivos XMP auxiliares para esta pasta; nunca sobrescreve",
+ "Appearance Settings…": "Configurações de aparência…",
+ "Add to favorites": "Adicionar aos favoritos",
+ "Remove from favorites": "Remover dos favoritos",
- "{n} photos opened for editing; each is stacked with its original": "{n} fotos abertas para edição; cada uma está empilhada com a original"
++ "{n} photos opened for editing; each is stacked with its original": "{n} fotos abertas para edição; cada uma está empilhada com a original",
+ "Add to Apple Photos": "Adicionar ao Fotos da Apple",
+ "Adding to Apple Photos…": "Adicionando ao Fotos da Apple…",
+ "not added to Apple Photos (cancelled)": "não adicionadas ao Fotos da Apple (cancelado)",
+ "The first time, macOS asks whether LightCraft may control Photos.": "Na primeira vez, o macOS pergunta se o LightCraft pode controlar o Fotos.",
+ "Adding to Apple Photos": "Adicionando ao Fotos da Apple"
}
diff --cc crates/ui-egui/locales/ru-formats.json
index 4a4f0e901,6e1e32c3b..403b474a0
--- a/crates/ui-egui/locales/ru-formats.json
+++ b/crates/ui-egui/locales/ru-formats.json
@@@ -238,7 -229,7 +238,10 @@@
"1 task is still running: {names}. Quitting stops it.": "Ещё выполняется задача: {names}. Выход прервёт её.",
"{n} tasks are still running: {names}. Quitting stops them.": "Ещё выполняется задач: {n} — {names}. Выход прервёт их.",
"{what} merge cancelled": "{what}: слияние отменено",
+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Пропущено локальных фото: {n}{0:.0} — в альбомах только фото из библиотеки (сначала добавьте их в «Мои фото»)",
+ "New Folder in “{name}”": "Новая папка в «{name}»",
- "Moved {} photo(s)": "Перемещено фото: {}"
++ "Moved {} photo(s)": "Перемещено фото: {}",
+ "not added to Apple Photos: {e}": "не добавлено в Apple Фото: {e}",
+ "{n} added to Apple Photos album “{album}”": "Добавлено в альбом «{album}» Apple Фото: {n}",
+ "{n} added to Apple Photos": "Добавлено в Apple Фото: {n}"
}
diff --cc crates/ui-egui/locales/ru.json
index e03913c2a,23963fdc3..b76202121
--- a/crates/ui-egui/locales/ru.json
+++ b/crates/ui-egui/locales/ru.json
@@@ -1617,527 -1599,9 +1617,532 @@@
"Quit Anyway": "Всё равно выйти",
"Synchronizing folder": "Синхронизация папки",
"Looking for changes": "Поиск изменений",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Это каталог Lightroom, а не библиотека LightCraft. Импортировать его в библиотеку LightCraft?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "Импорт читает каталог, не изменяя его, и добавляет его фото, правки, ключевые слова и коллекции в открытую сейчас библиотеку.",
+ "Albums hold library photos: Add to My Photos first": "В альбомах только фото из библиотеки: сначала добавьте их в «Мои фото»",
+ "Add to My Photos First": "Сначала добавить в «Мои фото»",
+ "Fill Location from GPS": "Заполнить место по GPS",
+ "Download Place Names (GeoNames)": "Загрузить названия мест (GeoNames)",
+ "Place Names Status": "Состояние названий мест",
+ "Fill Location": "Заполнить место",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Заполнить пустые поля «Город», «Регион» и «Страна» по GPS (названия мест GeoNames, офлайн)",
+ "Looking up places": "Поиск мест",
+ "Downloading place names": "Загрузка названий мест",
+ "Place names downloaded": "Названия мест загружены",
+ "Place names download cancelled": "Загрузка названий мест отменена",
+ "Other…": "Другой…",
+ "Intent:": "Метод:",
+ "Perceptual": "Перцепционный",
+ "Relative": "Относительный",
+ "Simulate Paper & Ink": "Имитировать бумагу и краску",
+ "Content-Aware": "С учётом содержимого",
+ "Sidebar Sections": "Разделы боковой панели",
+ "Reset Sidebar Sections": "Сбросить разделы боковой панели",
+ "Hide This Section": "Скрыть этот раздел",
+ "No folders to browse": "Нет папок для просмотра",
+ "No photos yet": "Фотографий пока нет",
+ "No imported folders yet": "Импортированных папок пока нет",
+ "Show Sidebar Section": "Показать раздел боковой панели",
+ "Move Sidebar Section": "Переместить раздел боковой панели",
+ "Move Up": "Переместить вверх",
+ "Move Down": "Переместить вниз",
+ "New Library…": "Новая библиотека…",
+ "Open Recent Library": "Открыть недавнюю библиотеку",
+ "Recent Libraries": "Недавние библиотеки",
+ "Clear Recent Libraries": "Очистить список недавних библиотек",
+ "No Recent Libraries": "Нет недавних библиотек",
+ "New Library: Choose Where to Put It": "Новая библиотека: выберите расположение",
+ "New Library": "Новая библиотека",
+ "Library name": "Название библиотеки",
+ "New Folder on Disk": "Новая папка на диске",
+ "New Folder on Disk…": "Новая папка на диске…",
+ "Move to Folder": "Переместить в папку",
+ "Move to Folder…": "Переместить в папку…",
+ "Move Selected Photos Here": "Переместить выбранные фото сюда",
+ "Moves the files and their XMP sidecars into this folder; never overwrites": "Перемещает файлы и их XMP-файлы в эту папку; ничего не перезаписывает",
+ "Appearance Settings…": "Настройки оформления…",
+ "Add to favorites": "Добавить в избранное",
+ "Remove from favorites": "Удалить из избранного",
+ " (library default)": " (по умолчанию для библиотеки)",
+ " (inverted)": " (инвертировано)",
+ " · best of its burst": " · лучшее в серии",
+ " · in a burst": " · в серии",
+ "\"saved in memory but not written to disk\", the top bar shows a warning, and LightCraft keeps retrying until the": "«сохранено в памяти, но не записано на диск», в верхней панели появляется предупреждение, а LightCraft повторяет попытки, пока",
+ "#106): a DNG is checked against the raw data, written to a temp file, synced and read back before it gets its": "#106): DNG проверяется по данным RAW, записывается во временный файл, синхронизируется и перечитывается, прежде чем получит",
+ "% of all commits": "% всех коммитов",
+ "(`gpuReason`, `gpuFallback`), Help ▸ System Info and Settings ▸ Performance say why the GPU isn't": "(`gpuReason`, `gpuFallback`), Справка → Сведения о системе и Настройки → Производительность объясняют, почему GPU не",
+ "(e.g. D750, D780, D850, D7500, Z 50) no longer render nearly black or with crushed shadows: their black level was": "(например, D750, D780, D850, D7500, Z 50) больше не отображаются почти чёрными или с задавленными тенями: их уровень чёрного",
+ "(issue #94): an HTTP request from a web page can no longer carry a command in its body. Lines are capped at": "(проблема #94): HTTP-запрос с веб-страницы больше не может содержать команду в теле. Длина строк ограничена",
+ ", picked": ", выбрано",
+ ", rejected": ", отклонено",
+ "1 day": "1 день",
+ "123 on studio-mac)\") instead of letting both write and silently drop each other's edits. A crash never leaves the": "123 на studio-mac)»), вместо того чтобы позволить обоим писать и незаметно терять правки друг друга. Сбой никогда не оставляет",
+ "1620 × 1080 preview, and import with their metadata: capture time, camera, lens, exposure, GPS and XMP. Their raw": "просмотр 1620 × 1080 и импортируются с метаданными: время съёмки, камера, объектив, экспозиция, GPS и XMP. Их данные RAW",
+ "2026-04 or 2026-04-12": "2026-04 или 2026-04-12",
+ "23 new built-in presets: Portrait, Landscape, Urban, Food, Seasons, Vintage and B&W toners.": "23 новых встроенных пресета: портрет, пейзаж, город, еда, времена года, винтаж и тонирование Ч/Б.",
+ "4 MiB and connections at 16.": "4 МиБ, а число соединений — 16.",
+ "630 drivers): on Windows the window and GPU rendering use DirectX 12 only and never load the Vulkan driver unless": "630): в Windows окно и рендеринг на GPU используют только DirectX 12 и не загружают драйвер Vulkan, пока вы",
+ "= exactly": "= точно",
+ "A blank template keeps the original names.": "Пустой шаблон сохраняет исходные имена.",
+ "A change that can't be saved to disk (full or unplugged drive) is no longer silent: the command reports": "Изменение, которое не удаётся сохранить на диск (диск заполнен или отключён), больше не остаётся незамеченным: команда сообщает",
+ "A library is open in one program at a time (issue #99): opening a library that LightCraft or `lightcraft-cli` already": "Библиотека открыта только в одной программе одновременно (проблема #99): открытие библиотеки, которую LightCraft или `lightcraft-cli` уже",
+ "A save that fails part-way (a full disk, a network share that drops) no longer looks like a damaged catalog": "Неудачное частичное сохранение (диск заполнен, обрыв сетевого соединения) больше не выглядит как повреждённый каталог",
+ "A sleeping NAS, a dropped network share or a USB drive spinning up no longer freezes the window (issue #104):": "Засыпающий NAS, оборванное сетевое соединение или раскручивающийся USB-диск больше не замораживают окно (проблема #104):",
+ "AI Mask Model Status": "Состояние модели ИИ-масок",
+ "AI masks with SAM 3 (Object and Describe in the Masking panel): click an object to select it (⌥-click leaves a": "ИИ-маски на основе SAM 3 («Объект» и «Описать» на панели масок): щёлкните объект, чтобы выделить его (⌥+щелчок исключает",
+ "About": "О программе",
+ "Active": "Активно",
+ "Add Face Model…": "Добавить модель лиц…",
+ "Add Mask": "Добавить маску",
+ "Add Object Click": "Добавить объект щелчком",
+ "Add to Local": "Добавить в «Локальное»",
+ "All the photos imported from this disk are included.": "Включаются все фото, импортированные с этого диска.",
+ "Analyzing the photo for AI masks…": "Анализ фото для ИИ-масок…",
+ "Any camera": "Любая камера",
+ "Any keyword": "Любое ключевое слово",
+ "Any lens": "Любой объектив",
+ "Apply": "Применить",
+ "Auto Select": "Автоматическое выделение",
+ "Auto Sync: edits apply to every selected photo. Auto B&W mix. Automatic versions.": "Автосинхронизация: правки применяются ко всем выбранным фото. Авто-микс Ч/Б. Автоматические версии.",
+ "Auto settings applied": "Автонастройки применены",
+ "Auto-Tag from Tracklog: GPS locations for your photos from a GPX track log, matched by capture time.": "Автопривязка по треку: GPS-координаты для ваших фото из GPX-трека по времени съёмки.",
+ "Binary assets added": "Добавленные бинарные ресурсы",
+ "Binary assets removed": "Удалённые бинарные ресурсы",
+ "Browser version (experimental), keeping a library safe (issue #107): File ▸ Back Up Library… downloads the catalog": "Браузерная версия (экспериментальная), защита библиотеки (проблема #107): Файл → Резервная копия библиотеки… скачивает каталог",
+ "CPU threads": "Потоки CPU",
+ "Camera make and model": "Производитель и модель камеры",
+ "Cancel AI Mask Model Download": "Отменить загрузку модели ИИ-масок",
+ "Cancel Face Model Download": "Отменить загрузку модели лиц",
+ "Cancel Pending Photo Action": "Отменить отложенное действие с фото",
+ "Canon CR2 photos from the EOS 7D, 50D, 60D, 550D, 600D, 1200D, 1300D, 5D Mark II and 1D Mark IV (and other": "Фото Canon CR2 с EOS 7D, 50D, 60D, 550D, 600D, 1200D, 1300D, 5D Mark II и 1D Mark IV (и других",
+ "Canon CR3 files show their full-size embedded JPEG (e.g. 6960 × 4640 on an EOS R6 Mark III) instead of the": "Файлы Canon CR3 показывают полноразмерный встроенный JPEG (например, 6960 × 4640 на EOS R6 Mark III) вместо",
+ "Capture date and time in your own format (directives below)": "Дата и время съёмки в вашем формате (директивы ниже)",
+ "Capture date as YYYYMMDD": "Дата съёмки в формате YYYYMMDD",
+ "Captured from": "Снято с",
+ "Captured until": "Снято по",
+ "Catchlight": "Блик в глазах",
+ "Change": "Изменить",
+ "Change Component Mode": "Изменить режим компонента",
+ "Characters not allowed in file names (/ \\ : * ? \" < > |) become -; an existing name gets -1, -2….": "Символы, недопустимые в именах файлов (/ \\ : * ? \" < > |), заменяются на -; к существующему имени добавляется -1, -2….",
+ "Checking names…": "Проверка имён…",
+ "Choose Face Recognition Model": "Выбрать модель распознавания лиц",
+ "Choose a model below (Use) to start.": "Выберите модель ниже («Использовать»), чтобы начать.",
+ "Click the object to select it · ⌥-click leaves a part out": "Щёлкните объект, чтобы выделить его · ⌥+щелчок исключает часть",
+ "Click to clear these filters": "Щёлкните, чтобы сбросить эти фильтры",
+ "Click to restore · double-click to rename": "Щёлкните, чтобы восстановить · двойной щелчок переименовывает",
+ "Cmd+Shift+R, keeps the photo and clears its edits.)": "Cmd+Shift+R, сохраняет фото и сбрасывает его правки.)",
+ "Collapse": "Свернуть",
+ "Collapse Stack": "Свернуть стопку",
+ "Colors": "Цвета",
+ "Colour-label filter with several labels at once; expandable folder tree in Local.": "Фильтр по цветовым меткам с несколькими метками сразу; раскрывающееся дерево папок в «Локальном».",
+ "Colour-range masks: click the photo to sample. Luminance ranges: range bar, smoothness, luminance map.": "Маски по цветовому диапазону: щёлкните по фото, чтобы взять образец. Диапазоны яркости: полоса диапазона, плавность, карта яркости.",
+ "Commits": "Коммиты",
+ "Company": "Компания",
+ "Compressed Nikon NEFs (lossless and lossy compressed, 12- and 14-bit — e.g. D3200, D5100, D7000, D750, D850, Z 50)": "Сжатые Nikon NEF (со сжатием без потерь и с потерями, 12- и 14-битные — например, D3200, D5100, D7000, D750, D850, Z 50)",
+ "Continue": "Продолжить",
+ "Contributors": "Участники",
+ "Convert to DNG, Copy as DNG, Photo Merge and smart previews no longer write straight to the final file (issue": "Конвертация в DNG, копирование как DNG, слияние фото и смарт-просмотры больше не пишут сразу в конечный файл (проблема",
+ "Copy Before to After": "Копировать «до» в «после»",
+ "Copyright status, rights usage terms and copyright info URL in Info, metadata presets and exports.": "Статус авторских прав, условия использования прав и URL сведений об авторских правах в «Информации», пресетах метаданных и экспорте.",
+ "Creator metadata": "Метаданные автора",
+ "Crop, Rotate, Geometry": "Кадрирование, поворот, геометрия",
+ "Custom template…": "Свой шаблон…",
+ "Delete Component": "Удалить компонент",
+ "Delete Point Color": "Удалить точечный цвет",
+ "Delete Red Eye": "Удалить красные глаза",
+ "Describe": "Описать",
+ "Describe what to keep": "Опишите, что оставить",
+ "Describe what to leave out": "Опишите, что исключить",
+ "Describe what to select": "Опишите, что выделить",
+ "Desktop": "Рабочий стол",
+ "Detect Faces": "Найти лица",
+ "Detect Faces (Photo menu) needs it: a small one-time download.": "Для поиска лиц (меню «Фото») нужна небольшая однократная загрузка.",
+ "Display name": "Отображаемое имя",
+ "Download": "Загрузить",
+ "Download AI Mask Model": "Загрузить модель ИИ-масок",
+ "Download Face Model": "Загрузить модель лиц",
+ "Download the SAM 3 Model?": "Загрузить модель SAM 3?",
+ "Downloads": "Загрузки",
+ "Drag Crop Handle": "Перетащить маркер кадрирования",
+ "Duplicate Component": "Дублировать компонент",
+ "Edge": "Край",
+ "Edge setting, and get a sharper zoomed-in pass in the background. The model runs inside LightCraft in pure Rust": "настройка «Край», и получают более чёткий результат при увеличении в фоне. Модель работает внутри LightCraft на чистом Rust",
+ "Edit Label Names": "Изменить названия меток",
+ "Edit Mask": "Изменить маску",
+ "Edit in External Editor (⇧⌘E): a 16-bit TIFF copy, stacked, refreshed when you come back.": "Править во внешнем редакторе (⇧⌘E): 16-битная TIFF-копия, в стопке, обновляется при возвращении.",
+ "Edit settings copied": "Настройки правки скопированы",
+ "Edited or not": "Изменено или нет",
+ "Editing": "Правка",
+ "Empty Recently Deleted": "Очистить «Недавно удалённые»",
+ "Enable Profile Corrections": "Включить коррекцию профиля",
+ "Enter a date as YYYY-MM-DD HH:MM:SS": "Введите дату в формате YYYY-MM-DD HH:MM:SS",
+ "Evaluate Face Recognition": "Оценить распознавание лиц",
+ "Expand": "Развернуть",
+ "Expand Stack": "Развернуть стопку",
+ "Export file names use the Rename Photos tokens ({title}, {seq:2}, {date:%Y-%m-%d}…), plus new {num}, {folder}, {lens}, {iso}, {rating}, {creator}.": "Имена экспортируемых файлов используют теги переименования фото ({title}, {seq:2}, {date:%Y-%m-%d}…), а также новые {num}, {folder}, {lens}, {iso}, {rating}, {creator}.",
+ "Export stopped unexpectedly": "Экспорт неожиданно остановился",
+ "Exported files are written to a temp file and then renamed into place, so a full disk or an unplugged drive": "Экспортируемые файлы пишутся во временный файл, а затем переименовываются на место, поэтому заполненный или отключённый диск",
+ "Exports and renders never write over a photo's original (issue #93): exporting into the photo's own folder with": "Экспорт и рендеринг никогда не перезаписывают оригинал фото (проблема #93): экспорт в собственную папку фото с",
+ "Exports are never black because of the GPU (issue #78): a GPU render that runs out of device": "Экспорт никогда не получается чёрным из-за GPU (проблема #78): рендеринг на GPU, которому не хватает памяти устройства,",
+ "Face Boxes": "Рамки лиц",
+ "Face Model Downloads": "Загрузки моделей лиц",
+ "Face Models": "Модели лиц",
+ "Face Recognition On/Off": "Включить/выключить распознавание лиц",
+ "Face boxes": "Рамки лиц",
+ "Face detector": "Детектор лиц",
+ "Face names written to XMP by Lightroom and other apps show up here.": "Имена лиц, записанные в XMP в Lightroom и других приложениях, появляются здесь.",
+ "Face recognition": "Распознавание лиц",
+ "Faces": "Лица",
+ "Faces of a Person": "Лица человека",
+ "Faster exports and card imports, with the same protection for what can't be recreated (issue #134): exports,": "Более быстрые экспорт и импорт с карт при той же защите невосстановимых данных (проблема #134): экспорт,",
+ "Fill": "Заливка",
+ "First": "Первый",
+ "First commit": "Первый коммит",
+ "Five stars": "Пять звёзд",
+ "Flagged as Pick": "Помечено как выбранное",
+ "Flagged as Reject": "Помечено как отклонённое",
+ "Frame time": "Время кадра",
+ "Frame update": "Обновление кадра",
+ "GPU rendering": "Рендеринг на GPU",
+ "Generated demo photo": "Сгенерированное демо-фото",
+ "Go back to listing them by name": "Вернуться к списку по названию",
+ "Grab bag": "Случайная подборка",
+ "Group name": "Название группы",
+ "HDR Merge Preview": "Предпросмотр слияния HDR",
+ "HDR Panorama Merge Preview": "Предпросмотр слияния HDR-панорамы",
+ "HDR Panoramas": "HDR-панорамы",
+ "HDR panorama": "HDR-панорама",
+ "HDR panoramas": "HDR-панорамы",
+ "Home": "Домашняя папка",
+ "Hours": "Часы",
+ "ISO speed": "Светочувствительность ISO",
+ "If your library can't be opened at launch (open in another program, unreadable, on a drive that isn't connected,": "Если библиотеку не удаётся открыть при запуске (она открыта в другой программе, не читается, на неподключённом диске,",
+ "Import as new": "Импортировать как новое",
+ "Import presets from other editors: XMP presets, classic `.lrtemplate` files, \"DNG presets\" from mobile apps and `.zip`": "Импорт пресетов из других редакторов: XMP-пресеты, классические файлы `.lrtemplate`, «DNG-пресеты» из мобильных приложений и `.zip`",
+ "Import ▸ Copy verifies every copy, like Move (issue #96): each file is written as a new file, synced to disk and": "Импорт → Копировать проверяет каждую копию, как и «Переместить» (проблема #96): каждый файл записывается как новый, синхронизируется на диск и",
+ "Import ▸ Move: photos go into the destination (with the same folders and renaming as Copy, e.g.": "Импорт → Переместить: фото попадают в папку назначения (с теми же папками и переименованием, что и при копировании, например",
+ "Import: copy to any folder, by day / by month / one folder, rename on import, metadata preset, Copy as DNG.": "Импорт: копирование в любую папку, по дням / по месяцам / в одну папку, переименование при импорте, пресет метаданных, копирование как DNG.",
+ "Index Faces": "Индексировать лица",
+ "Index Faces in the Background": "Индексировать лица в фоне",
+ "Info Overlay Off": "Выключить информационную накладку",
+ "Info Overlay: Exposure": "Информационная накладка: экспозиция",
+ "Info Overlay: File": "Информационная накладка: файл",
+ "Insert at the cursor": "Вставить в позицию курсора",
+ "Inspect Face Model File": "Проверить файл модели лиц",
+ "Install Face Model": "Установить модель лиц",
+ "Invert Component": "Инвертировать компонент",
+ "JPEG with the same name (`IMG_0001.CR3` + `IMG_0001.JPG`) no longer share one sidecar: the raw keeps `IMG_0001.xmp`,": "JPEG с таким же именем (`IMG_0001.CR3` + `IMG_0001.JPG`) больше не используют общий XMP-файл: RAW сохраняет `IMG_0001.xmp`,",
+ "Join the ArtCraft community on Discord": "Присоединяйтесь к сообществу ArtCraft в Discord",
+ "Label": "Метка",
+ "Label Set": "Набор меток",
+ "Last GPU fallback": "Последний откат с GPU",
+ "Last commit": "Последний коммит",
+ "Last loupe render": "Последний рендеринг лупы",
+ "Lens Blur": "Размытие объектива",
+ "Library Folders": "Папки библиотеки",
+ "Library saved": "Библиотека сохранена",
+ "LightCraft 0.2.0 and older refuse it (\"unsupported format … v2\").": "LightCraft 0.2.0 и старше отказываются его открывать («неподдерживаемый формат … v2»).",
+ "LightCraft no longer crashes at launch on Windows PCs whose Vulkan driver is broken (issue #136, e.g. some Intel UHD": "LightCraft больше не падает при запуске на ПК с Windows с неисправным драйвером Vulkan (проблема #136, например, некоторые Intel UHD",
+ "Line delta": "Разница строк",
+ "Linear": "Линейный",
+ "Lines +/−": "Строки +/−",
+ "Lines added": "Добавлено строк",
+ "Lines deleted": "Удалено строк",
+ "Lock": "Заблокировать",
+ "Lock Crop Aspect": "Зафиксировать пропорции кадра",
+ "Locked": "Заблокировано",
+ "Lossy DNG files and Smart Previews open as raw photos.": "DNG с потерями и смарт-просмотры открываются как RAW-фото.",
+ "Luminar looks: `.lmp` files and `.mplumpack` collections import as presets (grouped by collection); the sliders": "Стили Luminar: файлы `.lmp` и коллекции `.mplumpack` импортируются как пресеты (группируются по коллекции); ползунки",
+ "Mask Adjustment": "Коррекция маски",
+ "Memory budget": "Лимит памяти",
+ "Merged": "Объединено",
+ "Merged PRs": "Влитые PR",
+ "Missing metadata ({camera}, {title}…) leaves an empty gap; a name that comes out empty keeps the original name.": "Отсутствующие метаданные ({camera}, {title}…) оставляют пустое место; если получившееся имя пустое, сохраняется исходное.",
+ "Model": "Модель",
+ "Move Preset to New Group": "Переместить пресет в новую группу",
+ "Move in Stack": "Переместить в стопке",
+ "Moves every photo imported from this disk to Recently Deleted; no file is touched": "Перемещает все фото, импортированные с этого диска, в «Недавно удалённые»; файлы не затрагиваются",
+ "Moves the photos imported from this folder to Recently Deleted; no file is touched": "Перемещает фото, импортированные из этой папки, в «Недавно удалённые»; файлы не затрагиваются",
+ "Name (A–Z)": "Имя (А–Я)",
+ "Name Face": "Назвать лицо",
+ "Name Faces": "Назвать лица",
+ "Name of the folder the original is in": "Название папки с оригиналом",
+ "Named People": "Люди с именами",
+ "Nested group": "Вложенная группа",
+ "New time": "Новое время",
+ "Nikon NEFs start from a colour and tone look fitted to the camera's own JPEG, as Sony ARWs do, instead of a muted,": "Nikon NEF начинают с цвета и тона, подогнанных под собственный JPEG камеры, как и Sony ARW, вместо приглушённого,",
+ "Nikon splits into two differently compressed halves still use the preview for now.)": "Nikon с разделением на две по-разному сжатые половины пока используют просмотр.)",
+ "No contributor data was built into this copy.": "В эту копию не встроены данные об участниках.",
+ "No model credits were built into this copy.": "В эту копию не встроены данные об используемых моделях.",
+ "No named people in these photos": "На этих фото нет людей с именами",
+ "No named people yet": "Людей с именами пока нет",
+ "Not Now": "Не сейчас",
+ "Object Mask": "Маска объекта",
+ "Object and Describe masks use SAM 3, Meta's segmentation model. It isn't part of LightCraft, and everything else works without it.": "Маски «Объект» и «Описать» используют SAM 3 — модель сегментации от Meta. Она не входит в LightCraft, а остальные функции работают без неё.",
+ "October 2026": "Октябрь 2026",
+ "Only": "Только",
+ "Original extension without the dot": "Исходное расширение без точки",
+ "Original file name without its extension": "Исходное имя файла без расширения",
+ "Panasonic and Leica raws (RW2, RWL and the older RAW files, DMC-LX1 to DC-S1R II) develop from the raw data in": "RAW Panasonic и Leica (RW2, RWL и старые файлы RAW, от DMC-LX1 до DC-S1R II) обрабатываются из данных RAW в",
+ "Panorama": "Панорама",
+ "Panorama Merge Preview": "Предпросмотр слияния панорамы",
+ "Panoramas": "Панорамы",
+ "Paste Settings": "Вставить настройки",
+ "Paste from Previous": "Вставить из предыдущего",
+ "Photo menu. The filmstrip has the photo context menu too. Adding a file again that is in Recently Deleted no": "меню «Фото». У плёнки тоже есть контекстное меню фото. Повторное добавление файла из «Недавно удалённых» больше не",
+ "Photos in Recently Deleted can be restored from the app: right-click ▸ Restore (or Delete Permanently), also in the": "Фото из «Недавно удалённых» можно восстановить в приложении: щёлкните правой кнопкой → Восстановить (или Удалить навсегда), также в",
+ "Photos per bracket (0 = auto)": "Фото в брекетинге (0 = авто)",
+ "Photos); importing (also by drag and drop), Find Missing Photos, Build / Discard Smart Previews, the Rename preview,": "фото); импорт (в том числе перетаскиванием), поиск отсутствующих фото, создание / удаление смарт-просмотров, предпросмотр переименования,",
+ "Pictures": "Изображения",
+ "Prepare AI Masks": "Подготовить ИИ-маски",
+ "Presets and profiles": "Пресеты и профили",
+ "Preview only: editing the camera's embedded JPEG": "Только просмотр: правка встроенного JPEG камеры",
+ "Proof copy created": "Пробная копия создана",
+ "Quick Collection and target album (B in the grid), keyword sets (⌥1–⌥9), colour-label sets.": "Быстрая коллекция и целевой альбом (B в сетке), наборы ключевых слов (⌥1–⌥9), наборы цветовых меток.",
+ "Quit with unsaved changes?": "Выйти с несохранёнными изменениями?",
+ "RAW decoding": "Декодирование RAW",
+ "Radial": "Радиальный",
+ "Rating cleared": "Оценка сброшена",
+ "Real name": "Настоящее имя",
+ "Recent": "Недавние",
+ "Recognise faces (experimental)": "Распознавать лица (экспериментально)",
+ "Recognition models": "Модели распознавания",
+ "Refine": "Уточнить",
+ "Refine AI Mask Detail": "Уточнить детали ИИ-маски",
+ "Refine Edges": "Уточнить края",
+ "Refine Saturation": "Уточнить насыщенность",
+ "Refining the mask's detail…": "Уточнение деталей маски…",
+ "Reliability": "Надёжность",
+ "Relink Photo": "Повторно связать фото",
+ "Reload Changed Files": "Перезагрузить изменённые файлы",
+ "Remove Disk from Library": "Убрать диск из библиотеки",
+ "Remove Disk from Library…": "Убрать диск из библиотеки…",
+ "Remove Face Box": "Удалить рамку лица",
+ "Remove Face Model": "Удалить модель лиц",
+ "Remove Folder from Library": "Убрать папку из библиотеки",
+ "Remove a filter above, or choose Clear all": "Уберите фильтр выше или выберите «Очистить всё»",
+ "Remove from Library…": "Убрать из библиотеки…",
+ "Remove from Target Album": "Убрать из целевого альбома",
+ "Remove this face box (undo with Edit ▸ Undo)": "Удалить эту рамку лица (отмена: Правка → Отменить)",
+ "Rename Component": "Переименовать компонент",
+ "Rename Folder… and Move Folder To… (Local) can be undone and redone (issue #97): the folder moves back on disk with": "Переименование папки… и перемещение папки в… («Локальное») можно отменить и повторить (проблема #97): папка возвращается на диске вместе с",
+ "Rename Photos never overwrites another photo when only the letter case changes (issue #95): on case-sensitive": "Переименование фото никогда не перезаписывает другое фото, когда меняется только регистр букв (проблема #95): на томах с учётом регистра",
+ "Rename Photos reports files it could not move back after a failure (issue #105), e.g. when a network share drops": "Переименование фото сообщает о файлах, которые не удалось вернуть после сбоя (проблема #105), например при обрыве сетевого соединения",
+ "Reorder Album": "Изменить порядок альбома",
+ "Reorder Masks": "Изменить порядок масок",
+ "Resize Face Box": "Изменить размер рамки лица",
+ "Restore keeps their edits; Import as new deletes the old record first.": "Восстановление сохраняет правки; «Импортировать как новое» сначала удаляет старую запись.",
+ "Restore them": "Восстановить их",
+ "Reverse the order": "Обратный порядок",
+ "Review": "Проверка",
+ "Rotate Crop": "Поворачивать кадрирование",
+ "Rules": "Условия",
+ "Save as Set…": "Сохранить как набор…",
+ "Saving metadata to an XMP sidecar another application wrote no longer replaces it (issue #92): LightCraft merges its": "Сохранение метаданных в XMP-файл, записанный другим приложением, больше не заменяет его (проблема #92): LightCraft добавляет свои",
+ "Scan failed": "Сбой сканирования",
+ "Search": "Поиск",
+ "Selecting…": "Выделение…",
+ "Sequence number zero-padded to N digits (1–9)": "Порядковый номер, дополненный нулями до N цифр (1–9)",
+ "Sequence number, counting from the start number": "Порядковый номер, отсчитываемый от начального числа",
+ "Set": "Задать",
+ "Set Album Cover": "Задать обложку альбома",
+ "Set Image Zoom and Pan": "Задать масштаб и панорамирование изображения",
+ "Set Top of Stack": "Сделать верхним в стопке",
+ "Set date & time": "Задать дату и время",
+ "Settings file problem": "Проблема с файлом настроек",
+ "Settings files are never quietly reset (issue #103): a damaged `prefs.json`, `presets.json` or `view.json` is kept": "Файлы настроек никогда не сбрасываются незаметно (проблема #103): повреждённый `prefs.json`, `presets.json` или `view.json` сохраняется",
+ "Settings pasted": "Настройки вставлены",
+ "Shift": "Shift",
+ "Shift by": "Сдвинуть на",
+ "Show": "Показать",
+ "Show Person": "Показать человека",
+ "Slideshow paused": "Слайд-шоу приостановлено",
+ "Slideshow resumed": "Слайд-шоу возобновлено",
+ "Slideshow, second window, All Metadata, System Info.": "Слайд-шоу, второе окно, все метаданные, сведения о системе.",
+ "Smaller, faster catalogs: photos you only looked at in Local (never added, rated or edited) are forgotten once": "Меньшие и более быстрые каталоги: фото, которые вы только просматривали в «Локальном» (никогда не добавляли, не оценивали и не правили), забываются, если",
+ "Smart albums with a rule editor: match all / any / none, nested groups, 26 fields.": "Смарт-альбомы с редактором условий: все / любое / ни одно, вложенные группы, 26 полей.",
+ "Smart preview available": "Смарт-просмотр доступен",
+ "Smart previews folder changed": "Папка смарт-просмотров изменена",
+ "Sony ARWs from before about 2017 (RX100, RX100 II–V, RX10, NEX, SLT, ILCE-6000, A7 / A7 II / A7R II and their": "Sony ARW примерно до 2017 года (RX100, RX100 II–V, RX10, NEX, SLT, ILCE-6000, A7 / A7 II / A7R II и родственные",
+ "Sony ILCE-7M4 downsized lossless ARWs now decode subsampled YCbCr tiles into linear RGB,": "Sony ILCE-7M4: уменьшенные ARW без потерь теперь декодируют плитки YCbCr с субдискретизацией в линейный RGB,",
+ "Sort Albums A–Z": "Сортировать альбомы А–Я",
+ "Sort Albums by Name": "Сортировать альбомы по названию",
+ "Sort Contents A–Z": "Сортировать содержимое А–Я",
+ "Star rating (0–5)": "Оценка в звёздах (0–5)",
+ "Starting": "Запуск",
+ "Suggest Names for Faces": "Предложить имена для лиц",
+ "Suggests who is in a photo from the faces you have named. Everything stays on your computer.": "Предлагает, кто изображён на фото, по лицам, которым вы уже дали имена. Всё остаётся на вашем компьютере.",
+ "Swap Before and After": "Поменять «до» и «после» местами",
+ "System": "Система",
+ "TZ/ZS series, Leica D-Lux, V-Lux and C-Lux, and the GH6, GH7, G9 II, S5 II and S9 generation. They start from a": "серии TZ/ZS, Leica D-Lux, V-Lux и C-Lux, а также поколение GH6, GH7, G9 II, S5 II и S9. Они начинают с",
+ "Table": "Таблица",
+ "Test Face Model": "Проверить модель лиц",
+ "That includes the photos in the folders inside it.": "Сюда входят и фото во вложенных папках.",
+ "The catalog has a format version (issue #102). Opening a library from an older LightCraft upgrades it; a library": "У каталога есть версия формата (проблема #102). Открытие библиотеки от более старого LightCraft обновляет её; библиотека,",
+ "The control port (`--control`) closes a connection as soon as it receives anything that isn't a JSON request": "Порт управления (`--control`) закрывает соединение, как только получает что-либо, кроме JSON-запроса",
+ "The number at the end of the original name (IMG_0042 → 0042)": "Число в конце исходного имени (IMG_0042 → 0042)",
+ "The original extension is always added; {ext} only puts it inside the name as well.": "Исходное расширение добавляется всегда; {ext} лишь вставляет его ещё и внутрь имени.",
+ "The thumbnail cache only ever counts and deletes its own files (issue #98): a library opened on a folder that": "Кэш миниатюр считает и удаляет только собственные файлы (проблема #98): библиотека, открытая в папке, где",
+ "They move to Recently Deleted and can be restored; no file on disk is touched.": "Они перемещаются в «Недавно удалённые», их можно восстановить; файлы на диске не затрагиваются.",
+ "This Computer": "Этот компьютер",
+ "This build cannot run recognition models: they can be added and chosen, not used.": "Эта сборка не может запускать модели распознавания: их можно добавить и выбрать, но не использовать.",
+ "This build has nowhere to keep face models, so the model list is not available. (The desktop app has.)": "В этой сборке негде хранить модели лиц, поэтому список моделей недоступен. (В настольном приложении есть.)",
+ "Time zone": "Часовой пояс",
+ "Title metadata": "Метаданные заголовка",
+ "Toggle Mask": "Переключить маску",
+ "Try Saving Again": "Повторить сохранение",
+ "Unedited raws": "Неизменённые RAW",
+ "Unknown tags stay as typed — check the preview for a {typo}.": "Неизвестные теги остаются как введены — проверьте предпросмотр на наличие {typo}.",
+ "Unnamed Faces": "Лица без имён",
+ "Updated the edits saved in the external editor": "Правки, сохранённые во внешнем редакторе, обновлены",
+ "Username": "Имя пользователя",
+ "Viewing and sharing": "Просмотр и обмен",
+ "Watched-folder auto import; Convert to DNG; Duplicate; Build Standard / 1:1 / Smart Previews.": "Автоимпорт из отслеживаемой папки; конвертация в DNG; дублирование; создание стандартных просмотров / 1:1 / смарт-просмотров.",
+ "Will be replaced": "Будет заменено",
+ "Will be restored": "Будет восстановлено",
+ "Without Saving and Quit (issue #100). It no longer quietly starts a demo session that looked like a reset library and": "Выйти без сохранения (проблема #100). Больше не запускается незаметно демо-сеанс, похожий на сброшенную библиотеку, и",
+ "Your Name": "Ваше имя",
+ "`Photos/2026/20260114/20260114_001.jpg`) together with their XMP sidecars; each original leaves the card only after its": "`Photos/2026/20260114/20260114_001.jpg`) вместе с XMP-файлами; каждый оригинал покидает карту только после того, как его",
+ "`img_1-1.JPG`; on case-insensitive volumes the case change still goes through.": "`img_1-1.JPG`; на томах без учёта регистра смена регистра всё равно выполняется.",
+ "a full drive) no longer counts as built and Build Smart Previews replaces it.": "полный диск) больше не считается созданным, и «Создать смарт-просмотры» заменяет его.",
+ "a literal %": "буквальный символ %",
+ "a removed photo": "удалённое фото",
+ "afterwards (issue #101): the partial write is cut off before LightCraft retries, so the next launch replays every": "после этого (проблема #101): частичная запись отсекается до повторной попытки LightCraft, поэтому следующий запуск воспроизводит каждое",
+ "again. Change the period (or turn it off) in Settings → Performance.": "снова. Измените период (или отключите) в Настройки → Производительность.",
+ "against the library's originals no longer scans the whole library when nothing is at that path.": "по оригиналам библиотеки больше не сканирует всю библиотеку, когда по этому пути ничего нет.",
+ "all": "все",
+ "already has a `thumbs/` folder of other pictures no longer loses them when the cache is trimmed or cleared.": "уже есть папка `thumbs/` с другими изображениями, больше не теряет их при усечении или очистке кэша.",
+ "and checks the file before using it. Masks keep their selection, so they render and export without the model.": "и проверяет файл перед использованием. Маски сохраняют выделение, поэтому рендерятся и экспортируются без модели.",
+ "and every imported photo as one zip, and File ▸ Restore Library from Backup… brings it back (the current library": "и каждое импортированное фото одним zip, а Файл → Восстановить библиотеку из резервной копии… возвращает его (текущая библиотека",
+ "and never freezes the window. It is optional and not part of LightCraft (Meta's SAM License, about 3.4 GB): the": "и никогда не замораживает окно. Она необязательна и не входит в LightCraft (лицензия SAM от Meta, около 3,4 ГБ):",
+ "any": "любое",
+ "as `<name>.corrupt-<time>` and you're told; one that can't be read (e.g. locked by another program) is left alone": "как `<name>.corrupt-<time>`, и вы об этом узнаете; файл, который не удаётся прочитать (например, заблокирован другой программой), остаётся нетронутым",
+ "asked to. `LIGHTCRAFT_GPU_BACKEND=dx12 | vulkan | metal | off` (or wgpu's `WGPU_BACKEND`, which GPU rendering": "если вы не попросите. `LIGHTCRAFT_GPU_BACKEND=dx12 | vulkan | metal | off` (или `WGPU_BACKEND` от wgpu, который рендеринг на GPU",
+ "blue": "синий",
+ "bundles of any of these — whole folders at once, grouped by pack. Masks inside presets come along.": "пакеты любых из них — целые папки сразу, сгруппированные по набору. Маски внутри пресетов переносятся тоже.",
+ "camera no longer gets baked in. Photos already imported as \"preview only\" switch over on Reload. (Files that": "камеры больше не вшивается в результат. Фото, уже импортированные как «только просмотр», переключаются при перезагрузке. (Файлы, у которых",
+ "change. Catalogs already holding such a fragment load in full. Quitting while the catalog log can't be written": "изменение. Каталоги, уже содержащие такой фрагмент, загружаются целиком. Выход, когда журнал каталога не удаётся записать,",
+ "changes couldn't be saved tries once more, then asks: Try Saving Again, Quit Anyway or Cancel.": "изменения не удалось сохранить, делает ещё одну попытку, а затем спрашивает: Повторить сохранение, Всё равно выйти или Отмена.",
+ "channel or MCP, a merge preview path or `lightcraft-cli render IMG.jpg -o IMG.jpg` is refused with a clear": "каналу или MCP, путь предпросмотра слияния или `lightcraft-cli render IMG.jpg -o IMG.jpg` отклоняются с понятным",
+ "checked against the content read from the card. A copy that fails or differs is removed and reported as a failed": "сверяется с содержимым, прочитанным с карты. Неудачная или отличающаяся копия удаляется и помечается как неудачный",
+ "colour and tone look fitted to the camera's own JPEG, as Nikon and Sony raws do, framed in the aspect ratio set in": "цвета и тона, подогнанных под собственный JPEG камеры, как у RAW Nikon и Sony, с пропорциями, заданными в",
+ "copy is verified and in the library. Duplicates and files that fail stay where they were.": "копия проверена и добавлена в библиотеку. Дубликаты и файлы с ошибками остаются на месте.",
+ "copyrighted": "защищено авторским правом",
+ "data is not decoded yet, so they stay preview-only. For CR3s imported earlier, Photo ▸ Reload from Disk (now in": "данные пока не декодируются, поэтому они остаются только для просмотра. Для ранее импортированных CR3 Фото → Перезагрузить с диска (теперь в",
+ "day 01–31": "день 01–31",
+ "days": "дней",
+ "discarding smart previews": "удаление смарт-просмотров",
+ "e.g. sky · the red car · car, road": "например: небо · красная машина · машина, дорога",
+ "edge are cropped away, and \"12-bit uncompressed\" files are no longer clipped. The RX100 series renders much closer": "края обрезаются, а «12-битные несжатые» файлы больше не обрезаются по значениям. Серия RX100 отображается гораздо ближе",
+ "every format the cameras write. Most bodies opened as preview only before: GH1–GH5, the G, GX, GF, GM, FZ, LX and": "каждому формату, который записывают камеры. Раньше большинство корпусов открывались только как просмотр: GH1–GH5, G, GX, GF, GM, FZ, LX и",
+ "export. The catalog, XMP sidecars, settings, DNGs, merges, smart previews and the copies an import makes are still": "экспорт. Каталог, XMP-файлы, настройки, DNG, слияния, смарт-просмотры и копии, создаваемые при импорте, по-прежнему",
+ "false": "ложь",
+ "fields in and keeps the rest — e.g. that application's develop settings and edit history — byte for byte. A": "поля и сохраняет остальное — например, настройки коррекции и историю правок того приложения — байт в байт. Если",
+ "file (Sony stores them only in scrambled maker-note data on these bodies), the few columns of padding at the right": "файла (Sony хранит их на этих моделях только в зашифрованных данных maker note), несколько столбцов заполнения справа",
+ "first time you use an AI mask, LightCraft asks before downloading it, shows the progress, can cancel and resume,": "при первом использовании ИИ-маски LightCraft спрашивает перед загрузкой, показывает ход, умеет отменять и возобновлять,",
+ "for the session instead of being overwritten with defaults. The app settings (`ui.json`, which remembers your": "на время сеанса, а не перезаписываются значениями по умолчанию. Настройки приложения (`ui.json`, который запоминает ваш",
+ "gets -1, -2… instead of being replaced.": "получает -1, -2… вместо замены.",
+ "green": "зелёный",
+ "greenish neutral rendering (issue #150); white balance is adjusted relative to the as-shot look. 12-bit NEFs": "зеленоватой нейтральной отрисовки (проблема #150); баланс белого корректируется относительно вида «как снято». 12-битные NEF",
+ "has open — on this computer or another one sharing the folder — says who has it (\"already open in LightCraft (process": "открыла — на этом компьютере или на другом, использующем ту же папку, — сообщает, кто её использует («уже открыта в LightCraft (процесс",
+ "hour 00–23": "час 00–23",
+ "hours": "часов",
+ "how to restore it or delete it permanently and import it afresh. (For a fresh start on a photo, Reset Edits,": "как восстановить его или удалить навсегда и импортировать заново. (Чтобы начать с чистого листа для фото, «Сбросить правки»,",
+ "ignored before) chooses the graphics backend; `off` renders on the CPU. The GPU now starts after the window": "раньше игнорировался) выбирает графический бэкенд; `off` рендерит на CPU. GPU теперь запускается после появления окна",
+ "image": "изображение",
+ "immutable, and HOSTING.md describes the actual build.": "неизменяемыми, а HOSTING.md описывает реальную сборку.",
+ "import — so \"import complete\" means the copies are good before you format the card — and a name that is taken": "импорт — поэтому «импорт завершён» означает, что копии в порядке, прежде чем вы отформатируете карту — а занятое имя",
+ "imported as \"preview only\" switch over on Reload.": "импортированные как «только просмотр», переключаются на RAW при перезагрузке.",
+ "in short pieces so slow integrated GPUs aren't reset by their watchdog. `ui.inspect` → `perf`": "небольшими порциями, чтобы медленные встроенные GPU не сбрасывались сторожевым таймером. `ui.inspect` → `perf`",
+ "includes the folders inside it": "включает вложенные папки",
+ "incomplete is redone on the CPU — the file is the same image either way. Work is sent to the GPU": "неполный, переделывается на CPU — в обоих случаях файл содержит одно и то же изображение. Работа отправляется на GPU",
+ "is kept). A failed save (storage full) now shows the unsaved warning and is retried, a photo that can't be stored": "сохраняется). Неудачное сохранение (хранилище заполнено) теперь показывает предупреждение о несохранённом и повторяется, фото, которое не удаётся сохранить,",
+ "is refused and nothing is overwritten.": "отклоняется, и ничего не перезаписывается.",
+ "is up, and only when Settings ▸ Performance ▸ Use the GPU for rendering is on; if LightCraft ever dies while": "и только если включено Настройки → Производительность → Использовать GPU для рендеринга; если LightCraft аварийно завершается во время",
+ "isn't added, a second tab shows a message instead of overwriting the first, `?reset` asks first, and the page says": "не добавляется, вторая вкладка показывает сообщение вместо перезаписи первой, `?reset` сначала спрашивает, а страница сообщает,",
+ "it away from the other (issue #92). Find Missing Photos also finds renamed files by their content, prefers a content match": "его от другого (проблема #92). «Найти отсутствующие фото» также находит переименованные файлы по содержимому, отдаёт предпочтение совпадению по содержимому",
+ "its photos and XMP sidecars, and the photos point at it again. If something now occupies the old place, the undo": "своими фото и XMP-файлами, и фото снова указывают на неё. Если старое место теперь занято, отмена",
+ "keep names — or e.g. {date}_{seq:3}": "сохранить имена — или, например, {date}_{seq:3}",
+ "latitude, longitude": "широта, долгота",
+ "layout is read from each file instead of assumed.": "структура считывается из каждого файла, а не предполагается.",
+ "leaves no DNG and keeps the raw. Smart previews are written the same way; a damaged one (cut short by a crash or": "не оставляет DNG и сохраняет RAW. Смарт-просмотры записываются так же; повреждённый (обрезанный из-за сбоя или",
+ "library locked: the lock is the operating system's and goes away with the program.": "библиотеку заблокированной: блокировка принадлежит операционной системе и исчезает вместе с программой.",
+ "library) are written atomically and saved as soon as you open another library, not only at quit. Quitting while": "библиотека) записываются атомарно и сохраняются сразу при открытии другой библиотеки, а не только при выходе. Выход, когда",
+ "longer just says \"duplicate skipped\": it opens the side panel on Recently Deleted with the photo selected and says": "больше не говорит просто «дубликат пропущен»: он открывает боковую панель «Недавно удалённые» с выбранным фото и объясняет,",
+ "lost everything at quit; a temporary session shows a banner the whole time and never writes to your library.": "терял всё при выходе; временный сеанс всё время показывает баннер и никогда не пишет в вашу библиотеку.",
+ "memory, exceeds the GPU's buffer limits, hits a driver error or reset, or comes back": "памяти, превышает лимиты буферов GPU, получает ошибку или сброс драйвера либо возвращает",
+ "message, and the original is left byte for byte. Ordinary earlier exports are still overwritten when asked.": "сообщением, а оригинал остаётся байт в байт. Обычные предыдущие экспорты по-прежнему перезаписываются по запросу.",
+ "mid-batch: the error lists them (old → new) and the library points at their new names (an undoable partial rename),": "посреди пакета: ошибка перечисляет их (старое → новое), а библиотека указывает на их новые имена (частичное переименование можно отменить),",
+ "minute": "минута",
+ "models whose sensor starts on a green-blue row) no longer come out magenta (issue #85): the colour-filter": "моделей, у которых сенсор начинается со строки «зелёный-синий») больше не получаются пурпурными (проблема #85): раскладка цветового фильтра",
+ "month 01–12": "месяц 01–12",
+ "months": "месяцев",
+ "name (never replacing a file), and only then is the photo relinked or the raw copy removed — a failed write": "имя (никогда не заменяя файл), и только после этого фото повторно связывается или копия RAW удаляется — неудачная запись",
+ "never leaves a truncated file; the XMP sidecar of an \"Original\" export follows the \"If file exists\" choice too.": "никогда не оставляет обрезанный файл; XMP-файл экспорта «Оригинал» тоже подчиняется выбору «Если файл существует».",
+ "none (CPU rendering)": "нет (рендеринг на CPU)",
+ "none of": "ни одно из",
+ "now develop from the raw data instead of the camera's embedded JPEG, so a B&W or other picture style set in the": "теперь обрабатываются из данных RAW, а не из встроенного JPEG камеры, поэтому Ч/Б или другой стиль изображения, заданный в",
+ "on the card after Review Import is reported instead of being imported with stale details. Checking an export path": "на карте после «Проверить импорт», помечается, а не импортируется с устаревшими данными. Проверка пути экспорта",
+ "one by one — they can always be exported again, and on a USB drive or a NAS that per-file sync dominated a large": "по одному — их всегда можно экспортировать снова, а на USB-диске или NAS синхронизация каждого файла замедляла большой",
+ "or": "или",
+ "over a same-name same-size look-alike, and skips (and reports) photos it can't tell apart instead of guessing.": "перед похожим файлом с тем же именем и размером и пропускает (и сообщает о) фото, которые не может различить, вместо угадывания.",
+ "part out), or type what to select (\"sky\", \"the red car\", \"car, road\"); both combine with other masks, have an": "часть), или введите, что выделить («небо», «красная машина», «машина, дорога»); обе поддерживают сочетание с другими масками, имеют",
+ "pick": "выбранное",
+ "preserving RAW editing & full-resolution export instead of using embedded JPEG previews.": "сохраняя RAW-правку и экспорт в полном разрешении вместо встроенных JPEG-просмотров.",
+ "previews": "просмотры",
+ "publicDomain": "общественное достояние",
+ "purple": "фиолетовый",
+ "raw": "RAW",
+ "read in the wrong units.": "считывался в неправильных единицах.",
+ "reading the card a third time (Move still compares byte for byte before it deletes a source); a file that changed": "третьего чтения карты (перемещение по-прежнему сравнивает байт в байт перед удалением источника); файл, изменившийся",
+ "red": "красный",
+ "reject": "отклонённое",
+ "renders and screenshots are still written to a temp file and renamed into place, but no longer forced to disk": "рендеры и скриншоты по-прежнему пишутся во временный файл и переименовываются на место, но больше не принудительно сбрасываются на диск",
+ "save goes through.": "сохранение выполнится.",
+ "second": "секунда",
+ "siblings) no longer open bright green (issue #148): their as-shot white balance and black level are read from the": "аналогов) больше не открываются ярко-зелёными (проблема #148): баланс белого и уровень чёрного «как снято» считываются из",
+ "sidecar that isn't valid XMP is copied to `<name>.xmp.bak-<time>` first. With the default stem naming, a raw and a": "XMP-файл не является корректным XMP, он сначала копируется в `<name>.xmp.bak-<time>`. При стандартном именовании по основе имени RAW и",
+ "smart previews": "смарт-просмотры",
+ "so none shows as missing. Renaming one of a raw + JPEG pair copies their shared `IMG_0001.xmp` instead of taking": "поэтому ни один не считается отсутствующим. Переименование одного файла из пары RAW + JPEG копирует их общий `IMG_0001.xmp`, а не забирает",
+ "starting the GPU, the next launch starts with GPU rendering off and says how to turn it back on.": "запуска GPU, следующий запуск начинается с отключённым рендерингом на GPU и сообщает, как включить его снова.",
+ "still saves your queued changes in the closing snapshot.": "всё равно сохраняет вашу очередь изменений в завершающем снимке.",
+ "synced. Import ▸ Copy now checks each copy against the content hash taken while scanning the card instead of": "синхронизируется. Импорт → Копировать теперь сверяет каждую копию с хешем содержимого, полученным при сканировании карты, а не",
+ "the JPEG uses `IMG_0001.JPG.xmp`.": "JPEG использует `IMG_0001.JPG.xmp`.",
+ "the Local folder tree and Auto Import read the disk on worker threads too. The import progress window has Cancel.": "дерево папок «Локального» и автоимпорт тоже читают диск в рабочих потоках. В окне хода импорта есть «Отмена».",
+ "the Photo menu and the photo context menu) picks up the full-size preview and fills in the camera metadata they": "меню «Фото» и контекстное меню фото) подхватывает полноразмерный просмотр и заполняет метаданные камеры, которых",
+ "the camera; mapped-out sensor defects are filled in. `.rwl` and `.raw` files are imported too. Photos already": "камеры; заполняются картированные дефекты сенсора. Файлы `.rwl` и `.raw` тоже импортируются. Фото, уже",
+ "the photos in view": "фото в представлении",
+ "the same name and \"Overwrite\" (or Export with Previous repeating it), an exact output path from the control": "тем же именем и «Перезаписать» (или повторный экспорт с предыдущими настройками), точный путь вывода из канала",
+ "the selected photos": "выбранные фото",
+ "their folder has not been browsed for 30 days — your files and sidecars stay, and browsing the folder shows them": "их папку не просматривали 30 дней — ваши файлы и XMP-файлы остаются, а просмотр папки показывает их снова",
+ "to the camera's own JPEG.": "под собственный JPEG камеры.",
+ "true": "истина",
+ "unknown": "неизвестно",
+ "untouched — older versions no longer read part of it as a damaged log. Once this version has opened a library,": "нетронутой — старые версии больше не читают часть её как повреждённый журнал. Когда эта версия открыла библиотеку,",
+ "used (e.g. a skipped software adapter such as llvmpipe) and why the last render fell back.": "используется (например, пропущенный программный адаптер llvmpipe) и почему последний рендеринг перешёл на CPU.",
+ "video": "видео",
+ "volumes (Linux, case-sensitive APFS) `img_1.JPG` next to `IMG_1.JPG` is a different photo and the renamed one gets": "томах с учётом регистра (Linux, APFS с учётом регистра) `img_1.JPG` рядом с `IMG_1.JPG` — другое фото, а переименованное получает",
+ "weeks": "недель",
+ "were missing, without touching anything already set.": "не хватало, не затрагивая уже заданное.",
+ "when the browser may evict the library. Hosting: the sample cache headers no longer mark the (unhashed) files": "когда браузер может вытеснить библиотеку. Хостинг: примеры заголовков кэша больше не помечают (нехэшированные) файлы",
+ "whether originals are there is checked on a worker thread (grid thumbnails, the Info panel, the photo menu, Missing": "наличие оригиналов проверяется в рабочем потоке (миниатюры сетки, панель «Информация», меню «Фото», «Отсутствующие",
+ "with a counterpart here come along, the rest is listed.": "с соответствием здесь переносятся, остальные перечисляются.",
+ "written by a newer LightCraft is refused with \"this library was written by a newer version of LightCraft\" and left": "созданная более новым LightCraft, отклоняется с сообщением «эта библиотека создана более новой версией LightCraft» и остаётся",
+ "written by a newer LightCraft), LightCraft says so and why, and offers Try Again, Choose Another Library…, Continue": "созданная более новым LightCraft), LightCraft сообщает об этом и о причине и предлагает «Повторить попытку», «Выбрать другую библиотеку…», «Продолжить",
+ "year, 2 digits": "год, 2 цифры",
+ "year, 4 digits": "год, 4 цифры",
+ "years": "лет",
+ "yellow": "жёлтый",
+ "{date} is the capture time; a photo without one uses the time it was imported.": "{date} — время съёмки; фото без него использует время импорта.",
+ "© 2026 Your Name": "© 2026 Ваше имя",
+ "© Your Name": "© Ваше имя",
+ "≤ at most": "≤ не более",
+ "≥ at least": "≥ не менее",
+ "⌘-drag to straighten, ⇧G Guided Upright, a grid while transforming.": "⌘+перетаскивание — выровнять, ⇧G — направляемое выравнивание, сетка при трансформации.",
- "{n} photos opened for editing; each is stacked with its original": "Открыто для редактирования фото: {n}; каждое объединено в стопку с оригиналом"
++ "{n} photos opened for editing; each is stacked with its original": "Открыто для редактирования фото: {n}; каждое объединено в стопку с оригиналом",
+ "Add to Apple Photos": "Добавить в Apple Фото",
+ "Adding to Apple Photos…": "Добавление в Apple Фото…",
+ "not added to Apple Photos (cancelled)": "не добавлено в Apple Фото (отменено)",
+ "The first time, macOS asks whether LightCraft may control Photos.": "В первый раз macOS спросит, может ли LightCraft управлять приложением «Фото».",
+ "Adding to Apple Photos": "Добавление в Apple Фото"
}
diff --cc crates/ui-egui/locales/uk-formats.json
index b9b5bca71,16acf427e..a5a3824e4
--- a/crates/ui-egui/locales/uk-formats.json
+++ b/crates/ui-egui/locales/uk-formats.json
@@@ -238,7 -229,7 +238,10 @@@
"1 task is still running: {names}. Quitting stops it.": "1 завдання ще виконується: {names}. Вихід зупинить його.",
"{n} tasks are still running: {names}. Quitting stops them.": "Ще виконуються завдання ({n}): {names}. Вихід зупинить їх.",
"{what} merge cancelled": "Об’єднання {what} скасовано",
+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "Пропущено локальних фото: {n}{0:.0} — в альбомах лише фото з бібліотеки (спершу додайте їх до моїх фото)",
+ "New Folder in “{name}”": "Нова тека в «{name}»",
- "Moved {} photo(s)": "Переміщено фото: {}"
++ "Moved {} photo(s)": "Переміщено фото: {}",
+ "not added to Apple Photos: {e}": "не додано до Apple Фото: {e}",
+ "{n} added to Apple Photos album “{album}”": "Додано до альбому Apple Фото «{album}»: {n}",
+ "{n} added to Apple Photos": "Додано до Apple Фото: {n}"
}
diff --cc crates/ui-egui/locales/uk.json
index 1d70b3601,8df7036ce..3d983ea8c
--- a/crates/ui-egui/locales/uk.json
+++ b/crates/ui-egui/locales/uk.json
@@@ -2084,62 -2079,9 +2084,67 @@@
"Reset Panel Layout": "Reset Panel Layout",
"Resize panel window": "Resize panel window",
"Resize panels": "Resize panels",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "Це каталог Lightroom, а не бібліотека LightCraft. Імпортувати його до бібліотеки LightCraft?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "Імпорт читає каталог, не змінюючи його, і додає його фото, редагування, ключові слова та колекції до відкритої зараз бібліотеки.",
+ "Albums hold library photos: Add to My Photos first": "В альбомах лише фото з бібліотеки: спершу додайте їх до моїх фото",
+ "Add to My Photos First": "Спершу додати до моїх фото",
+ "Fill Location from GPS": "Заповнити місце за GPS",
+ "Download Place Names (GeoNames)": "Завантажити назви місць (GeoNames)",
+ "Place Names Status": "Стан назв місць",
+ "Fill Location": "Заповнити місце",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "Заповнити порожні поля «Місто», «Регіон» і «Країна» за GPS (назви місць GeoNames, офлайн)",
+ "Looking up places": "Пошук місць",
+ "Downloading place names": "Завантаження назв місць",
+ "Place names downloaded": "Назви місць завантажено",
+ "Place names download cancelled": "Завантаження назв місць скасовано",
+ "Other…": "Інший…",
+ "Intent:": "Метод:",
+ "Perceptual": "Перцепційний",
+ "Relative": "Відносний",
+ "Simulate Paper & Ink": "Імітувати папір і фарбу",
+ "Content-Aware": "З урахуванням вмісту",
+ "Sidebar Sections": "Розділи бічної панелі",
+ "Reset Sidebar Sections": "Скинути розділи бічної панелі",
+ "Hide This Section": "Сховати цей розділ",
+ "No folders to browse": "Немає тек для перегляду",
+ "No photos yet": "Фотографій ще немає",
+ "No imported folders yet": "Імпортованих тек ще немає",
+ "Show Sidebar Section": "Показати розділ бічної панелі",
+ "Move Sidebar Section": "Перемістити розділ бічної панелі",
+ "New Library…": "Нова бібліотека…",
+ "Open Recent Library": "Відкрити нещодавню бібліотеку",
+ "Recent Libraries": "Нещодавні бібліотеки",
+ "Clear Recent Libraries": "Очистити список нещодавніх бібліотек",
+ "No Recent Libraries": "Немає нещодавніх бібліотек",
+ "New Library: Choose Where to Put It": "Нова бібліотека: виберіть розташування",
+ "New Library": "Нова бібліотека",
+ "Library name": "Назва бібліотеки",
+ "New Folder on Disk": "Нова тека на диску",
+ "New Folder on Disk…": "Нова тека на диску…",
+ "Move to Folder": "Перемістити до теки",
+ "Move to Folder…": "Перемістити до теки…",
+ "Move Selected Photos Here": "Перемістити вибрані фото сюди",
+ "Moves the files and their XMP sidecars into this folder; never overwrites": "Переміщує файли та їхні XMP-файли до цієї теки; нічого не перезаписує",
+ "Appearance Settings…": "Налаштування вигляду…",
+ "Add to favorites": "Додати до вибраного",
+ "Remove from favorites": "Видалити з вибраного",
+ "Appearance": "Вигляд",
+ "Appearance Mode": "Режим вигляду",
+ "Sync with System": "Як у системі",
+ "Light Mode": "Світлий режим",
+ "Dark Mode": "Темний режим",
+ "Next Appearance Mode": "Наступний режим вигляду",
+ "Light Theme": "Світла тема",
+ "Dark Theme": "Темна тема",
+ "In Use": "Використовується",
+ "Charcoal": "Графіт",
+ "Midnight": "Опівніч",
+ "Silver": "Срібло",
+ "Paper": "Папір",
- "{n} photos opened for editing; each is stacked with its original": "Відкрито для редагування фото: {n}; кожне об’єднано в стос з оригіналом"
++ "{n} photos opened for editing; each is stacked with its original": "Відкрито для редагування фото: {n}; кожне об’єднано в стос з оригіналом",
+ "Add to Apple Photos": "Додати до Apple Фото",
+ "Adding to Apple Photos…": "Додавання до Apple Фото…",
+ "not added to Apple Photos (cancelled)": "не додано до Apple Фото (скасовано)",
+ "The first time, macOS asks whether LightCraft may control Photos.": "Першого разу macOS запитає, чи може LightCraft керувати програмою «Фото».",
+ "Adding to Apple Photos": "Додавання до Apple Фото"
}
diff --cc crates/ui-egui/locales/zh-hans-formats.json
index 8f62003fb,97ee818a4..2020e26c3
--- a/crates/ui-egui/locales/zh-hans-formats.json
+++ b/crates/ui-egui/locales/zh-hans-formats.json
@@@ -238,7 -229,7 +238,10 @@@
"1 task is still running: {names}. Quitting stops it.": "仍有 1 个任务在运行:{names}。退出将停止它。",
"{n} tasks are still running: {names}. Quitting stops them.": "仍有 {n} 个任务在运行:{names}。退出将停止它们。",
"{what} merge cancelled": "已取消 {what} 合并",
+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "已跳过 {n} 张本地照片{0:.0}:相册只能收录图库中的照片(请先添加到我的照片)",
+ "New Folder in “{name}”": "在“{name}”中新建文件夹",
- "Moved {} photo(s)": "已移动 {} 张照片"
++ "Moved {} photo(s)": "已移动 {} 张照片",
+ "not added to Apple Photos: {e}": "未添加到 Apple 照片:{e}",
+ "{n} added to Apple Photos album “{album}”": "已将 {n} 个添加到 Apple 照片相册“{album}”",
+ "{n} added to Apple Photos": "已将 {n} 个添加到 Apple 照片"
}
diff --cc crates/ui-egui/locales/zh-hans.json
index b47aba485,a82443bca..7cb6091b4
--- a/crates/ui-egui/locales/zh-hans.json
+++ b/crates/ui-egui/locales/zh-hans.json
@@@ -1903,87 -1885,9 +1903,92 @@@
"Finding faces": "正在查找人脸",
"Synchronizing folder": "正在同步文件夹",
"Looking for changes": "正在查找更改",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "这是 Lightroom 目录,不是 LightCraft 图库。要改为将其导入 LightCraft 图库吗?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "导入只读取目录、不做任何更改,并将其中的照片、编辑、关键字和收藏夹添加到当前打开的图库。",
+ "Albums hold library photos: Add to My Photos first": "相册只能收录图库中的照片:请先添加到我的照片",
+ "Add to My Photos First": "先添加到我的照片",
+ "Fill Location from GPS": "根据 GPS 填写位置",
+ "Download Place Names (GeoNames)": "下载地名数据 (GeoNames)",
+ "Place Names Status": "地名数据状态",
+ "Fill Location": "填写位置",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "根据 GPS 填写空白的城市、省/州和国家(GeoNames 地名,离线)",
+ "Looking up places": "正在查找地点",
+ "Downloading place names": "正在下载地名数据",
+ "Place names downloaded": "地名数据已下载",
+ "Place names download cancelled": "已取消下载地名数据",
+ "Other…": "其他…",
+ "Intent:": "方法:",
+ "Perceptual": "可感知",
+ "Relative": "相对",
+ "Simulate Paper & Ink": "模拟纸张和油墨",
+ "Content-Aware": "内容识别",
+ "Sidebar Sections": "边栏分区",
+ "Reset Sidebar Sections": "重置边栏分区",
+ "Hide This Section": "隐藏此分区",
+ "No folders to browse": "没有可浏览的文件夹",
+ "No photos yet": "还没有照片",
+ "No imported folders yet": "还没有导入的文件夹",
+ "Show Sidebar Section": "显示边栏分区",
+ "Move Sidebar Section": "移动边栏分区",
+ "New Library…": "新建图库…",
+ "Open Recent Library": "打开最近的图库",
+ "Recent Libraries": "最近的图库",
+ "Clear Recent Libraries": "清除最近的图库",
+ "No Recent Libraries": "没有最近的图库",
+ "New Library: Choose Where to Put It": "新建图库:选择存放位置",
+ "New Library": "新建图库",
+ "Library name": "图库名称",
+ "New Folder on Disk": "在磁盘上新建文件夹",
+ "New Folder on Disk…": "在磁盘上新建文件夹…",
+ "Move to Folder": "移动到文件夹",
+ "Move to Folder…": "移动到文件夹…",
+ "Move Selected Photos Here": "将所选照片移到此处",
+ "Moves the files and their XMP sidecars into this folder; never overwrites": "将文件及其 XMP 附属文件移到此文件夹;绝不覆盖",
+ "Appearance Settings…": "外观设置…",
+ "Add to favorites": "添加到收藏",
+ "Remove from favorites": "从收藏中移除",
+ "Add Face Model…": "添加人脸模型…",
+ "Cancel Face Model Download": "取消人脸模型下载",
+ "Cancel Pending Photo Action": "取消待处理的照片操作",
+ "Choose Face Recognition Model": "选择人脸识别模型",
+ "Choose a model below (Use) to start.": "请在下方选择模型(点击“使用”)以开始。",
+ "Detect Faces": "检测人脸",
+ "Download Face Model": "下载人脸模型",
+ "Drag Crop Handle": "拖动裁切手柄",
+ "Evaluate Face Recognition": "评估人脸识别",
+ "Face Model Downloads": "人脸模型下载",
+ "Face Models": "人脸模型",
+ "Face Recognition On/Off": "人脸识别开关",
+ "Face detector": "人脸检测器",
+ "Face recognition": "人脸识别",
+ "Faces": "人脸",
+ "Faces of a Person": "某个人的人脸",
+ "Go back to listing them by name": "返回按名称列出",
+ "Index Faces": "索引人脸",
+ "Index Faces in the Background": "在后台索引人脸",
+ "Inspect Face Model File": "查看人脸模型文件",
+ "Install Face Model": "安装人脸模型",
+ "Library Folders": "图库文件夹",
+ "Name Face": "命名人脸",
+ "Name Faces": "命名人脸",
+ "Recognise faces (experimental)": "识别面部(实验功能)",
+ "Recognition models": "识别模型",
+ "Remove Face Model": "移除人脸模型",
+ "Reorder Album": "重排相册",
+ "Show Person": "显示人物",
+ "Sort Albums A–Z": "相册按 A–Z 排序",
+ "Sort Albums by Name": "相册按名称排序",
+ "Sort Contents A–Z": "内容按 A–Z 排序",
+ "Suggest Names for Faces": "为人脸建议名称",
+ "Test Face Model": "测试人脸模型",
+ "Unnamed Faces": "未命名人脸",
+ "save goes through.": "才能完成保存。",
+ "smart album value|No": "智能相册取值|否",
+ "smart album value|Yes": "智能相册取值|是",
- "{n} photos opened for editing; each is stacked with its original": "已打开 {n} 张照片进行编辑;每张都与其原片堆叠在一起"
++ "{n} photos opened for editing; each is stacked with its original": "已打开 {n} 张照片进行编辑;每张都与其原片堆叠在一起",
+ "Add to Apple Photos": "添加到 Apple 照片",
+ "Adding to Apple Photos…": "正在添加到 Apple 照片…",
+ "not added to Apple Photos (cancelled)": "未添加到 Apple 照片(已取消)",
+ "The first time, macOS asks whether LightCraft may control Photos.": "首次使用时,macOS 会询问是否允许 LightCraft 控制“照片”。",
+ "Adding to Apple Photos": "正在添加到 Apple 照片"
}
diff --cc crates/ui-egui/locales/zh-hant-formats.json
index 390359ff5,9fae26a64..3b95e938f
--- a/crates/ui-egui/locales/zh-hant-formats.json
+++ b/crates/ui-egui/locales/zh-hant-formats.json
@@@ -238,7 -229,7 +238,10 @@@
"1 task is still running: {names}. Quitting stops it.": "仍有 1 個工作在執行:{names}。結束將停止它。",
"{n} tasks are still running: {names}. Quitting stops them.": "仍有 {n} 個工作在執行:{names}。結束將停止它們。",
"{what} merge cancelled": "已取消{what}合併",
+ "{n} Local photo{} skipped: albums hold library photos (Add to My Photos first)": "已略過 {n} 張本機照片{0:.0}:相簿只能收錄圖庫中的照片(請先加入我的照片)",
+ "New Folder in “{name}”": "在「{name}」中新增資料夾",
- "Moved {} photo(s)": "已移動 {} 張照片"
++ "Moved {} photo(s)": "已移動 {} 張照片",
+ "not added to Apple Photos: {e}": "未加入 Apple 照片:{e}",
+ "{n} added to Apple Photos album “{album}”": "已將 {n} 個加入 Apple 照片相簿「{album}」",
+ "{n} added to Apple Photos": "已將 {n} 個加入 Apple 照片"
}
diff --cc crates/ui-egui/locales/zh-hant.json
index 929747119,41d50eea6..96630878e
--- a/crates/ui-egui/locales/zh-hant.json
+++ b/crates/ui-egui/locales/zh-hant.json
@@@ -1903,49 -1885,9 +1903,54 @@@
"Finding faces": "正在尋找臉孔",
"Synchronizing folder": "正在同步資料夾",
"Looking for changes": "正在尋找變更",
+ "This is a Lightroom catalog, not a LightCraft library. Import it into a LightCraft library instead?": "這是 Lightroom 目錄,不是 LightCraft 照片庫。要改為將其匯入 LightCraft 照片庫嗎?",
+ "The import reads the catalog without changing it and adds its photos, edits, keywords and collections to the library open now.": "匯入只讀取目錄、不做任何變更,並將其中的照片、編輯、關鍵字和收藏夾加入目前開啟的照片庫。",
+ "Albums hold library photos: Add to My Photos first": "相簿只能收錄圖庫中的照片:請先加入我的照片",
+ "Add to My Photos First": "先加入我的照片",
+ "Fill Location from GPS": "根據 GPS 填寫位置",
+ "Download Place Names (GeoNames)": "下載地名資料 (GeoNames)",
+ "Place Names Status": "地名資料狀態",
+ "Fill Location": "填寫位置",
+ "Fill empty City, State and Country from GPS (offline GeoNames place names)": "根據 GPS 填寫空白的城市、州/省和國家(GeoNames 地名,離線)",
+ "Looking up places": "正在查找地點",
+ "Downloading place names": "正在下載地名資料",
+ "Place names downloaded": "地名資料已下載",
+ "Place names download cancelled": "已取消下載地名資料",
+ "Other…": "其他…",
+ "Intent:": "方式:",
+ "Perceptual": "感知",
+ "Relative": "相對",
+ "Simulate Paper & Ink": "模擬紙張和油墨",
+ "Content-Aware": "內容感知",
+ "Sidebar Sections": "側邊欄區段",
+ "Reset Sidebar Sections": "重設側邊欄區段",
+ "Hide This Section": "隱藏此區段",
+ "No folders to browse": "沒有可瀏覽的資料夾",
+ "No photos yet": "還沒有照片",
+ "No imported folders yet": "還沒有匯入的資料夾",
+ "Show Sidebar Section": "顯示側邊欄區段",
+ "Move Sidebar Section": "移動側邊欄區段",
+ "New Library…": "新增圖庫…",
+ "Open Recent Library": "開啟最近的圖庫",
+ "Recent Libraries": "最近的圖庫",
+ "Clear Recent Libraries": "清除最近的圖庫",
+ "No Recent Libraries": "沒有最近的圖庫",
+ "New Library: Choose Where to Put It": "新增圖庫:選擇存放位置",
+ "New Library": "新增圖庫",
+ "Library name": "圖庫名稱",
+ "New Folder on Disk": "在磁碟上新增資料夾",
+ "New Folder on Disk…": "在磁碟上新增資料夾…",
+ "Move to Folder": "移至資料夾",
+ "Move to Folder…": "移至資料夾…",
+ "Move Selected Photos Here": "將所選照片移至此處",
+ "Moves the files and their XMP sidecars into this folder; never overwrites": "將檔案及其 XMP 附屬檔案移至此資料夾;絕不覆寫",
+ "Appearance Settings…": "外觀設定…",
+ "Add to favorites": "加入最愛",
+ "Remove from favorites": "從最愛移除",
- "{n} photos opened for editing; each is stacked with its original": "已開啟 {n} 張相片進行編輯;每張都與其原始相片堆疊在一起"
++ "{n} photos opened for editing; each is stacked with its original": "已開啟 {n} 張相片進行編輯;每張都與其原始相片堆疊在一起",
+ "Add to Apple Photos": "加入 Apple 照片",
+ "Adding to Apple Photos…": "正在加入 Apple 照片…",
+ "not added to Apple Photos (cancelled)": "未加入 Apple 照片(已取消)",
+ "The first time, macOS asks whether LightCraft may control Photos.": "第一次使用時,macOS 會詢問是否允許 LightCraft 控制「照片」。",
+ "Adding to Apple Photos": "正在加入 Apple 照片"
}
diff --cc docs/parity-checklist.md
index 0d1d4dcff,7ec59c5b6..26a8f3964
--- a/docs/parity-checklist.md
+++ b/docs/parity-checklist.md
@@@ -399,8 -397,8 +399,8 @@@ differences and missing bindings are i
| LR-EXP-PREVIOUS | Export with previous settings | P0 | ✅ | `cmd:app.exportPrevious`, `cmd:dialog.export` | last options persist in prefs.json; dialog prefilled; no named export presets yet |
| LR-EXP-DNGOPT | DNG options | P2 | 🟡 | `cmd:app.export` (`dngCompression`), `crates/engine/src/export.rs` | compression: lossless JPEG (default), ZIP or none; no embedded JPEG preview size, no lossy DNG output |
| LR-EXP-ORIGINAL | Original + XMP | P1 | ✅ | `cmd:app.export` (`format: original`), `crates/engine/src/tests_export.rs` | file copied byte for byte, sidecar named after the output and subject to the conflict policy |
- | LR-EXP-PHOTOS | Export to the system photo library | P2 | ⬜ | | |
+ | LR-EXP-PHOTOS | Export to the system photo library | P2 | 🟡 | `cmd:app.export` (`addToPhotos`, `photosAlbum`), `cmd:export.addToPhotos`, `cmd:export.photosImports`, `crates/engine/src/apple_photos.rs`, `crates/ui-egui/src/panels/dialogs.rs`, `packaging/macos/entitlements.plist`, `docs/apple-photos.md` | macOS: the exported files go to Apple Photos through Apple Events to its import command (a constant AppleScript run by `/usr/bin/osascript`; album names and paths are separate arguments), into a top-level album of exactly that name, made when missing (several of that name: refused); the Export dialog's Add to Apple Photos, Export with Previous, presets, MCP and `lightcraft-cli` all reach it; imports are jobs, off the UI thread in the desktop app and awaited in one-shot headless runs, one at a time, reserved by an export before it writes; permission, missing Photos, timeouts and partial imports are reported; the packaged app carries the Apple Events entitlement and usage text. Tested end to end with the packaged app on macOS 26.6.2 / Photos 11.0 (manual steps in `docs/apple-photos.md`). Other platforms' photo libraries are not covered |
-| LR-EXP-PSD | Round trip to an external editor | P2 | ✅ | `cmd:photo.editExternal`, `cmd:photo.editInExternal`, `crates/engine/src/cmd/convert.rs` | a 16-bit TIFF `-Edit` copy with the edits (Adobe RGB / ProPhoto / P3 / sRGB) next to the original, added stacked on top of it and opened in the editor set in Settings ▸ General (or the system default) |
+| LR-EXP-PSD | Round trip to an external editor | P2 | ✅ | `cmd:photo.editExternal`, `cmd:photo.editInPhotoCraft`, `cmd:photo.editInExternal`, `crates/engine/src/cmd/convert.rs`, `apps/lightcraft/src/editors.rs` | an `-Edit` copy of each selected photo (up to 50 at once, issue #920) with the edits (PSD or TIFF, 16- or 8-bit, Adobe RGB / ProPhoto / P3 / sRGB, chosen per editor in Settings ▸ General ▸ External Editing) next to the original, added stacked on top of it and opened in PhotoCraft (found where its installers put it; a PSD by default, which PhotoCraft saves back to in place) or the other editor set there (or the system default); also on the photo's right-click menu (Edit In). Re-read when LightCraft is focused again. No "Edit a copy / Edit original" choice for non-raw files yet |
## T. Share (SHARE)
diff --cc docs/whats-new.md
index a364df03a,629dec180..fb8b285a3
--- a/docs/whats-new.md
+++ b/docs/whats-new.md
@@@ -1,106 -1,16 +1,115 @@@
# What's new in LightCraft
+## 2026-10-11
+
+### JPEG XL export
+- Export as JPEG XL (issue #247): Format ▸ JPEG XL in the Export dialog, `format: "jxl"` for agents and the CLI
+ (`render in.raw -o out.jxl`). Quality as for JPEG, or Lossless; Effort (Fast / Normal) trades time for a
+ smaller file; Progressive files show a coarse version first. 8- or 16-bit, sRGB, Display P3 or Rec. 2020 (lossless
+ files also Adobe RGB and ProPhoto), metadata as for JPEG. With HDR output, photos edited in HDR are written as
+ 16-bit Rec. 2020 PQ. Not in the web version yet.
+- Lossy JPEG XL files in Display P3 or Rec. 2020 now open in their real colours; saturated colours used to come in
+ noticeably duller.
+
+### Open Library knows a Lightroom catalog
+- Choosing a Lightroom Classic catalog folder in File → Open Library… (or one of its `Previews.lrdata` /
+ `.lrcat-data` folders, or the `.lrcat`) no longer makes an empty LightCraft library inside it (issue #891). The
+ library open now stays, and LightCraft says "This is a Lightroom catalog, not a LightCraft library" and offers
+ **Import Lightroom Catalog…** with that catalog, or Cancel. `lightcraft-cli --library` refuses those folders too.
+
+### Canon EOS R5 Mark II
+- Canon EOS R5 Mark II C-RAW files that opened as "preview only" (more than half of them, depending on the
+ scene) now develop from their sensor data with every editing tool, like the camera's other raws. Photos
+ imported earlier switch over with Photo ▸ Reload from Disk.
+
+### Switching libraries
+- File ▸ New Library… asks for a name, then where to put it, and opens the new library (issue #902).
+- File ▸ Open Recent Library lists the last 8 libraries; ones that are gone (moved, drive disconnected) are greyed
+ out. Clear Recent Libraries empties the list.
+- The open library's name shows under My Photos at the top of the left panel and in the window title.
+- `lightcraft-cli --library` given a library's own file (`catalog.snap`) opens its folder instead of failing with
+ "File exists".
+- Agents use `app.newLibrary {path, name}`, `app.recentLibraries` and `app.clearRecentLibraries`.
+
+### Edit in PhotoCraft
+- Right-click a photo ▸ Edit In ▸ Edit in PhotoCraft (or Photo ▸ Edit In, ⇧⌘E) renders a copy with your edits, stacks it
+ with the original and opens it in PhotoCraft. LightCraft finds PhotoCraft where its installer put it (Windows,
+ macOS, Linux packages, AppImage, Flatpak), and says so if it isn't installed, before making a copy.
+- The copy is a 16-bit PSD by default, which PhotoCraft saves straight back to with File ▸ Save; when you come back to
+ LightCraft the copy shows what you saved.
+- Settings ▸ General ▸ External Editing: the format (PSD or TIFF), colour space and bit depth for PhotoCraft and for
+ the other editor (Edit in Other Editor, now ⌥⌘E), and where PhotoCraft is if you use a portable copy.
+- Export can write PSD too (flat, 8- or 16-bit).
+
+### Reliability
+- Upgrading from a Windows installer older than 0.6 (such as 0.5.0) keeps LightCraft in the folder it was installed
+ in, instead of moving it back to Program Files (issue #399). If that folder has been deleted since, the upgrade
+ installs to Program Files.
+
## 2026-10-10
+### Dialogs fit the window
+- A dialog taller than the window no longer runs off it (issue #781): on a 1366×768 screen the Export dialog's title
+ and its Cancel / OK buttons were off screen, so it couldn't be confirmed. Now its options scroll and the title and
+ buttons stay visible. Long lists in dialogs (What's New, All Metadata, Keyboard Shortcuts) get shorter to fit.
+ Dialogs that fit look as before.
+
+### Previews match exports on Mac screens
+- On macOS, photos are shown through the profile of the screen the window is on while no monitor profile is chosen in
+ Settings ▸ Display (issue #787). On P3 screens previews used to look more saturated than the exported files in
+ Preview or Photos. Moving the window to another screen is followed; **Use Screen Profile** goes back to it after
+ choosing a profile file.
+
+### Sidebar sections
+- Arrange the left sidebar your way: drag Albums, Local, By Date, Folders or Keywords by its header to move it (a line
+ shows where it will go), or right-click a header for Move Up / Move Down.
+- Hide the sections you don't use: View ▸ Sidebar Sections, or right-click a header ▸ Hide This Section. Right-click
+ the My Photos title to bring one back, or choose Reset Sidebar Sections. The arrangement is remembered.
+- In a long section, the header stays at the top of the sidebar while you scroll through its rows, so you always see
+ which section you are in and can fold it from there.
+- Sections are easier to tell apart: a hairline between them, the fold chevron in the same column as the rows'
+ triangles, a highlight under the pointer. A folded section shows how many rows it holds, counts of 0 are fainter,
+ and a section with nothing in it says so instead of disappearing.
+- Recently Deleted is listed with All Photos, Recently Added and Picks under My Photos.
+- Keywords has a + in its header, like Albums: Create Keyword Tag without opening the Keyword List.
+- Agents: `view.sidebarSection`, `view.sidebarMoveSection`, `view.sidebarReset`; `ui.set` takes `sidebar`.
+
+### Kelvin white balance for raws whose camera has colour matrices
+- Raws from the 52 camera models whose colour matrices LightCraft has measured (Sony ILCE-7M3, ILCE-7M4, ILCE-7RM3,
+ Nikon D850, Canon EOS 5D Mark III and others) now show white balance in Kelvin, as a DNG does and as Lightroom
+ does: As Shot reads the file's white (an ILCE-7M3 sample: 4268 K / +7), the Temp slider runs 2000–50000 K and the
+ Daylight, Cloudy, Shade, Tungsten, Fluorescent and Flash presets set real temperatures (issue #730). The matrices
+ only convert between the camera's multipliers and Kelvin; the colour look is what it was.
+- Nothing already edited changes: a Custom white balance set on the old relative scale renders pixel for pixel as
+ before, and becomes the Kelvin value with the same look the next time it is edited. A photo imported earlier shows
+ its real As Shot temperature once the file is opened (or Reload reads it).
+- Lightroom's `crs:Temperature` for these raws is read as the Kelvin it is (sidecars, Lightroom catalogs, presets);
+ raws of other cameras keep the as-shot shift of issue #510. The two Kelvin scales come from different matrices and
+ differ by about 7–10 % on the ILCE-7M3; which one is off is still open.
+
+### Fujifilm lens corrections
+- Fujifilm RAFs from 59 camera models now get the lens correction the camera stores in the file: distortion (with the
+ camera's own zoom to fill the frame) and vignetting, as with Panasonic and Sony files. The Optics profile controls
+ adjust or switch them off, and DNG export keeps them. Lateral chromatic aberration data is not applied: our
+ demosaic already lines the colour planes up. Details and measurements: `docs/fuji-lens-corrections.md`.
+
+### Appearance
+- Settings ▸ Interface ▸ Appearance Mode: Sync with System, Dark Mode or Light Mode, above a light
+ and a dark theme card, each previewing its theme (dark: Charcoal, the look so far, or Midnight;
+ light: Silver or Paper). New and existing installs stay dark; following the system is opt-in.
+- The top bar's appearance button cycles Auto, Light, Dark (a monitor, sun or moon), and View ▸
+ Appearance lists the modes and themes. On Linux, Auto follows the desktop portal's colour scheme
+ as it changes, without polling.
+
+ ### Add to Apple Photos (macOS)
+ - The Export dialog has **Add to Apple Photos**, with an optional album. The files are exported to your folder as
+ usual and then added to Photos, into a top-level album of that name (made when it's missing). The toast says how
+ many Photos added, or why it added none. Export with Previous and export presets repeat it.
+ - The first time, macOS asks whether LightCraft may control Photos. Photos may ask about duplicates; files it skips
+ show as a partial import.
+ - Agents: `app.export {addToPhotos, photosAlbum}`, `export.addToPhotos {paths}` for files already on disk, and
+ `export.photosImports`. See [Add to Apple Photos](apple-photos.md).
+
### Activity stack
- Long-running tasks show in one place, top left under the top bar, as in Lightroom Classic (issue #345): imports and
folder scans, exports (and the contact sheet PDF), Synchronize Folder, Build / Smart Previews, Lightroom catalog import, Photo Merge, model downloads, the face scan,