From 09ee925c56eb0772d6e8ca202e5cca39bb95bbbd Mon Sep 17 00:00:00 2001 From: Humdinger Date: Fri, 6 Jan 2017 08:11:37 +0100 Subject: [PATCH] Small change to Printer prefs strings Talked with Vidrep, and he's right: Apps already have a "Page setup" menu item, opening a window titled "Page setup". Having a picture button in there that's labeled "Page setup", too, isn't cool. So, let's name that and its opening window "Paper setup", even if it's not always 100% accurate. The PDFWriter e.g. has a compression and version setting in there... --- src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp | 4 ++-- src/servers/print/ConfigWindow.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp b/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp index 4a8b3f799d..ec3b8673b4 100644 --- a/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp +++ b/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp @@ -93,7 +93,7 @@ static const char *pdf_compatibility[] = { "1.3", "1.4", NULL }; PageSetupWindow::PageSetupWindow(BMessage *msg, const char *printerName) - : HWindow(BRect(0, 0, 200, 100), "Page setup", B_TITLED_WINDOW_LOOK, + : HWindow(BRect(0, 0, 200, 100), "Paper setup", B_TITLED_WINDOW_LOOK, B_MODAL_APP_WINDOW_FEEL, B_NOT_RESIZABLE | B_NOT_MINIMIZABLE | B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS | B_CLOSE_ON_ESCAPE), @@ -105,7 +105,7 @@ PageSetupWindow::PageSetupWindow(BMessage *msg, const char *printerName) fExitSem = create_sem(0, "PageSetup"); if (printerName) - SetTitle(BString(printerName).Append(" page setup").String()); + SetTitle(BString(printerName).Append(" paper setup").String()); if (fSetupMsg->FindInt32("orientation", &fCurrentOrientation) != B_OK) fCurrentOrientation = PrinterDriver::PORTRAIT_ORIENTATION; diff --git a/src/servers/print/ConfigWindow.cpp b/src/servers/print/ConfigWindow.cpp index 3d8eb75ac6..658304ad03 100644 --- a/src/servers/print/ConfigWindow.cpp +++ b/src/servers/print/ConfigWindow.cpp @@ -160,12 +160,12 @@ ConfigWindow::ConfigWindow(config_setup_kind kind, Printer* defaultPrinter, fPrinters = new BMenuField(B_TRANSLATE("Printer:"), menu); // page format button - fPageSetup = AddPictureButton(panel, "Page setup", + fPageSetup = AddPictureButton(panel, "Paper setup", "PAGE_SETUP", MSG_PAGE_SETUP); // add description to button BStringView *pageFormatTitle = new BStringView("paperSetupTitle", - B_TRANSLATE("Page setup:")); + B_TRANSLATE("Paper setup:")); fPageFormatText = new BStringView("pageSetupText", ""); // page selection button