forked from 1b-agent/opencadstudio-upstream
Import PDF dialog shows the PDF scale
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c9426a5d6d
commit
b7a897b414
23 files changed
+26
No files matched your search
@@ -2910,6 +2910,7 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
|
||||
"Unable to save: file is in use." => Some(("command-line", "unable-to-save-file-is-in-use")),
|
||||
"Unable to verify the server certificate" => Some(("plugins", "unable-to-verify-the-server-certificate")),
|
||||
"Unavailable" => Some(("plugins", "unavailable")),
|
||||
"PDF scale: {scale}:1" => Some(("insert", "pdfui-pdf-scale")),
|
||||
"Applied" => Some(("properties", "applied")),
|
||||
"No PDF underlays found." => Some(("insert", "pdfui-no-pdf-underlays")),
|
||||
"Specify insertion point:" => Some(("insert", "pdfui-specify-insertion-point")),
|
||||
|
||||
@@ -779,6 +779,10 @@ pub fn view_import_file<'a>(
|
||||
text(crate::tf!("Page size: {size}", size = state.page_size.clone()))
|
||||
.size(11)
|
||||
.style(muted_style),
|
||||
Space::new().width(Fill),
|
||||
text(crate::tf!("PDF scale: {scale}:1", scale = state.scale.trim()))
|
||||
.size(11)
|
||||
.style(muted_style),
|
||||
],
|
||||
]
|
||||
.spacing(6),
|
||||
|
||||
Reference in new issue
Block a user