[haiku-commits] r35025 - in haiku/trunk/src/add-ons/print/drivers: canon_lips/lips3 canon_lips/lips4 pcl5 pcl6 pdf/source ...

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 12 Jan 2010 21:03:57 +0100 (CET)

Author: stippi
Date: 2010-01-12 21:03:56 +0100 (Tue, 12 Jan 2010)
New Revision: 35025
Changeset: http://dev.haiku-os.org/changeset/35025/haiku
Ticket: http://dev.haiku-os.org/ticket/5169

Modified:
   haiku/trunk/src/add-ons/print/drivers/canon_lips/lips3/Lips3Entry.cpp
   haiku/trunk/src/add-ons/print/drivers/canon_lips/lips4/Lips4Entry.cpp
   haiku/trunk/src/add-ons/print/drivers/pcl5/PCL5Entry.cpp
   haiku/trunk/src/add-ons/print/drivers/pcl6/PCL6Entry.cpp
   haiku/trunk/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp
   haiku/trunk/src/add-ons/print/drivers/postscript/PSEntry.cpp
   haiku/trunk/src/add-ons/print/drivers/preview/PageSetupWindow.cpp
Log:
Applied patch by Humdinger which converts printer drivers to use sentence-case.
Thanks a lot! (Part of ticket #5169)


Modified: haiku/trunk/src/add-ons/print/drivers/canon_lips/lips3/Lips3Entry.cpp
===================================================================
--- haiku/trunk/src/add-ons/print/drivers/canon_lips/lips3/Lips3Entry.cpp       
2010-01-12 01:24:40 UTC (rev 35024)
+++ haiku/trunk/src/add-ons/print/drivers/canon_lips/lips3/Lips3Entry.cpp       
2010-01-12 20:03:56 UTC (rev 35025)
@@ -19,7 +19,7 @@
        
        const char* GetDriverName() const 
        { 
-               return "Canon LIPS3 Compatible"; 
+               return "Canon LIPS3 compatible"; 
        }
        
        const char* GetVersion() const    

Modified: haiku/trunk/src/add-ons/print/drivers/canon_lips/lips4/Lips4Entry.cpp
===================================================================
--- haiku/trunk/src/add-ons/print/drivers/canon_lips/lips4/Lips4Entry.cpp       
2010-01-12 01:24:40 UTC (rev 35024)
+++ haiku/trunk/src/add-ons/print/drivers/canon_lips/lips4/Lips4Entry.cpp       
2010-01-12 20:03:56 UTC (rev 35025)
@@ -19,7 +19,7 @@
        
        const char* GetDriverName() const 
        { 
-               return "Canon LIPS4 Compatible"; 
+               return "Canon LIPS4 compatible"; 
        }
        
        const char* GetVersion() const    

Modified: haiku/trunk/src/add-ons/print/drivers/pcl5/PCL5Entry.cpp
===================================================================
--- haiku/trunk/src/add-ons/print/drivers/pcl5/PCL5Entry.cpp    2010-01-12 
01:24:40 UTC (rev 35024)
+++ haiku/trunk/src/add-ons/print/drivers/pcl5/PCL5Entry.cpp    2010-01-12 
20:03:56 UTC (rev 35025)
@@ -20,7 +20,7 @@
        
        const char* GetDriverName() const 
        { 
-               return "PCL5 Compatible"; 
+               return "PCL5 compatible"; 
        }
        
        const char* GetVersion() const    

Modified: haiku/trunk/src/add-ons/print/drivers/pcl6/PCL6Entry.cpp
===================================================================
--- haiku/trunk/src/add-ons/print/drivers/pcl6/PCL6Entry.cpp    2010-01-12 
01:24:40 UTC (rev 35024)
+++ haiku/trunk/src/add-ons/print/drivers/pcl6/PCL6Entry.cpp    2010-01-12 
20:03:56 UTC (rev 35025)
@@ -20,7 +20,7 @@
        
        const char* GetDriverName() const 
        { 
-               return "PCL6 Compatible"; 
+               return "PCL6 compatible"; 
        }
        
        const char* GetVersion() const    

Modified: haiku/trunk/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp
===================================================================
--- haiku/trunk/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp        
2010-01-12 01:24:40 UTC (rev 35024)
+++ haiku/trunk/src/add-ons/print/drivers/pdf/source/PageSetupWindow.cpp        
2010-01-12 20:03:56 UTC (rev 35025)
@@ -92,7 +92,7 @@
 
 
 PageSetupWindow::PageSetupWindow(BMessage *msg, const char *printerName)
-       : HWindow(BRect(0,0,400,220), "Page Setup", B_TITLED_WINDOW_LOOK,
+       : HWindow(BRect(0,0,400,220), "Page setup", B_TITLED_WINDOW_LOOK,
                B_MODAL_APP_WINDOW_FEEL, B_NOT_RESIZABLE | B_NOT_MINIMIZABLE |
                B_NOT_ZOOMABLE),
         fResult(B_ERROR),
@@ -103,7 +103,7 @@
        fExitSem        = create_sem(0, "PageSetup");
 
        if (printerName)
-               SetTitle(BString(printerName).Append(" Page Setup").String());
+               SetTitle(BString(printerName).Append(" Page setup").String());
 
        if (fSetupMsg->FindInt32("orientation", &fCurrentOrientation) != B_OK)
                fCurrentOrientation = PrinterDriver::PORTRAIT_ORIENTATION;
@@ -165,12 +165,12 @@
        panel->AddChild(fMarginView);
        fMarginView->SetResizingMode(B_FOLLOW_NONE);
 
-       BPopUpMenu* m = new BPopUpMenu("Page Size");
+       BPopUpMenu* m = new BPopUpMenu("Page size");
        m->SetRadioMode(true);
 
        bounds.OffsetBy(bounds.Width() + 10.0, 5.0);
-       float divider = be_plain_font->StringWidth("PDF Compatibility: ");
-       fPageSizeMenu = new BMenuField(bounds, "page_size", "Page Size:", m);
+       float divider = be_plain_font->StringWidth("PDF compatibility: ");
+       fPageSizeMenu = new BMenuField(bounds, "page_size", "Page size:", m);
        panel->AddChild(fPageSizeMenu);
        fPageSizeMenu->ResizeToPreferred();
        fPageSizeMenu->SetDivider(divider);
@@ -207,12 +207,12 @@
                        item->SetMarked(true);
        }
 
-       m = new BPopUpMenu("PDF Compatibility");
+       m = new BPopUpMenu("PDF compatibility");
        m->SetRadioMode(true);
 
        bounds.OffsetBy(0.0, fOrientationMenu->Bounds().Height() + 10.0);
        fPDFCompatibilityMenu = new BMenuField(bounds, "pdf_compatibility",
-               "PDF Compatibility:", m);
+               "PDF compatibility:", m);
        panel->AddChild(fPDFCompatibilityMenu);
        fPDFCompatibilityMenu->ResizeToPreferred();
        fPDFCompatibilityMenu->SetDivider(divider);

Modified: haiku/trunk/src/add-ons/print/drivers/postscript/PSEntry.cpp
===================================================================
--- haiku/trunk/src/add-ons/print/drivers/postscript/PSEntry.cpp        
2010-01-12 01:24:40 UTC (rev 35024)
+++ haiku/trunk/src/add-ons/print/drivers/postscript/PSEntry.cpp        
2010-01-12 20:03:56 UTC (rev 35025)
@@ -20,7 +20,7 @@
        
        const char* GetDriverName() const 
        { 
-               return "PS Compatible"; 
+               return "PS compatible"; 
        }
        
        const char* GetVersion() const    

Modified: haiku/trunk/src/add-ons/print/drivers/preview/PageSetupWindow.cpp
===================================================================
--- haiku/trunk/src/add-ons/print/drivers/preview/PageSetupWindow.cpp   
2010-01-12 01:24:40 UTC (rev 35024)
+++ haiku/trunk/src/add-ons/print/drivers/preview/PageSetupWindow.cpp   
2010-01-12 20:03:56 UTC (rev 35025)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2008, Haiku. All rights reserved.
+ * Copyright 2003-2009, Haiku, Inc. All rights reserved.
  * Distributed under the terms of the MIT License.
  *
  * Authors:
@@ -90,14 +90,14 @@
 
 
 PageSetupWindow::PageSetupWindow(BMessage *msg, const char *printerName)
-       :       BlockingWindow(BRect(0,0,400,220), "Page Setup", 
B_TITLED_WINDOW_LOOK,
+       :       BlockingWindow(BRect(0,0,400,220), "Page setup", 
B_TITLED_WINDOW_LOOK,
                        B_MODAL_APP_WINDOW_FEEL, B_NOT_RESIZABLE | 
B_NOT_MINIMIZABLE |
                        B_NOT_ZOOMABLE),
        fSetupMsg(msg),
        fPrinterDirName(printerName)
 {
        if (printerName)
-               SetTitle(BString(printerName).Append(" Page Setup").String());
+               SetTitle(BString(printerName).Append(" Page setup").String());
 
        // load orientation
        if (fSetupMsg->FindInt32("orientation", &fCurrentOrientation) != B_OK)
@@ -147,12 +147,12 @@
        panel->AddChild(fMarginView);
        fMarginView->SetResizingMode(B_FOLLOW_NONE);
 
-       BPopUpMenu* m = new BPopUpMenu("Page Size");
+       BPopUpMenu* m = new BPopUpMenu("Page size");
        m->SetRadioMode(true);
 
        bounds.OffsetBy(bounds.Width() + 10.0, 5.0);
        float divider = be_plain_font->StringWidth("Orientation: ");
-       fPageSizeMenu = new BMenuField(bounds, "page_size", "Page Size:", m);
+       fPageSizeMenu = new BMenuField(bounds, "page_size", "Page size:", m);
        panel->AddChild(fPageSizeMenu);
        fPageSizeMenu->ResizeToPreferred();
        fPageSizeMenu->SetDivider(divider);


Other related posts: