i18n: the aspect-ratio lock in Composition Settings asks the catalog

The row has been in every catalog; `format!` built the label in English instead.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@deepseek.com>
This commit is contained in:
zitann2020andDeepSeek V4.1 Flash committed 2026-10-17 00:18:04 +09:00
1 parent 549e9d8251
commit 48ad0d1c56
1 file changed
+1 -1
+1 -1
View File
@@ -320,7 +320,7 @@ pub fn show(
let (ow, oh) = (d.width, d.height);
let r = ui.add(crate::widgets::drag_value(egui::DragValue::new(&mut d.width).range(4..=30000).suffix(" px")));
auto.add("dialog.comp.width", r.rect, "Width");
let lbl = format!("Lock Aspect Ratio to {}", aspect_label(ow as f64, oh as f64));
let lbl = tr_args("Lock Aspect Ratio to {}", &[&(aspect_label(ow as f64, oh as f64))]);
let r = ui.checkbox(&mut d.lock_aspect, lbl);
auto.add("dialog.comp.lockAspect", r.rect, "Lock Aspect Ratio");
if d.lock_aspect && ow != d.width && ow > 0 {