Translate Placement Options Preserve choices

This commit is contained in:
dotCooCoo committed 2026-11-26 21:07:06 -08:00
1 parent 5958a5e95c
commit a2bea0e7ab
1 file changed
+1 -1
@@ -33,7 +33,7 @@ const CENTRE: usize = 4;
const FREE: [&str; 4] = ["transforms", "fileDimensions", "fit", "fill"];
fn params() -> Vec<Param> {
let options = PRESERVE.iter().map(|(value, label)| ((*value).to_owned(), Label::from(*label))).collect();
let options = PRESERVE.iter().map(|(value, label)| ((*value).to_owned(), Label::from(tl!(label).to_owned()))).collect();
vec![
Param::new("preserve", tl!("Preserve:"), ParamKind::choice(options, Some("transforms".into()))),
reference_param("align", tl!("Alignment:")).enabled_when_in("preserve", FREE),