From 4af85239ba4d9e08cfa2b14d9448a8704cad4523 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 11 Nov 2017 11:35:06 +0100 Subject: [PATCH] Internationalize dialog_symbol_remap_base --- eeschema/dialogs/dialog_symbol_remap_base.cpp | 10 +++++----- eeschema/dialogs/dialog_symbol_remap_base.fbp | 2 +- eeschema/dialogs/dialog_symbol_remap_base.h | 5 +++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/eeschema/dialogs/dialog_symbol_remap_base.cpp b/eeschema/dialogs/dialog_symbol_remap_base.cpp index ccf242bc40..5f1d839970 100644 --- a/eeschema/dialogs/dialog_symbol_remap_base.cpp +++ b/eeschema/dialogs/dialog_symbol_remap_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jun 5 2014) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! @@ -21,17 +21,17 @@ DIALOG_SYMBOL_REMAP_BASE::DIALOG_SYMBOL_REMAP_BASE( wxWindow* parent, wxWindowID wxBoxSizer* bSizer2; bSizer2 = new wxBoxSizer( wxHORIZONTAL ); - m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("This schematic currently uses the symbol library look\nup method for loading schematic symbols. KiCad will\nattempt to map the existing symbols to use the new\nsymbol library table. If you choose to skip\nthis step, you will be responsible for manually assigning\nsymbols."), wxDefaultPosition, wxDefaultSize, 0 ); + m_staticText1 = new wxStaticText( this, wxID_ANY, _("This schematic currently uses the symbol library look\nup method for loading schematic symbols. KiCad will\nattempt to map the existing symbols to use the new\nsymbol library table. If you choose to skip\nthis step, you will be responsible for manually assigning\nsymbols."), wxDefaultPosition, wxDefaultSize, 0 ); m_staticText1->Wrap( -1 ); bSizer2->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 ); wxBoxSizer* bSizer3; bSizer3 = new wxBoxSizer( wxVERTICAL ); - m_buttonRemp = new wxButton( this, wxID_ANY, wxT("Remap Symbols"), wxDefaultPosition, wxDefaultSize, 0 ); + m_buttonRemp = new wxButton( this, wxID_ANY, _("Remap Symbols"), wxDefaultPosition, wxDefaultSize, 0 ); bSizer3->Add( m_buttonRemp, 0, wxALL|wxEXPAND, 5 ); - m_buttonClose = new wxButton( this, wxID_CANCEL, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); + m_buttonClose = new wxButton( this, wxID_CANCEL, _("Close"), wxDefaultPosition, wxDefaultSize, 0 ); bSizer3->Add( m_buttonClose, 0, wxALL|wxEXPAND, 5 ); @@ -44,7 +44,7 @@ DIALOG_SYMBOL_REMAP_BASE::DIALOG_SYMBOL_REMAP_BASE( wxWindow* parent, wxWindowID bSizer4 = new wxBoxSizer( wxVERTICAL ); m_messagePanel = new WX_HTML_REPORT_PANEL( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); - m_messagePanel->SetMinSize( wxSize( -1,150 ) ); + m_messagePanel->SetMinSize( wxSize( -1,200 ) ); bSizer4->Add( m_messagePanel, 1, wxEXPAND | wxALL, 5 ); diff --git a/eeschema/dialogs/dialog_symbol_remap_base.fbp b/eeschema/dialogs/dialog_symbol_remap_base.fbp index 50f4914985..92ed886039 100644 --- a/eeschema/dialogs/dialog_symbol_remap_base.fbp +++ b/eeschema/dialogs/dialog_symbol_remap_base.fbp @@ -14,7 +14,7 @@ dialog_symbol_remap_base 1000 none - 0 + 1 DIALGO_SYMBOL_REMAP_BASE . diff --git a/eeschema/dialogs/dialog_symbol_remap_base.h b/eeschema/dialogs/dialog_symbol_remap_base.h index 879a4bd107..d75ea084aa 100644 --- a/eeschema/dialogs/dialog_symbol_remap_base.h +++ b/eeschema/dialogs/dialog_symbol_remap_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version Jun 5 2014) +// C++ code generated with wxFormBuilder (version Aug 4 2017) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! @@ -10,6 +10,7 @@ #include #include +#include class DIALOG_SHIM; class WX_HTML_REPORT_PANEL; @@ -47,7 +48,7 @@ class DIALOG_SYMBOL_REMAP_BASE : public DIALOG_SHIM public: - DIALOG_SYMBOL_REMAP_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Remap Symbols"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); + DIALOG_SYMBOL_REMAP_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Remap Symbols"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); ~DIALOG_SYMBOL_REMAP_BASE(); };