Applied patch by Humdinger which converts printer drivers to use sentence-case.
Thanks a lot! (Part of ticket #5169) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35025 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3b8c056da0
commit
26556405c2
|
@ -19,7 +19,7 @@ public:
|
|||
|
||||
const char* GetDriverName() const
|
||||
{
|
||||
return "Canon LIPS3 Compatible";
|
||||
return "Canon LIPS3 compatible";
|
||||
}
|
||||
|
||||
const char* GetVersion() const
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
|
||||
const char* GetDriverName() const
|
||||
{
|
||||
return "Canon LIPS4 Compatible";
|
||||
return "Canon LIPS4 compatible";
|
||||
}
|
||||
|
||||
const char* GetVersion() const
|
||||
|
|
|
@ -20,7 +20,7 @@ public:
|
|||
|
||||
const char* GetDriverName() const
|
||||
{
|
||||
return "PCL5 Compatible";
|
||||
return "PCL5 compatible";
|
||||
}
|
||||
|
||||
const char* GetVersion() const
|
||||
|
|
|
@ -20,7 +20,7 @@ public:
|
|||
|
||||
const char* GetDriverName() const
|
||||
{
|
||||
return "PCL6 Compatible";
|
||||
return "PCL6 compatible";
|
||||
}
|
||||
|
||||
const char* GetVersion() const
|
||||
|
|
|
@ -92,7 +92,7 @@ static const char *pdf_compatibility[] = { "1.3", "1.4", NULL };
|
|||
|
||||
|
||||
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 @@ 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(" Page setup").String());
|
||||
|
||||
if (fSetupMsg->FindInt32("orientation", &fCurrentOrientation) != B_OK)
|
||||
fCurrentOrientation = PrinterDriver::PORTRAIT_ORIENTATION;
|
||||
|
@ -165,12 +165,12 @@ PageSetupWindow::PageSetupWindow(BMessage *msg, const char *printerName)
|
|||
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 @@ PageSetupWindow::PageSetupWindow(BMessage *msg, const char *printerName)
|
|||
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);
|
||||
|
|
|
@ -20,7 +20,7 @@ public:
|
|||
|
||||
const char* GetDriverName() const
|
||||
{
|
||||
return "PS Compatible";
|
||||
return "PS compatible";
|
||||
}
|
||||
|
||||
const char* GetVersion() const
|
||||
|
|
|
@ -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 @@ static struct
|
|||
|
||||
|
||||
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 @@ PageSetupWindow::PageSetupWindow(BMessage *msg, const char *printerName)
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue