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...
This commit is contained in:
Humdinger 2017-01-06 08:11:37 +01:00
parent 02b11c1982
commit 09ee925c56
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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