Translate strings used in doc-view printing code.
Simply use _() instead of wxT() for the user-visible strings. Closes #12110. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -929,7 +929,7 @@ private:
|
||||
class WXDLLIMPEXP_CORE wxDocPrintout : public wxPrintout
|
||||
{
|
||||
public:
|
||||
wxDocPrintout(wxView *view = NULL, const wxString& title = wxT("Printout"));
|
||||
wxDocPrintout(wxView *view = NULL, const wxString& title = _("Printout"));
|
||||
|
||||
// implement wxPrintout methods
|
||||
virtual bool OnPrintPage(int page);
|
||||
|
@@ -244,7 +244,7 @@ private:
|
||||
class WXDLLIMPEXP_CORE wxPrintout: public wxObject
|
||||
{
|
||||
public:
|
||||
wxPrintout(const wxString& title = wxT("Printout"));
|
||||
wxPrintout(const wxString& title = _("Printout"));
|
||||
virtual ~wxPrintout();
|
||||
|
||||
virtual bool OnBeginDocument(int startPage, int endPage);
|
||||
@@ -376,7 +376,7 @@ class WXDLLIMPEXP_CORE wxPreviewFrame: public wxFrame
|
||||
public:
|
||||
wxPreviewFrame(wxPrintPreviewBase *preview,
|
||||
wxWindow *parent,
|
||||
const wxString& title = wxT("Print Preview"),
|
||||
const wxString& title = _("Print Preview"),
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE | wxFRAME_FLOAT_ON_PARENT,
|
||||
|
Reference in New Issue
Block a user