Standardize "Key words" to "Keywords"
This commit is contained in:
parent
2a43b88115
commit
661e85d705
|
@ -673,7 +673,7 @@ void CVPCB_MAINFRAME::DisplayStatus()
|
|||
}
|
||||
}
|
||||
|
||||
filters += _( "key words" );
|
||||
filters += _( "Keywords" );
|
||||
|
||||
if( !msg.IsEmpty() )
|
||||
filters += wxString::Format( wxT( " (%s)" ), msg );
|
||||
|
@ -689,7 +689,7 @@ void CVPCB_MAINFRAME::DisplayStatus()
|
|||
if( !filters.IsEmpty() )
|
||||
filters += wxT( ", " );
|
||||
|
||||
filters += _( "pin count" );
|
||||
filters += _( "Pin Count" );
|
||||
|
||||
if( !msg.IsEmpty() )
|
||||
filters += wxString::Format( wxT( " (%s)" ), msg );
|
||||
|
@ -702,7 +702,7 @@ void CVPCB_MAINFRAME::DisplayStatus()
|
|||
if( !filters.IsEmpty() )
|
||||
filters += wxT( ", " );
|
||||
|
||||
filters += _( "library" );
|
||||
filters += _( "Library" );
|
||||
|
||||
if( !msg.IsEmpty() )
|
||||
filters += wxString::Format( wxT( " (%s)" ), msg );
|
||||
|
@ -715,11 +715,11 @@ void CVPCB_MAINFRAME::DisplayStatus()
|
|||
if( !filters.IsEmpty() )
|
||||
filters += wxT( ", " );
|
||||
|
||||
filters += _( "search text" ) + wxString::Format( wxT( " (%s)" ), textFilter );
|
||||
filters += _( "Search Text" ) + wxString::Format( wxT( " (%s)" ), textFilter );
|
||||
}
|
||||
|
||||
if( filters.IsEmpty() )
|
||||
msg = _( "No filtering" );
|
||||
msg = _( "No Filtering" );
|
||||
else
|
||||
msg.Printf( _( "Filtered by %s" ), filters );
|
||||
|
||||
|
@ -735,7 +735,7 @@ void CVPCB_MAINFRAME::DisplayStatus()
|
|||
|
||||
if( module ) // can be NULL if no netlist loaded
|
||||
{
|
||||
msg = wxString::Format( _( "Description: %s; Key words: %s" ),
|
||||
msg = wxString::Format( _( "Description: %s; Keywords: %s" ),
|
||||
module->GetDescription(),
|
||||
module->GetKeywords() );
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ static const wxString DescriptionFormat =
|
|||
|
||||
static const wxString AliasOfFormat = "<br><i>" + _( "Alias of" ) + " %s (%s)</i>";
|
||||
static const wxString DescFormat = "<br>%s";
|
||||
static const wxString KeywordsFormat = "<br>" + _( "Key words:" ) + " %s";
|
||||
static const wxString KeywordsFormat = "<br>" + _( "Keywords" ) + ": %s";
|
||||
static const wxString FieldFormat =
|
||||
"<tr>"
|
||||
" <td><b>__NAME__</b></td>"
|
||||
|
|
|
@ -359,7 +359,7 @@ void LIB_VIEW_FRAME::updatePreviewSymbol()
|
|||
AppendMsgPanel( _( "Name" ), m_previewItem->GetName(), BLUE, 6 );
|
||||
AppendMsgPanel( _( "Parent" ), parentName, RED, 6 );
|
||||
AppendMsgPanel( _( "Description" ), m_previewItem->GetDescription(), CYAN, 6 );
|
||||
AppendMsgPanel( _( "Key words" ), m_previewItem->GetKeyWords(), DARKDARKGRAY );
|
||||
AppendMsgPanel( _( "Keywords" ), m_previewItem->GetKeyWords(), DARKDARKGRAY );
|
||||
}
|
||||
|
||||
GetCanvas()->ForceRefresh();
|
||||
|
|
|
@ -238,6 +238,6 @@ void LIB_EDIT_FRAME::DisplayCmpDoc()
|
|||
|
||||
AppendMsgPanel( _( "Type" ), msg, MAGENTA, 8 );
|
||||
AppendMsgPanel( _( "Description" ), m_my_part->GetDescription(), CYAN, 8 );
|
||||
AppendMsgPanel( _( "Key words" ), m_my_part->GetKeyWords(), DARKDARKGRAY );
|
||||
AppendMsgPanel( _( "Keywords" ), m_my_part->GetKeyWords(), DARKDARKGRAY );
|
||||
AppendMsgPanel( _( "Datasheet" ), m_my_part->GetDatasheetField().GetText(), DARKDARKGRAY );
|
||||
}
|
||||
|
|
|
@ -1375,7 +1375,7 @@ void SCH_COMPONENT::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, MSG_PANEL_ITEMS& aL
|
|||
// Display description of the component, and keywords found in lib
|
||||
aList.push_back( MSG_PANEL_ITEM( _( "Description" ), m_part->GetDescription(),
|
||||
DARKCYAN ) );
|
||||
aList.push_back( MSG_PANEL_ITEM( _( "Key words" ), m_part->GetKeyWords(), DARKCYAN ) );
|
||||
aList.push_back( MSG_PANEL_ITEM( _( "Keywords" ), m_part->GetKeyWords(), DARKCYAN ) );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -1075,7 +1075,7 @@ int PCBNEW_CONTROL::UpdateMessagePanel( const TOOL_EVENT& aEvent )
|
|||
|
||||
wxString doc, keyword;
|
||||
doc.Printf( _( "Doc: %s" ), footprint->GetDescription() );
|
||||
keyword.Printf( _( "Key Words: %s" ), footprint->GetKeywords() );
|
||||
keyword.Printf( _( "Keywords: %s" ), footprint->GetKeywords() );
|
||||
msgItems.emplace_back( MSG_PANEL_ITEM( doc, keyword, BLACK ) );
|
||||
|
||||
m_frame->SetMsgPanel( msgItems );
|
||||
|
|
Loading…
Reference in New Issue