Translation cleanup.
Fixes https://gitlab.com/kicad/code/kicad/issues/6078
This commit is contained in:
parent
6fa0ac45af
commit
34d3218f73
|
@ -354,8 +354,8 @@ void SYMBOL_VIEWER_FRAME::updatePreviewSymbol()
|
|||
m_previewItem = symbol;
|
||||
view->Add( m_previewItem );
|
||||
|
||||
wxString parentName = _( "<none>" );
|
||||
std::shared_ptr< LIB_PART > parent = m_previewItem->GetParent().lock();
|
||||
wxString parentName;
|
||||
std::shared_ptr<LIB_PART> parent = m_previewItem->GetParent().lock();
|
||||
|
||||
if( parent )
|
||||
parentName = parent->GetName();
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include "widgets/gerbview_layer_widget.h"
|
||||
|
||||
// HTML Messages used more than one time:
|
||||
#define MSG_NO_MORE_LAYER _( "<b>No more available layers</b> in Gerbview to load files" )
|
||||
#define MSG_NO_MORE_LAYER _( "<b>No more available layers</b> in GerbView to load files" )
|
||||
#define MSG_NOT_LOADED _( "\n<b>Not loaded:</b> <i>%s</i>" )
|
||||
|
||||
|
||||
|
|
|
@ -998,7 +998,7 @@ void GERBVIEW_FRAME::InstallPreferences( PAGED_DIALOG* aParent,
|
|||
{
|
||||
wxTreebook* book = aParent->GetTreebook();
|
||||
|
||||
book->AddPage( new wxPanel( book ), _( "Gerbview" ) );
|
||||
book->AddPage( new wxPanel( book ), _( "GerbView" ) );
|
||||
book->AddSubPage( new PANEL_GERBVIEW_DISPLAY_OPTIONS( this, book ), _( "Display Options" ) );
|
||||
book->AddSubPage( new PANEL_GERBVIEW_SETTINGS( this, book ), _( "Editing Options" ) );
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ PCB_CALCULATOR_FRAME_BASE::PCB_CALCULATOR_FRAME_BASE( wxWindow* parent, wxWindow
|
|||
wxStaticBoxSizer* sbSizerRegFormula;
|
||||
sbSizerRegFormula = new wxStaticBoxSizer( new wxStaticBox( m_panelRegulators, wxID_ANY, _("Formula") ), wxVERTICAL );
|
||||
|
||||
m_RegulFormula = new wxStaticText( sbSizerRegFormula->GetStaticBox(), wxID_ANY, _("Vout = Vref * (R1 + R2) / R2"), wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_RegulFormula = new wxStaticText( sbSizerRegFormula->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
||||
m_RegulFormula->Wrap( -1 );
|
||||
m_RegulFormula->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
|
||||
|
||||
|
|
|
@ -536,7 +536,7 @@
|
|||
<property name="gripper">0</property>
|
||||
<property name="hidden">0</property>
|
||||
<property name="id">wxID_ANY</property>
|
||||
<property name="label">Vout = Vref * (R1 + R2) / R2</property>
|
||||
<property name="label"></property>
|
||||
<property name="markup">0</property>
|
||||
<property name="max_size"></property>
|
||||
<property name="maximize_button">0</property>
|
||||
|
|
|
@ -65,14 +65,14 @@ void PCB_CALCULATOR_FRAME::RegulatorPageUpdate()
|
|||
m_bitmapRegul4pins->Show( true );
|
||||
m_bitmapRegul3pins->Show( false );
|
||||
m_RegulIadjValue->Enable( false );
|
||||
m_RegulFormula->SetLabel( wxT("Vout = Vref * (R1 + R2) / R2") );
|
||||
m_RegulFormula->SetLabel( wxT( "Vout = Vref * (R1 + R2) / R2" ) );
|
||||
break;
|
||||
|
||||
case 1:
|
||||
m_bitmapRegul4pins->Show( false );
|
||||
m_bitmapRegul3pins->Show( true );
|
||||
m_RegulIadjValue->Enable( true );
|
||||
m_RegulFormula->SetLabel( wxT("Vout = Vref * (R1 + R2) / R1 + Iadj * R2") );
|
||||
m_RegulFormula->SetLabel( wxT( "Vout = Vref * (R1 + R2) / R1 + Iadj * R2" ) );
|
||||
break;
|
||||
}
|
||||
// The new icon size must be taken in account
|
||||
|
|
Loading…
Reference in New Issue