mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
Merge pull request #9715 from dotCooCoo/fix/placement-preserve-translations
Translate Preserve choices in Placement Options
This commit is contained in:
1 file changed
+1
-1
@@ -34,7 +34,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),
|
||||
|
||||
Reference in new issue
Block a user