[haiku-commits] haiku: hrev50827 - in src: add-ons/print/drivers/pdf/source servers/print

  • From: humdingerb@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 6 Jan 2017 08:54:04 +0100 (CET)

hrev50827 adds 1 changeset to branch 'master'
old head: 02b11c1982427e9c8593e11a36319aca30fe1f34
new head: 09ee925c56eb0772d6e8ca202e5cca39bb95bbbd
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=09ee925c56eb+%5E02b11c198242

----------------------------------------------------------------------------

09ee925c56eb: 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...

                                        [ Humdinger <humdingerb@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev50827
Commit:      09ee925c56eb0772d6e8ca202e5cca39bb95bbbd
URL:         http://cgit.haiku-os.org/haiku/commit/?id=09ee925c56eb
Author:      Humdinger <humdingerb@xxxxxxxxx>
Date:        Fri Jan  6 07:11:37 2017 UTC

----------------------------------------------------------------------------

2 files changed, 4 insertions(+), 4 deletions(-)
src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp | 4 ++--
src/servers/print/ConfigWindow.cpp                       | 4 ++--

----------------------------------------------------------------------------

diff --git a/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp 
b/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp
index 4a8b3f7..ec3b867 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 3d8eb75..658304a 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


Other related posts:

  • » [haiku-commits] haiku: hrev50827 - in src: add-ons/print/drivers/pdf/source servers/print - humdingerb