Skip to content

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

Merge current main while preserving native printing and system printer menus

skylartaylor235d4e22fa6f
diff --cc crates/engine/src/print_cmds.rs
index 9361f7d2b,73324711d..9a0af4a05
--- a/crates/engine/src/print_cmds.rs
+++ b/crates/engine/src/print_cmds.rs
@@@ -565,14 -450,15 +565,23 @@@ pub fn printing_disabled() -> bool
PRINTING_DISABLED.load(std::sync::atomic::Ordering::Relaxed) || std::env::var_os("PHOTOCRAFT_NO_PRINT").is_some_and(|v| !v.is_empty() && v != "0")
}
+fn require_printing_enabled() -> Result<()> {
+ if printing_disabled() {
+ Err(other("printing is disabled in this process (photocraft_engine::print_cmds::disable_printing or PHOTOCRAFT_NO_PRINT); use dryRun: true"))
+ } else {
+ Ok(())
+ }
+}
+
+ /// The printers the system spooler knows (Print's Printer menu): CUPS queues and driverless
+ /// destinations on macOS and Linux, `Win32_Printer` on Windows, none in the browser.
-fn printers(_: &mut Session, _: &Value) -> Result<Value> {
++fn system_printers(_: &mut Session, _: &Value) -> Result<Value> {
+ let list = craft_print::printers();
+ let default = list.iter().find(|p| p.default).map(|p| p.name.clone());
+ let printers: Vec<Value> = list.into_iter().map(|p| json!({"name": p.name, "default": p.default})).collect();
+ Ok(json!({"printers": printers, "default": default}))
+ }
+
fn print(s: &mut Session, p: &Value) -> Result<Value> {
do_print(s, p, "file.print")
}
@@@ -741,30 -627,19 +750,40 @@@ pub fn specs() -> Vec<CommandSpec>
CommandSpec { id: $id, label: $label, menu: $menu, shortcut: $sc, params: $params, enabled: $enabled, journal: true, run: $run }
};
}
- const PRINT_PARAMS: &str = r##"{"printer":name? (default printer),"copies":1..999=1,"paper":"letter|legal|tabloid|a3|a4|a5|4x6|5x7"|[w,h] pt="letter","orientation":"portrait|landscape"="portrait","center":bool=true,"top":in?,"left":in?,"scale":%=100,"scaleToFit":bool=false,"colorHandling":"printerManages|photocraftManages|noColorManagement"="printerManages","printerProfile":profile? (photocraftManages),"intent":"perceptual|relative|saturation|absolute"="relative","bpc":bool=true,"cornerCropMarks":bool,"centerCropMarks":bool,"registrationMarks":bool,"description":bool,"labels":bool,"emulsionDown":bool=false (mirror the page left to right, for sublimation and other transfer printing),"output":pdf path? (print to PDF; then "send" defaults to false),"send":bool?,"dryRun":bool=false (render the PDF, report the backend command, don't spool; write a PDF only at an explicit output path)} → {pdf:path|null (null without explicit output), imageRect, command:diagnostic array|null, sent}"##;
+ const PRINT_PARAMS: &str = r##"{"printerSettings":hex? (Windows driver settings),"printer":name? (default printer),"copies":1..999=1,"paper":"letter|legal|tabloid|a3|a4|a5|4x6|5x7"|[w,h] pt="letter","orientation":"portrait|landscape"="portrait","center":bool=true,"top":in?,"left":in?,"scale":%=100,"scaleToFit":bool=false,"colorHandling":"printerManages|photocraftManages|noColorManagement"="printerManages","printerProfile":profile? (photocraftManages),"intent":"perceptual|relative|saturation|absolute"="relative","bpc":bool=true,"cornerCropMarks":bool,"centerCropMarks":bool,"registrationMarks":bool,"description":bool,"labels":bool,"emulsionDown":bool=false (mirror the page left to right, for sublimation and other transfer printing),"output":pdf path? (print to PDF; then "send" defaults to false),"send":bool?,"dryRun":bool=false (render the PDF, report the backend command, don't spool; write a PDF only at an explicit output path)} → {pdf:path|null (null without explicit output), imageRect, command:diagnostic array|null, sent}"##;
+
vec![
spec!("file.print", "Print…", &["File"], Some("Cmd+P"), PRINT_PARAMS, native_doc, print),
+ CommandSpec {
+ id: "file.print.printers",
+ label: "Printers",
+ menu: &[],
+ shortcut: None,
+ params: r##"{} → {supported, printers: [{name, default}]} (supported: Windows; elsewhere Print spools with lp)"##,
+ enabled: |_| Ok(()),
+ journal: false,
+ run: printers,
+ },
+ CommandSpec {
+ id: "file.print.page",
+ label: "Printer Page",
+ menu: &[],
+ shortcut: None,
+ params: r##"{"printer":name? (default printer),"printerSettings":hex?} → {printer, paper: [w,h] pt, printable: [x,y,w,h] pt from the top-left, dpi: [x,y]} (Windows)"##,
+ enabled: |_| Ok(()),
+ journal: false,
+ run: printer_page,
+ },
+ CommandSpec {
+ id: "file.printers",
+ label: "Printers",
+ menu: &[],
+ shortcut: None,
+ params: r##"{} → {printers:[{name, default}], default:name|null} (the system spooler's printers; a name is Print's "printer")"##,
+ enabled: crate::commands::always,
+ journal: false,
- run: printers,
++ run: system_printers,
+ },
spec!(
"file.printOneCopy",
"Print One Copy",
diff --cc crates/ui-egui/src/file_ui.rs
index ba7efccaf,4b708fa1c..9809f33c9
--- a/crates/ui-egui/src/file_ui.rs
+++ b/crates/ui-egui/src/file_ui.rs
@@@ -689,6 -724,9 +724,9 @@@ pub fn open_print(app: &mut PhotocraftA
let mut f = Map::new();
f.insert("__print".into(), json!(true));
f.insert("__label".into(), json!("PhotoCraft Print Settings"));
+ // Asked once per opening: the Printer menu lists what the spooler knows now.
+ let printers = app.session.execute("file.printers", json!({})).unwrap_or_default();
- f.insert("__printers".into(), printers["printers"].clone());
++ f.insert("__systemPrinters".into(), printers["printers"].clone());
if let Some(Value::Object(m)) = app.session.file_menu.last_print.clone() {
f.extend(m);
}
@@@ -919,55 -915,17 +957,57 @@@ fn print_body(app: &mut PhotocraftApp,
ui.label(egui::RichText::new(s).font(crate::theme::semibold(12.0)).color(t.text));
};
head(ui, tl!("Printer Setup"));
- ui.horizontal(|ui| {
- ui.label(egui::RichText::new(tl!("Printer")).color(t.text_dim));
- let mut pr = s(f, "printer", "");
- let opts = printer_options(f.get("__printers"), &pr);
- let o: Vec<(String, &str)> = opts.iter().map(|(k, l)| (k.clone(), l.as_str())).collect();
- if crate::widgets::dropdown(ui, "print-printer", &mut pr, &o, 240.0) {
- f.insert("printer".into(), json!(pr));
+ if let Some(printers) = &printers {
+ // Windows: Photoshop's Printer menu and Print Settings… (the driver's own dialog).
+ ui.horizontal(|ui| {
+ ui.label(egui::RichText::new(tl!("Printer")).color(t.text_dim));
+ let before = s(f, "printer", "");
+ let opts: Vec<(&str, &str)> = printers.iter().map(|n| (n.as_str(), n.as_str())).collect();
+ dropdown_str(ui, "print-printer", f, "printer", &opts, 220.0);
+ if s(f, "printer", "") != before {
+ f.remove("printerSettings");
+ driver_page(f);
+ }
+ });
+ ui.horizontal(|ui| {
+ number(ui, f, "copies", tl!("Copies"), 1.0..=999.0, "", 1.0);
+ if ui.button(tl!("Print Settings…")).clicked() {
+ let printer = s(f, "printer", "");
+ let current = f.get("printerSettings").and_then(Value::as_str).and_then(|h| craft_print::rgb::DevMode::from_hex(h).ok());
+ match craft_print::rgb::settings_dialog(&printer, current.as_ref(), None) {
+ Ok(Some(dm)) => {
+ f.insert("printerSettings".into(), json!(dm.to_hex()));
+ driver_page(f);
+ }
+ Ok(None) => {}
+ Err(e) => {
+ f.insert("__pageError".into(), json!(e.to_string()));
+ }
+ }
+ }
+ });
+ let paper = p.get("paper").and_then(Value::as_array).map(|a| (a.first().and_then(Value::as_f64), a.get(1).and_then(Value::as_f64)));
+ let text = match paper {
+ Some((Some(w), Some(h))) => format!("{:.0} × {:.0} mm · {}", w / 72.0 * 25.4, h / 72.0 * 25.4, tl!("set in Print Settings…")),
+ _ => String::new(),
+ };
+ ui.label(egui::RichText::new(text).color(t.text_dim).size(11.0));
+ if let Some(e) = f.get("__pageError").and_then(Value::as_str) {
+ ui.label(egui::RichText::new(e).color(t.warning).size(11.0));
}
- });
- number(ui, f, "copies", tl!("Copies"), 1.0..=999.0, "", 1.0);
- print_paper_controls(ui, f);
+ } else {
+ ui.horizontal(|ui| {
+ ui.label(egui::RichText::new(tl!("Printer")).color(t.text_dim));
+ let mut pr = s(f, "printer", "");
- if ui.add(egui::TextEdit::singleline(&mut pr).hint_text(tl!("Default printer")).desired_width(180.0)).changed() {
++ let opts = printer_options(f.get("__systemPrinters"), &pr);
++ let o: Vec<(String, &str)> = opts.iter().map(|(k, l)| (k.clone(), l.as_str())).collect();
++ if crate::widgets::dropdown(ui, "print-printer", &mut pr, &o, 240.0) {
+ f.insert("printer".into(), json!(pr));
+ }
+ });
+ number(ui, f, "copies", tl!("Copies"), 1.0..=999.0, "", 1.0);
+ print_paper_controls(ui, f);
+ }
head(ui, tl!("Color Management"));
dropdown_str(
ui,
diff --cc crates/ui-egui/src/i18n/cs.tsv
index 4fba5de6b,805c20f76..01a8b9e4d
--- a/crates/ui-egui/src/i18n/cs.tsv
+++ b/crates/ui-egui/src/i18n/cs.tsv
@@@ -3725,10 -3744,4 +3744,11 @@@ navigator Zoom Zvětšen�
Step {step} is waiting for its dialog Krok {step} čeká na svůj dialog
@plural {n} action|{n} actions {n} akce|{n} akce|{n} akcí
Auto Add/Delete Automaticky přidat/odstranit
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Nezapínejte současně zrcadlení v nastavení tisku: obě převrácení se navzájem zruší.
+ Print Settings… Nastavení tisku…
+ Remember to turn off the printer's own colour management in Print Settings… Nezapomeňte v nastavení tisku vypnout vlastní správu barev tiskárny…
+ Sent to {printer} Odesláno do {printer}
+ set in Print Settings… nastavuje se v nastavení tisku…
+ ICO is limited to 256 × 256 pixels ICO je omezen na 256 × 256 pixelů
diff --cc crates/ui-egui/src/i18n/de.tsv
index ebc3c1aaf,88ef95767..489647ed2
--- a/crates/ui-egui/src/i18n/de.tsv
+++ b/crates/ui-egui/src/i18n/de.tsv
@@@ -2757,10 -3134,4 +3134,11 @@@ curves Smooth Glätte
Step {step} is waiting for its dialog Schritt {step} wartet auf seinen Dialog
@plural {n} action|{n} actions {n} Aktion|{n} Aktionen
Auto Add/Delete Autom. hinzuf./löschen
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Aktiviere nicht zusätzlich das Spiegelbild in den Druckeinstellungen: Die beiden Spiegelungen heben sich auf.
+ Print Settings… Druckeinstellungen…
+ Remember to turn off the printer's own colour management in Print Settings… Denke daran, die eigene Farbverwaltung des Druckers in den Druckeinstellungen auszuschalten…
+ Sent to {printer} An {printer} gesendet
+ set in Print Settings… in den Druckeinstellungen festlegen…
+ ICO is limited to 256 × 256 pixels ICO ist auf 256 × 256 Pixel begrenzt
diff --cc crates/ui-egui/src/i18n/el.tsv
index 94393ca5e,e8889313c..410da1a18
--- a/crates/ui-egui/src/i18n/el.tsv
+++ b/crates/ui-egui/src/i18n/el.tsv
@@@ -3814,10 -3834,4 +3834,11 @@@ curves Smooth Εξομάλυνσ�
Step {step} is waiting for its dialog Το βήμα {step} περιμένει το παράθυρο διαλόγου του
@plural {n} action|{n} actions {n} ενέργεια|{n} ενέργειες
Auto Add/Delete Αυτόματη προσθήκη/διαγραφή
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Μην ενεργοποιείτε επίσης τον κατοπτρισμό στις ρυθμίσεις εκτύπωσης: οι δύο αναστροφές αλληλοαναιρούνται.
+ Print Settings… Ρυθμίσεις εκτύπωσης…
+ Remember to turn off the printer's own colour management in Print Settings… Θυμηθείτε να απενεργοποιήσετε τη διαχείριση χρωμάτων του εκτυπωτή στις ρυθμίσεις εκτύπωσης…
+ Sent to {printer} Στάλθηκε στον {printer}
+ set in Print Settings… ορίζεται στις ρυθμίσεις εκτύπωσης…
+ ICO is limited to 256 × 256 pixels Το ICO περιορίζεται σε 256 × 256 εικονοστοιχεία
diff --cc crates/ui-egui/src/i18n/es.tsv
index 0ee261a2a,37f88f429..b5db4e992
--- a/crates/ui-egui/src/i18n/es.tsv
+++ b/crates/ui-egui/src/i18n/es.tsv
@@@ -2798,10 -2821,4 +2821,11 @@@ curves Smooth Suaviza
Step {step} is waiting for its dialog El paso {step} está esperando su cuadro de diálogo
@plural {n} action|{n} actions {n} acción|{n} acciones
Auto Add/Delete Añadir/eliminar automáticamente
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. No actives también Imagen especular en Ajustes de impresión: las dos inversiones se anulan.
+ Print Settings… Ajustes de impresión…
+ Remember to turn off the printer's own colour management in Print Settings… Recuerda desactivar la gestión de color de la impresora en Ajustes de impresión…
+ Sent to {printer} Enviado a {printer}
+ set in Print Settings… se establece en Ajustes de impresión…
+ ICO is limited to 256 × 256 pixels ICO está limitado a 256 × 256 píxeles
diff --cc crates/ui-egui/src/i18n/fr.tsv
index c654c2cce,f7d508fb5..ab0cca6f4
--- a/crates/ui-egui/src/i18n/fr.tsv
+++ b/crates/ui-egui/src/i18n/fr.tsv
@@@ -3118,10 -3138,4 +3138,11 @@@ curves Smooth Lisse
Step {step} is waiting for its dialog L’étape {step} attend sa boîte de dialogue
@plural {n} action|{n} actions {n} action|{n} actions
Auto Add/Delete Ajout/suppr. auto
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Ne cochez pas aussi Image miroir dans les paramètres d’impression : les deux inversions s’annulent.
+ Print Settings… Paramètres d’impression…
+ Remember to turn off the printer's own colour management in Print Settings… Pensez à désactiver la gestion des couleurs de l’imprimante dans les paramètres d’impression…
+ Sent to {printer} Envoyé à {printer}
+ set in Print Settings… défini dans les paramètres d’impression…
+ ICO is limited to 256 × 256 pixels Le format ICO est limité à 256 × 256 pixels
diff --cc crates/ui-egui/src/i18n/hu.tsv
index 41709b153,70c229420..9a7283a5a
--- a/crates/ui-egui/src/i18n/hu.tsv
+++ b/crates/ui-egui/src/i18n/hu.tsv
@@@ -4038,10 -4050,11 +4050,18 @@@ cameraRaw Yellow Sárg
Loaded Camera Raw settings from {file} Camera Raw-beállítások betöltve innen: {file}
Loaded Camera Raw settings from {file} ({n} not supported) Camera Raw-beállítások betöltve innen: {file} ({n} nem támogatott)
Auto Add/Delete Automatikus hozzáadás/törlés
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. A nyomtatási beállításokban ne jelöld be a tükrözést is: a két tükrözés kioltja egymást.
+ Print Settings… Nyomtatási beállítások…
+ Remember to turn off the printer's own colour management in Print Settings… Ne felejtsd el kikapcsolni a nyomtató saját színkezelését a nyomtatási beállításokban…
+ Sent to {printer} Elküldve ide: {printer}
+ set in Print Settings… a nyomtatási beállításokban adható meg…
+ ICO is limited to 256 × 256 pixels Az ICO legfeljebb 256 × 256 képpont lehet
+
+ # Channel Options and New Spot Channel (#3761)
+ Channel Color Csatorna színe
+ Color Indicates: A szín jelzése:
+ Ink Characteristics Festék jellemzői
+ Solidity: Fedőképesség:
+ Redrawing Újrarajzolás
diff --cc crates/ui-egui/src/i18n/id.tsv
index 294dcc00e,dcc02ec18..6924c4560
--- a/crates/ui-egui/src/i18n/id.tsv
+++ b/crates/ui-egui/src/i18n/id.tsv
@@@ -3105,10 -3125,4 +3125,11 @@@ curves Smooth Haluska
Step {step} is waiting for its dialog Langkah {step} menunggu dialognya
@plural {n} action|{n} actions {n} tindakan
Auto Add/Delete Tambah/Hapus Otomatis
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Jangan aktifkan juga Gambar Cermin di Pengaturan Cetak: kedua pembalikan saling meniadakan.
+ Print Settings… Pengaturan Cetak…
+ Remember to turn off the printer's own colour management in Print Settings… Ingat untuk menonaktifkan pengelolaan warna milik printer di Pengaturan Cetak…
+ Sent to {printer} Dikirim ke {printer}
+ set in Print Settings… diatur di Pengaturan Cetak…
+ ICO is limited to 256 × 256 pixels ICO dibatasi hingga 256 × 256 piksel
diff --cc crates/ui-egui/src/i18n/it.tsv
index 52738f4f4,c077d90aa..2d42c550c
--- a/crates/ui-egui/src/i18n/it.tsv
+++ b/crates/ui-egui/src/i18n/it.tsv
@@@ -4081,10 -4099,4 +4099,11 @@@ navigator Zoom Zoo
Step {step} is waiting for its dialog Il passaggio {step} attende la sua finestra di dialogo
@plural {n} action|{n} actions {n} azione|{n} azioni
Auto Add/Delete Aggiungi/elimina automaticamente
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Non attivare anche Immagine speculare nelle impostazioni di stampa: le due inversioni si annullano.
+ Print Settings… Impostazioni di stampa…
+ Remember to turn off the printer's own colour management in Print Settings… Ricorda di disattivare la gestione del colore della stampante nelle impostazioni di stampa…
+ Sent to {printer} Inviato a {printer}
+ set in Print Settings… impostato nelle impostazioni di stampa…
+ ICO is limited to 256 × 256 pixels ICO è limitato a 256 × 256 pixel
diff --cc crates/ui-egui/src/i18n/ko.tsv
index 0136a5ece,eefa162a6..7de9f61f1
--- a/crates/ui-egui/src/i18n/ko.tsv
+++ b/crates/ui-egui/src/i18n/ko.tsv
@@@ -3287,10 -3311,4 +3311,11 @@@ curves Smooth 매끄럽�
Step {step} is waiting for its dialog {step}단계가 대화 상자를 기다리고 있습니다
@plural {n} action|{n} actions 액션 {n}개
Auto Add/Delete 자동 추가/삭제
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. 인쇄 설정에서도 이미지 반전을 켜지 마세요. 두 번 반전하면 원래대로 돌아갑니다.
+ Print Settings… 인쇄 설정…
+ Remember to turn off the printer's own colour management in Print Settings… 인쇄 설정에서 프린터 자체의 색상 관리를 끄세요…
+ Sent to {printer} {printer}(으)로 전송됨
+ set in Print Settings… 인쇄 설정에서 지정…
+ ICO is limited to 256 × 256 pixels ICO는 256 × 256픽셀로 제한됩니다
diff --cc crates/ui-egui/src/i18n/nl.tsv
index 410f2405b,68e98a6fe..4ed7d8a74
--- a/crates/ui-egui/src/i18n/nl.tsv
+++ b/crates/ui-egui/src/i18n/nl.tsv
@@@ -3876,10 -3896,4 +3896,11 @@@ curves Smooth Vloeiend make
Step {step} is waiting for its dialog Stap {step} wacht op zijn dialoogvenster
@plural {n} action|{n} actions {n} handeling|{n} handelingen
Auto Add/Delete Automatisch toevoegen/verwijderen
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Schakel niet ook Spiegelbeeld in bij de afdrukinstellingen: de twee spiegelingen heffen elkaar op.
+ Print Settings… Afdrukinstellingen…
+ Remember to turn off the printer's own colour management in Print Settings… Vergeet niet het eigen kleurbeheer van de printer uit te schakelen in de afdrukinstellingen…
+ Sent to {printer} Verzonden naar {printer}
+ set in Print Settings… instellen in de afdrukinstellingen…
+ ICO is limited to 256 × 256 pixels ICO is beperkt tot 256 × 256 pixels
diff --cc crates/ui-egui/src/i18n/pl.tsv
index cbbb3ea56,2d7618379..a27cb4af8
--- a/crates/ui-egui/src/i18n/pl.tsv
+++ b/crates/ui-egui/src/i18n/pl.tsv
@@@ -3714,10 -3734,4 +3734,11 @@@ curves Smooth Wygład�
Step {step} is waiting for its dialog Krok {step} czeka na swoje okno dialogowe
@plural {n} action|{n} actions {n} operacja|{n} operacje|{n} operacji
Auto Add/Delete Automatyczne dodawanie/usuwanie
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Nie włączaj też odbicia lustrzanego w ustawieniach druku: oba odbicia wzajemnie się znoszą.
+ Print Settings… Ustawienia druku…
+ Remember to turn off the printer's own colour management in Print Settings… Pamiętaj o wyłączeniu zarządzania kolorami drukarki w ustawieniach druku…
+ Sent to {printer} Wysłano do {printer}
+ set in Print Settings… ustawiane w ustawieniach druku…
+ ICO is limited to 256 × 256 pixels ICO jest ograniczony do 256 × 256 pikseli
diff --cc crates/ui-egui/src/i18n/pt-br.tsv
index 1a2cdce97,0d48ba9b4..0a6449770
--- a/crates/ui-egui/src/i18n/pt-br.tsv
+++ b/crates/ui-egui/src/i18n/pt-br.tsv
@@@ -3906,10 -3926,4 +3926,11 @@@ layerLabel No Color Sem co
Step {step} is waiting for its dialog A etapa {step} está aguardando sua caixa de diálogo
@plural {n} action|{n} actions {n} ação|{n} ações
Auto Add/Delete Adicionar/excluir automaticamente
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Não ative também a imagem espelhada nas configurações de impressão: as duas inversões se anulam.
+ Print Settings… Configurações de impressão…
+ Remember to turn off the printer's own colour management in Print Settings… Lembre-se de desativar o gerenciamento de cores da própria impressora nas configurações de impressão…
+ Sent to {printer} Enviado para {printer}
+ set in Print Settings… definido nas configurações de impressão…
+ ICO is limited to 256 × 256 pixels ICO é limitado a 256 × 256 pixels
diff --cc crates/ui-egui/src/i18n/ru.tsv
index 1e562807d,11a3cb6b2..2dbbf4003
--- a/crates/ui-egui/src/i18n/ru.tsv
+++ b/crates/ui-egui/src/i18n/ru.tsv
@@@ -3062,10 -3082,24 +3082,31 @@@ curves Smooth Сгладит�
Step {step} is waiting for its dialog Шаг {step} ожидает своего диалога
@plural {n} action|{n} actions {n} операция|{n} операции|{n} операций
Auto Add/Delete Автодобавление/удаление
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Не включайте также зеркальное отражение в параметрах печати: два отражения отменяют друг друга.
+ Print Settings… Параметры печати…
+ Remember to turn off the printer's own colour management in Print Settings… Не забудьте отключить управление цветом самого принтера в параметрах печати…
+ Sent to {printer} Отправлено на {printer}
+ set in Print Settings… задаётся в параметрах печати…
+ ICO is limited to 256 × 256 pixels ICO ограничен размером 256 × 256 пикселей
+
+ # Dynamic selection context menu and appearance favorites
+ Select Inverse Инвертировать выделение
+ Pro (Light) Pro (светлая)
+ Pro (Light Gray) Pro (светло-серая)
+
+ # Measurement Log column headers (analysis_cmds::COLUMNS)
+ Label Метка
+ Date and Time Дата и время
+ Scale Units Единицы масштаба
+ Scale Factor Коэффициент масштаба
+ Area Площадь
+ Perimeter Периметр
+ Circularity Круглость
+ Gray Value (Minimum) Уровень серого (минимум)
+ Gray Value (Maximum) Уровень серого (максимум)
+ Gray Value (Mean) Уровень серого (среднее)
+ Gray Value (Median) Уровень серого (медиана)
+ Integrated Density Интегральная плотность
+ Length Длина
diff --cc crates/ui-egui/src/i18n/sr.tsv
index 66fd394b2,f47fe2016..4a5f7459d
--- a/crates/ui-egui/src/i18n/sr.tsv
+++ b/crates/ui-egui/src/i18n/sr.tsv
@@@ -4195,8 -4203,11 +4209,13 @@@ shape Appearance Izgle
# Custom print paper (#3820)
Paper Width Širina papira
Paper Height Visina papira
+
- # Layer mask selection commands
- Add Mask to Selection Dodaj masku izboru
- Subtract Mask from Selection Oduzmi masku od izbora
- Intersect Mask with Selection Presek maske i izbora
++# ICO dimensions
+ ICO is limited to 256 × 256 pixels ICO je ograničen na 256 × 256 piksela
+
+ # Channel Options and New Spot Channel (#3761)
+ Channel Color Boja kanala
+ Color Indicates: Boja označava:
+ Ink Characteristics Karakteristike mastila
+ Solidity: Punoća:
+ Redrawing Ponovno iscrtavanje
diff --cc crates/ui-egui/src/i18n/tr.tsv
index 2804b212b,948c96746..01c37a18b
--- a/crates/ui-egui/src/i18n/tr.tsv
+++ b/crates/ui-egui/src/i18n/tr.tsv
@@@ -3849,10 -3861,11 +3861,18 @@@ cameraData Lens Len
Loaded Camera Raw settings from {file} Camera Raw ayarları {file} dosyasından yüklendi
Loaded Camera Raw settings from {file} ({n} not supported) Camera Raw ayarları {file} dosyasından yüklendi ({n} desteklenmiyor)
Auto Add/Delete Otomatik Ekle/Sil
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Yazdırma Ayarlarında ayrıca Ayna Görüntüsünü açmayın: iki yansıtma birbirini iptal eder.
+ Print Settings… Yazdırma Ayarları…
+ Remember to turn off the printer's own colour management in Print Settings… Yazdırma Ayarlarında yazıcının kendi renk yönetimini kapatmayı unutmayın…
+ Sent to {printer} {printer} yazıcısına gönderildi
+ set in Print Settings… Yazdırma Ayarlarında belirlenir…
+ ICO is limited to 256 × 256 pixels ICO 256 × 256 piksel ile sınırlıdır
+
+ # Channel Options and New Spot Channel (#3761)
+ Channel Color Kanal Rengi
+ Color Indicates: Rengin Gösterdiği:
+ Ink Characteristics Mürekkep Özellikleri
+ Solidity: Doluluk:
+ Redrawing Yeniden çiziliyor
diff --cc crates/ui-egui/src/i18n/uk.tsv
index 34fdcf593,2a72fdaf1..79ebc8df3
--- a/crates/ui-egui/src/i18n/uk.tsv
+++ b/crates/ui-egui/src/i18n/uk.tsv
@@@ -3815,10 -3835,4 +3835,11 @@@ curves Smooth Згладит�
Step {step} is waiting for its dialog Крок {step} очікує на свій діалог
@plural {n} action|{n} actions {n} операція|{n} операції|{n} операцій
Auto Add/Delete Автододавання/видалення
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Не вмикайте також дзеркальне відображення в параметрах друку: два відображення скасовують одне одного.
+ Print Settings… Параметри друку…
+ Remember to turn off the printer's own colour management in Print Settings… Не забудьте вимкнути керування кольором самого принтера в параметрах друку…
+ Sent to {printer} Надіслано на {printer}
+ set in Print Settings… задається в параметрах друку…
+ ICO is limited to 256 × 256 pixels ICO обмежено розміром 256 × 256 пікселів
diff --cc crates/ui-egui/src/i18n/vi.tsv
index 295469301,88b855a70..1fea5e6b3
--- a/crates/ui-egui/src/i18n/vi.tsv
+++ b/crates/ui-egui/src/i18n/vi.tsv
@@@ -3602,10 -3623,4 +3623,11 @@@ curves Smooth Làm mượ
Import .GRD Nhập .GRD
Choose a gradient file (.grd). Chọn tệp chuyển sắc (.grd).
Auto Add/Delete Tự động thêm/xóa
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. Đừng bật thêm Ảnh phản chiếu trong thiết lập in: hai lần lật sẽ triệt tiêu nhau.
+ Print Settings… Thiết lập in…
+ Remember to turn off the printer's own colour management in Print Settings… Nhớ tắt quản lý màu riêng của máy in trong thiết lập in…
+ Sent to {printer} Đã gửi tới {printer}
+ set in Print Settings… đặt trong thiết lập in…
+ ICO is limited to 256 × 256 pixels ICO giới hạn ở 256 × 256 pixel
diff --cc crates/ui-egui/src/i18n/zh-hans.tsv
index dfe487465,284277112..375b61c40
--- a/crates/ui-egui/src/i18n/zh-hans.tsv
+++ b/crates/ui-egui/src/i18n/zh-hans.tsv
@@@ -2722,10 -2746,4 +2746,11 @@@ curves Smooth 平�
Step {step} is waiting for its dialog 步骤 {step} 正在等待其对话框
@plural {n} action|{n} actions {n} 个动作
Auto Add/Delete 自动添加/删除
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. 不要同时勾选打印设置中的镜像:两次翻转会相互抵消。
+ Print Settings… 打印设置…
+ Remember to turn off the printer's own colour management in Print Settings… 请记得在打印设置中关闭打印机自身的色彩管理…
+ Sent to {printer} 已发送到 {printer}
+ set in Print Settings… 在打印设置中设置…
+ ICO is limited to 256 × 256 pixels ICO 最大为 256 × 256 像素
diff --cc crates/ui-egui/src/i18n/zh-hant.tsv
index 9564713bc,d02e06646..de931038d
--- a/crates/ui-egui/src/i18n/zh-hant.tsv
+++ b/crates/ui-egui/src/i18n/zh-hant.tsv
@@@ -2707,10 -2731,4 +2731,11 @@@ curves Smooth 平�
Step {step} is waiting for its dialog 步驟 {step} 正在等待其對話框
@plural {n} action|{n} actions {n} 個動作
Auto Add/Delete 自動增加/刪除
+
+# Native Windows printing qualification
+ Don't also tick Mirror Image in Print Settings…: the two flips cancel out. 請勿同時勾選列印設定中的鏡像:兩次翻轉會互相抵消。
+ Print Settings… 列印設定…
+ Remember to turn off the printer's own colour management in Print Settings… 請記得在列印設定中關閉印表機本身的色彩管理…
+ Sent to {printer} 已傳送至 {printer}
+ set in Print Settings… 在列印設定中設定…
+ ICO is limited to 256 × 256 pixels ICO 最大為 256 × 256 像素