From e79027f728fa0a59eaf4d6195c2b11ac78d4ca23 Mon Sep 17 00:00:00 2001 From: Andrew Frahn Date: Tue, 13 Oct 2026 02:21:55 +1100 Subject: [PATCH] fix(i18n): translate Compare and Reference view captions Refs #911 Co-Authored-By: Claude Opus 5.5 (1M context) --- crates/ui-egui/src/panels/compare.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/panels/compare.rs b/crates/ui-egui/src/panels/compare.rs index 4d5e7453b..61c89b0d3 100644 --- a/crates/ui-egui/src/panels/compare.rs +++ b/crates/ui-egui/src/panels/compare.rs @@ -265,7 +265,7 @@ fn photo_tile(app: &mut LightcraftApp, ui: &mut egui::Ui, id: PhotoId, slot: Slo let pt = ui.painter(); let mut x = cap.left() + 4.0; if !label.is_empty() { - let g = pt.layout_no_wrap(label.to_string(), t.semibold(12.0), if active { t.text } else { t.text_label }); + let g = pt.layout_no_wrap(crate::i18n::tr(label).to_string(), t.semibold(12.0), if active { t.text } else { t.text_label }); pt.galley(pos2(x, cap.center().y - g.size().y / 2.0), g.clone(), t.text); x += g.size().x + 10.0; }