Merge pull request #1358 from HakanSeven12/plot/b4-windows-printer-routing

fix(print): send Windows plots to the chosen printer, name the default, report failures

# Conflicts:
#	locales/ar-SA/opencadstudio.ftl
#	locales/bg-BG/opencadstudio.ftl
#	locales/cs-CZ/opencadstudio.ftl
#	locales/de-DE/opencadstudio.ftl
#	locales/el-GR/opencadstudio.ftl
#	locales/en-US/opencadstudio.ftl
#	locales/es-ES/opencadstudio.ftl
#	locales/fi-FI/opencadstudio.ftl
#	locales/fr-FR/opencadstudio.ftl
#	locales/hi-IN/opencadstudio.ftl
#	locales/hu-HU/opencadstudio.ftl
#	locales/it-IT/opencadstudio.ftl
#	locales/ja-JP/opencadstudio.ftl
#	locales/ko-KR/opencadstudio.ftl
#	locales/nl-NL/opencadstudio.ftl
#	locales/pl-PL/opencadstudio.ftl
#	locales/pt-BR/opencadstudio.ftl
#	locales/ru-RU/opencadstudio.ftl
#	locales/tr-TR/opencadstudio.ftl
#	locales/zh-CN/opencadstudio.ftl
#	locales/zh-TW/opencadstudio.ftl
#	src/locale_catalog.rs
This commit is contained in:
Hakan Seven committed 2026-09-19 23:00:18 +03:00
commit 377f551b48
29 files changed
+592 -112

No files matched your search

+9
View File
@@ -3159,6 +3159,15 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"Save changes to layout" => Some(("plot", "save-changes-to-layout")),
"{printer} does not support {sheet}; switched to its default sheet {default} (PAPERUPDATE = 1)." => Some(("plot", "printer-does-not-support-sheet-switched-to-its-default-sheet-default-paperupdate-1")),
"{printer} does not support {sheet}; the sheet is kept (PAPERUPDATE = 0)." => Some(("plot", "printer-does-not-support-sheet-the-sheet-is-kept-paperupdate-0")),
"Default printer: {name}" => Some(("plot", "default-printer-name")),
"Default printer: none reported by the system" => Some(("plot", "default-printer-none-reported-by-the-system")),
"Printers: none listed by the system" => Some(("plot", "printers-none-listed-by-the-system")),
"Printers ({count}):" => Some(("plot", "printers-count")),
"Could not list printers: {error}" => Some(("plot", "could-not-list-printers-error")),
"Plots go through the PDF application: {command}" => Some(("plot", "plots-go-through-the-pdf-application-command")),
"Plots go straight to the printer (no PDF application registers a print verb)." => Some(("plot", "plots-go-straight-to-the-printer-no-pdf-application-registers-a-print-verb")),
"via the PDF application" => Some(("plot", "via-the-pdf-application")),
"direct print" => Some(("plot", "direct-print")),
"X = %{x}, Y = %{y}, Z = %{z}" => Some(("inquiry", "x-x-y-y-z-z")),
"X Scale" => Some(("properties", "x-scale")),
"X-Ray" => Some(("draw", "x-ray")),