Consistent capitalization.

This commit is contained in:
Jeff Young 2024-06-14 22:02:08 +01:00
parent ac576d7e0a
commit 0f8d543172
9 changed files with 15 additions and 15 deletions

View File

@ -438,7 +438,7 @@ wxString FILEEXT::ErcFileWildcard()
wxString FILEEXT::SpiceLibraryFileWildcard() wxString FILEEXT::SpiceLibraryFileWildcard()
{ {
return _( "Spice library file" ) + AddFileExtListToFilter( { "lib", "mod" } ); return _( "SPICE library file" ) + AddFileExtListToFilter( { "lib", "mod" } );
} }

View File

@ -313,7 +313,7 @@ DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST( SCH_EDIT_FRAME* parent ) :
void DIALOG_EXPORT_NETLIST::InstallPageSpice() void DIALOG_EXPORT_NETLIST::InstallPageSpice()
{ {
EXPORT_NETLIST_PAGE* page = m_PanelNetType[PANELSPICE] = EXPORT_NETLIST_PAGE* page = m_PanelNetType[PANELSPICE] =
new EXPORT_NETLIST_PAGE( m_NoteBook, wxT( "Spice" ), NET_TYPE_SPICE, false ); new EXPORT_NETLIST_PAGE( m_NoteBook, wxT( "SPICE" ), NET_TYPE_SPICE, false );
SCHEMATIC_SETTINGS& settings = m_Parent->Schematic().Settings(); SCHEMATIC_SETTINGS& settings = m_Parent->Schematic().Settings();
@ -372,7 +372,7 @@ void DIALOG_EXPORT_NETLIST::InstallPageSpice()
void DIALOG_EXPORT_NETLIST::InstallPageSpiceModel() void DIALOG_EXPORT_NETLIST::InstallPageSpiceModel()
{ {
EXPORT_NETLIST_PAGE* page = m_PanelNetType[PANELSPICEMODEL] = EXPORT_NETLIST_PAGE* page = m_PanelNetType[PANELSPICEMODEL] =
new EXPORT_NETLIST_PAGE( m_NoteBook, wxT( "Spice Model" ), NET_TYPE_SPICE_MODEL, false ); new EXPORT_NETLIST_PAGE( m_NoteBook, wxT( "SPICE Model" ), NET_TYPE_SPICE_MODEL, false );
SCHEMATIC_SETTINGS& settings = m_Parent->Schematic().Settings(); SCHEMATIC_SETTINGS& settings = m_Parent->Schematic().Settings();

View File

@ -535,7 +535,7 @@ DIALOG_SIM_COMMAND_BASE::DIALOG_SIM_COMMAND_BASE( wxWindow* parent, wxWindowID i
wxBoxSizer* bSizer2; wxBoxSizer* bSizer2;
bSizer2 = new wxBoxSizer( wxVERTICAL ); bSizer2 = new wxBoxSizer( wxVERTICAL );
m_staticText18 = new wxStaticText( m_pgCustom, wxID_ANY, _("Spice directives:"), wxDefaultPosition, wxDefaultSize, 0 ); m_staticText18 = new wxStaticText( m_pgCustom, wxID_ANY, _("SPICE directives:"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticText18->Wrap( -1 ); m_staticText18->Wrap( -1 );
bSizer2->Add( m_staticText18, 0, wxRIGHT|wxLEFT, 5 ); bSizer2->Add( m_staticText18, 0, wxRIGHT|wxLEFT, 5 );

View File

@ -335,7 +335,7 @@
<property name="border">5</property> <property name="border">5</property>
<property name="flag">wxEXPAND | wxALL</property> <property name="flag">wxEXPAND | wxALL</property>
<property name="proportion">1</property> <property name="proportion">1</property>
<object class="wxSimplebook" expanded="false"> <object class="wxSimplebook" expanded="true">
<property name="BottomDockable">1</property> <property name="BottomDockable">1</property>
<property name="LeftDockable">1</property> <property name="LeftDockable">1</property>
<property name="RightDockable">1</property> <property name="RightDockable">1</property>
@ -387,7 +387,7 @@
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style"></property> <property name="window_style"></property>
<object class="simplebookpage" expanded="false"> <object class="simplebookpage" expanded="true">
<property name="label">a page</property> <property name="label">a page</property>
<property name="select">0</property> <property name="select">0</property>
<object class="wxPanel" expanded="false"> <object class="wxPanel" expanded="false">
@ -6160,10 +6160,10 @@
</object> </object>
</object> </object>
</object> </object>
<object class="simplebookpage" expanded="false"> <object class="simplebookpage" expanded="true">
<property name="label">a page</property> <property name="label">a page</property>
<property name="select">0</property> <property name="select">0</property>
<object class="wxPanel" expanded="false"> <object class="wxPanel" expanded="true">
<property name="BottomDockable">1</property> <property name="BottomDockable">1</property>
<property name="LeftDockable">1</property> <property name="LeftDockable">1</property>
<property name="RightDockable">1</property> <property name="RightDockable">1</property>
@ -6215,7 +6215,7 @@
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style">wxTAB_TRAVERSAL</property> <property name="window_style">wxTAB_TRAVERSAL</property>
<object class="wxBoxSizer" expanded="false"> <object class="wxBoxSizer" expanded="true">
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">bSizer2</property> <property name="name">bSizer2</property>
<property name="orient">wxVERTICAL</property> <property name="orient">wxVERTICAL</property>
@ -6253,7 +6253,7 @@
<property name="gripper">0</property> <property name="gripper">0</property>
<property name="hidden">0</property> <property name="hidden">0</property>
<property name="id">wxID_ANY</property> <property name="id">wxID_ANY</property>
<property name="label">Spice directives:</property> <property name="label">SPICE directives:</property>
<property name="markup">0</property> <property name="markup">0</property>
<property name="max_size"></property> <property name="max_size"></property>
<property name="maximize_button">0</property> <property name="maximize_button">0</property>

View File

@ -91,7 +91,7 @@ SIM_MODEL::DEVICE_INFO SIM_MODEL::DeviceInfo( DEVICE_T aDeviceType )
case DEVICE_T::SUBCKT: return { "SUBCKT", "Subcircuit", false }; case DEVICE_T::SUBCKT: return { "SUBCKT", "Subcircuit", false };
case DEVICE_T::XSPICE: return { "XSPICE", "XSPICE Code Model", true }; case DEVICE_T::XSPICE: return { "XSPICE", "XSPICE Code Model", true };
case DEVICE_T::SPICE: return { "SPICE", "Raw Spice Element", true }; case DEVICE_T::SPICE: return { "SPICE", "Raw SPICE Element", true };
default: wxFAIL; return {}; default: wxFAIL; return {};
} }

View File

@ -344,7 +344,7 @@ void SIMULATOR_FRAME::UpdateTitle()
if( unsaved ) if( unsaved )
title += wxS( " " ) + _( "[Unsaved]" ); title += wxS( " " ) + _( "[Unsaved]" );
title += wxT( " \u2014 " ) + _( "Spice Simulator" ); title += wxT( " \u2014 " ) + _( "SPICE Simulator" );
SetTitle( title ); SetTitle( title );
} }

View File

@ -155,7 +155,7 @@ SIM_MODEL::TYPE SPICE_MODEL_PARSER::ReadType( const SIM_LIBRARY_SPICE& aLibrary,
} }
} }
wxFAIL_MSG( "Could not derive type from Spice code" ); wxFAIL_MSG( "Could not derive type from SPICE code" );
return SIM_MODEL::TYPE::NONE; return SIM_MODEL::TYPE::NONE;
} }

View File

@ -406,7 +406,7 @@ bool SPICE_VALIDATOR::Validate( wxWindow* aParent )
} }
catch( ... ) catch( ... )
{ {
DisplayError( aParent, wxString::Format( _( "'%s' is not a valid Spice value." ), DisplayError( aParent, wxString::Format( _( "'%s' is not a valid SPICE value." ),
text->GetValue() ) ); text->GetValue() ) );
return false; return false;

View File

@ -55,7 +55,7 @@ bool init_unit_test()
{ {
SetPgm( new MOCK_PGM_BASE() ); SetPgm( new MOCK_PGM_BASE() );
KIPLATFORM::APP::Init(); KIPLATFORM::APP::Init();
boost::unit_test::framework::master_test_suite().p_name.value = "Common spice integration tests"; boost::unit_test::framework::master_test_suite().p_name.value = "Common SPICE integration tests";
wxApp::SetInstance( new wxAppConsole ); wxApp::SetInstance( new wxAppConsole );