forked from 1b-agent/opencadstudio-upstream
feat(blocks): implement WBLOCK dialog and unify dialog buttons and radio builders
This commit is contained in:
1 parent
dddf60d79e
commit
1a6279e841
33 files changed
+1308
-45
No files matched your search
@@ -3,6 +3,17 @@
|
||||
|
||||
pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static str)> {
|
||||
match source {
|
||||
"Entire drawing" => Some(("common", "entire-drawing")),
|
||||
"Delete from drawing" => Some(("common", "delete-from-drawing")),
|
||||
"Destination" => Some(("common", "destination")),
|
||||
"File name and path:" => Some(("common", "file-name-and-path")),
|
||||
"Insert units:" => Some(("common", "insert-units-label")),
|
||||
"Please select or enter a block name." => Some(("common", "wblock-err-no-block-name")),
|
||||
"Block \"{}\" does not exist in drawing." => Some(("common", "wblock-err-block-not-found")),
|
||||
"Please specify a file name and path." => Some(("common", "wblock-err-no-path")),
|
||||
"Cannot write to the current drawing file." => Some(("common", "wblock-err-current-drawing")),
|
||||
"WBLOCK writes objects, a block, or the entire drawing to a new drawing file." => Some(("common", "wblock-help-info")),
|
||||
"WBLOCK Specify insertion base point:" => Some(("insert", "wblock-specify-insertion-base-point")),
|
||||
"Auto Constrain" => Some(("common", "auto-constrain")),
|
||||
"Delete Constraints" => Some(("common", "delete-constraints")),
|
||||
"Dimensional" => Some(("common", "dimensional")),
|
||||
|
||||
Reference in new issue
Block a user