mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-02 00:26:45 +00:00
Fix quotes in UI messages
This replaces all single and angle bracket quotes in UI messages with double quotes, for consistency. Sorry to all translators.
This commit is contained in:
parent
9ed0f2184b
commit
a9ccf1161b
bitmap2component
common
basicframe.cppcommon.cpp
dialogs
dsnlexer.cppeda_doc.cppexceptions.cppfootprint_info.cppfp_lib_table.cppgestfich.cppkiway.cppproject.cpprichio.cpptool
widgets
cvpcb
eeschema
backanno.cppblock.cppclass_library.cppcmp_tree_model_adapter_base.cpp
dialogs
dialog_bom.cppdialog_edit_component_in_lib.cppdialog_edit_component_in_schematic.cppdialog_edit_components_libid.cppdialog_global_sym_lib_table_config.cppdialog_plot_schematic.cppdialog_sym_lib_table.cppdialog_symbol_remap.cpp
edit_bitmap.cpperc.cppfiles-io.cppgetpart.cpplib_export.cpplibarch.cpplibedit.cpplibedit_plot_component.cpplibeditframe.cpplibfield.cppnetlist_exporters
plot_schematic_DXF.cppplot_schematic_HPGL.cppplot_schematic_PDF.cppplot_schematic_PS.cppplot_schematic_SVG.cppproject_rescue.cppsch_base_frame.cppsch_eagle_plugin.cppsch_io_mgr.cppsch_legacy_plugin.cppsch_plugin.cppschframe.cppselpart.cppsheet.cppsim
symbedit.cppsymbol_lib_table.cppgerbview
events_called_functions.cppexport_to_pcbnew.cppfiles.cppgerbview_frame.cpponrightclick.cppreadgerb.cpp
tools
kicad
new
pagelayout_editor
pcb_calculator
pcbnew
board_netlist_updater.cppbuild_BOM_from_board.cppclass_board.cppcross-probing.cpp
dialogs
dialog_SVG_print.cppdialog_drc.cppdialog_edit_module_for_Modedit.cppdialog_exchange_modules.cppdialog_export_vrml.cppdialog_find.cppdialog_fp_lib_table.cppdialog_fp_plugin_options.cppdialog_gendrill.cppdialog_plot.cppwizard_add_fplib.cpp
drc.cppeagle_plugin.cppexporters
files.cppgithub
gpcb_plugin.cppio_mgr.cppkicad_netlist_reader.cppkicad_plugin.cpplegacy_plugin.cpplibrairi.cpploadcmp.cppnetlist.cppnetlist_reader.cpppcb_parser.cpppcbframe.cppplugin.cppspecctra_export.cpptools
@ -500,7 +500,7 @@ void BM2CMP_FRAME::OnExportLogo()
|
||||
if( outfile == NULL )
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _( "File '%s' could not be created." ), GetChars( m_ConvertedFileName ) );
|
||||
msg.Printf( _( "File \"%s\" could not be created." ), GetChars( m_ConvertedFileName ) );
|
||||
wxMessageBox( msg );
|
||||
return;
|
||||
}
|
||||
@ -538,7 +538,7 @@ void BM2CMP_FRAME::OnExportPostScript()
|
||||
if( outfile == NULL )
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _( "File '%s' could not be created." ), GetChars( m_ConvertedFileName ) );
|
||||
msg.Printf( _( "File \"%s\" could not be created." ), GetChars( m_ConvertedFileName ) );
|
||||
wxMessageBox( msg );
|
||||
return;
|
||||
}
|
||||
@ -575,7 +575,7 @@ void BM2CMP_FRAME::OnExportEeschema()
|
||||
if( outfile == NULL )
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _( "File '%s' could not be created." ), GetChars( m_ConvertedFileName ) );
|
||||
msg.Printf( _( "File \"%s\" could not be created." ), GetChars( m_ConvertedFileName ) );
|
||||
wxMessageBox( msg );
|
||||
return;
|
||||
}
|
||||
@ -612,7 +612,7 @@ void BM2CMP_FRAME::OnExportPcbnew()
|
||||
if( outfile == NULL )
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _( "File '%s' could not be created." ), GetChars( m_ConvertedFileName ) );
|
||||
msg.Printf( _( "File \"%s\" could not be created." ), GetChars( m_ConvertedFileName ) );
|
||||
wxMessageBox( msg );
|
||||
return;
|
||||
}
|
||||
|
@ -439,7 +439,7 @@ wxString EDA_BASE_FRAME::GetFileFromHistory( int cmdId, const wxString& type,
|
||||
else
|
||||
{
|
||||
wxString msg = wxString::Format(
|
||||
wxT( "file '%s' was not found." ),
|
||||
_( "File \"%s\" was not found." ),
|
||||
GetChars( fn ) );
|
||||
|
||||
wxMessageBox( msg );
|
||||
@ -484,7 +484,7 @@ void EDA_BASE_FRAME::GetKicadHelp( wxCommandEvent& event )
|
||||
if( !helpFile )
|
||||
{
|
||||
wxString msg = wxString::Format( _(
|
||||
"Html or pdf help file \n'%s'\n or\n'%s' could not be found." ), names[0], names[1] );
|
||||
"Html or pdf help file \n\"%s\"\n or\n\"%s\" could not be found." ), names[0], names[1] );
|
||||
wxMessageBox( msg );
|
||||
}
|
||||
else
|
||||
@ -501,7 +501,7 @@ void EDA_BASE_FRAME::GetKicadHelp( wxCommandEvent& event )
|
||||
if( !helpFile )
|
||||
{
|
||||
wxString msg = wxString::Format( _(
|
||||
"Help file '%s' could not be found." ),
|
||||
"Help file \"%s\" could not be found." ),
|
||||
GetChars( base_name )
|
||||
);
|
||||
wxMessageBox( msg );
|
||||
@ -570,17 +570,17 @@ bool EDA_BASE_FRAME::IsWritable( const wxFileName& aFileName )
|
||||
|
||||
if( fn.IsDir() && !fn.IsDirWritable() )
|
||||
{
|
||||
msg.Printf( _( "You do not have write permissions to folder <%s>." ),
|
||||
msg.Printf( _( "You do not have write permissions to folder \"%s\"." ),
|
||||
GetChars( fn.GetPath() ) );
|
||||
}
|
||||
else if( !fn.FileExists() && !fn.IsDirWritable() )
|
||||
{
|
||||
msg.Printf( _( "You do not have write permissions to save file <%s> to folder <%s>." ),
|
||||
msg.Printf( _( "You do not have write permissions to save file \"%s\" to folder \"%s\"." ),
|
||||
GetChars( fn.GetFullName() ), GetChars( fn.GetPath() ) );
|
||||
}
|
||||
else if( fn.FileExists() && !fn.IsFileWritable() )
|
||||
{
|
||||
msg.Printf( _( "You do not have write permissions to save file <%s>." ),
|
||||
msg.Printf( _( "You do not have write permissions to save file \"%s\"." ),
|
||||
GetChars( fn.GetFullPath() ) );
|
||||
}
|
||||
|
||||
@ -614,7 +614,7 @@ void EDA_BASE_FRAME::CheckForAutoSaveFile( const wxFileName& aFileName,
|
||||
wxString msg = wxString::Format( _(
|
||||
"Well this is potentially embarrassing!\n"
|
||||
"It appears that the last time you were editing the file\n"
|
||||
"'%s'\n"
|
||||
"\"%s\"\n"
|
||||
"it was not saved properly. Do you wish to restore the last saved edits you made?" ),
|
||||
GetChars( aFileName.GetFullName() )
|
||||
);
|
||||
@ -640,7 +640,7 @@ void EDA_BASE_FRAME::CheckForAutoSaveFile( const wxFileName& aFileName,
|
||||
// Rename the old file to the backup file name.
|
||||
if( !wxRenameFile( aFileName.GetFullPath(), backupFileName.GetFullPath() ) )
|
||||
{
|
||||
msg.Printf( _( "Could not create backup file <%s>" ),
|
||||
msg.Printf( _( "Could not create backup file \"%s\"" ),
|
||||
GetChars( backupFileName.GetFullPath() ) );
|
||||
wxMessageBox( msg );
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ bool EnsureFileDirectoryExists( wxFileName* aTargetFullFileName,
|
||||
{
|
||||
if( aReporter )
|
||||
{
|
||||
msg.Printf( _( "Cannot make path '%s' absolute with respect to '%s'." ),
|
||||
msg.Printf( _( "Cannot make path \"%s\" absolute with respect to \"%s\"." ),
|
||||
GetChars( aTargetFullFileName->GetPath() ),
|
||||
GetChars( baseFilePath ) );
|
||||
aReporter->Report( msg, REPORTER::RPT_ERROR );
|
||||
@ -295,7 +295,7 @@ bool EnsureFileDirectoryExists( wxFileName* aTargetFullFileName,
|
||||
{
|
||||
if( aReporter )
|
||||
{
|
||||
msg.Printf( _( "Output directory '%s' created.\n" ), GetChars( outputPath ) );
|
||||
msg.Printf( _( "Output directory \"%s\" created.\n" ), GetChars( outputPath ) );
|
||||
aReporter->Report( msg, REPORTER::RPT_INFO );
|
||||
return true;
|
||||
}
|
||||
@ -304,7 +304,7 @@ bool EnsureFileDirectoryExists( wxFileName* aTargetFullFileName,
|
||||
{
|
||||
if( aReporter )
|
||||
{
|
||||
msg.Printf( _( "Cannot create output directory '%s'.\n" ),
|
||||
msg.Printf( _( "Cannot create output directory \"%s\".\n" ),
|
||||
GetChars( outputPath ) );
|
||||
aReporter->Report( msg, REPORTER::RPT_ERROR );
|
||||
}
|
||||
|
@ -248,7 +248,7 @@ void DIALOG_ENV_VAR_CONFIG::EditSelectedEntry()
|
||||
if( IsEnvVarImmutable( envName ) )
|
||||
{
|
||||
DisplayErrorMessage( this,
|
||||
wxString::Format( _( "Environment variable '%s' cannot be renamed" ),
|
||||
wxString::Format( _( "Environment variable \"%s\" cannot be renamed" ),
|
||||
envName.ToStdString() ),
|
||||
_( "The selected environment variable name "
|
||||
"is required for KiCad functionality and "
|
||||
|
@ -433,7 +433,7 @@ bool DIALOG_PAGES_SETTINGS::SavePageSettings()
|
||||
if( !wxFileExists( fullFileName ) )
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _("Page layout description file <%s> not found. Abort"),
|
||||
msg.Printf( _("Page layout description file \"%s\" not found. Abort"),
|
||||
GetChars( fullFileName ) );
|
||||
wxMessageBox( msg );
|
||||
return false;
|
||||
@ -823,9 +823,9 @@ void DIALOG_PAGES_SETTINGS::OnWksFileSelection( wxCommandEvent& event )
|
||||
wxString msg = wxString::Format( _(
|
||||
"The page layout descr filename has changed.\n"
|
||||
"Do you want to use the relative path:\n"
|
||||
"'%s'\n"
|
||||
"\"%s\"\n"
|
||||
"instead of\n"
|
||||
"'%s'" ), GetChars( shortFileName ), GetChars( fileName ) );
|
||||
"\"%s\"" ), GetChars( shortFileName ), GetChars( fileName ) );
|
||||
|
||||
if( !IsOK( this, msg ) )
|
||||
shortFileName = fileName;
|
||||
|
@ -265,7 +265,7 @@ void WX_HTML_REPORT_PANEL::onBtnSaveToFile( wxCommandEvent& event )
|
||||
{
|
||||
wxString msg;
|
||||
|
||||
msg.Printf( _( "Cannot write report to file '%s'." ),
|
||||
msg.Printf( _( "Cannot write report to file \"%s\"." ),
|
||||
fn.GetFullPath().GetData() );
|
||||
wxMessageBox( msg, _( "File save error" ), wxOK | wxICON_ERROR, this );
|
||||
return;
|
||||
|
@ -353,7 +353,7 @@ bool DSNLEXER::IsSymbol( int aTok )
|
||||
void DSNLEXER::Expecting( int aTok )
|
||||
{
|
||||
wxString errText = wxString::Format(
|
||||
_("Expecting '%s'"), GetChars( GetTokenString( aTok ) ) );
|
||||
_( "Expecting \"%s\"" ), GetChars( GetTokenString( aTok ) ) );
|
||||
THROW_PARSE_ERROR( errText, CurSource(), CurLine(), CurLineNumber(), CurOffset() );
|
||||
}
|
||||
|
||||
@ -361,7 +361,7 @@ void DSNLEXER::Expecting( int aTok )
|
||||
void DSNLEXER::Expecting( const char* text )
|
||||
{
|
||||
wxString errText = wxString::Format(
|
||||
_("Expecting '%s'"), GetChars( wxString::FromUTF8( text ) ) );
|
||||
_( "Expecting \"%s\"" ), GetChars( wxString::FromUTF8( text ) ) );
|
||||
THROW_PARSE_ERROR( errText, CurSource(), CurLine(), CurLineNumber(), CurOffset() );
|
||||
}
|
||||
|
||||
@ -369,7 +369,7 @@ void DSNLEXER::Expecting( const char* text )
|
||||
void DSNLEXER::Unexpected( int aTok )
|
||||
{
|
||||
wxString errText = wxString::Format(
|
||||
_("Unexpected '%s'"), GetChars( GetTokenString( aTok ) ) );
|
||||
_( "Unexpected \"%s\"" ), GetChars( GetTokenString( aTok ) ) );
|
||||
THROW_PARSE_ERROR( errText, CurSource(), CurLine(), CurLineNumber(), CurOffset() );
|
||||
}
|
||||
|
||||
@ -385,7 +385,7 @@ void DSNLEXER::Duplicate( int aTok )
|
||||
void DSNLEXER::Unexpected( const char* text )
|
||||
{
|
||||
wxString errText = wxString::Format(
|
||||
_("Unexpected '%s'"), GetChars( wxString::FromUTF8( text ) ) );
|
||||
_( "Unexpected \"%s\"" ), GetChars( wxString::FromUTF8( text ) ) );
|
||||
THROW_PARSE_ERROR( errText, CurSource(), CurLine(), CurLineNumber(), CurOffset() );
|
||||
}
|
||||
|
||||
@ -430,7 +430,7 @@ int DSNLEXER::NeedNUMBER( const char* aExpectation )
|
||||
if( tok != DSN_NUMBER )
|
||||
{
|
||||
wxString errText = wxString::Format(
|
||||
_("need a NUMBER for '%s'"), wxString::FromUTF8( aExpectation ).GetData() );
|
||||
_( "need a NUMBER for \"%s\"" ), wxString::FromUTF8( aExpectation ).GetData() );
|
||||
THROW_PARSE_ERROR( errText, CurSource(), CurLine(), CurLineNumber(), CurOffset() );
|
||||
}
|
||||
return tok;
|
||||
|
@ -157,7 +157,7 @@ bool GetAssociatedDocument( wxWindow* aParent,
|
||||
|
||||
if( !wxFileExists( fullfilename ) )
|
||||
{
|
||||
msg.Printf( _( "Doc File '%s' not found" ), GetChars( aDocName ) );
|
||||
msg.Printf( _( "Doc File \"%s\" not found" ), GetChars( aDocName ) );
|
||||
DisplayError( aParent, msg );
|
||||
return false;
|
||||
}
|
||||
@ -200,7 +200,7 @@ bool GetAssociatedDocument( wxWindow* aParent,
|
||||
|
||||
if( !success )
|
||||
{
|
||||
msg.Printf( _( "Unknown MIME type for doc file <%s>" ), GetChars( fullfilename ) );
|
||||
msg.Printf( _( "Unknown MIME type for doc file \"%s\"" ), GetChars( fullfilename ) );
|
||||
DisplayError( aParent, msg );
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
|
||||
#define THROWERS_WHERE _( "from %s : %s() line:%d" )
|
||||
#define PARSE_PROBLEM _( "%s in input/source\n'%s'\nline %d, offset %d" )
|
||||
#define PARSE_PROBLEM _( "%s in input/source\n\"%s\"\nline %d, offset %d" )
|
||||
|
||||
|
||||
const wxString IO_ERROR::What() const
|
||||
|
@ -61,7 +61,7 @@ FOOTPRINT_INFO* FOOTPRINT_LIST::GetModuleInfo( const wxString& aFootprintName )
|
||||
|
||||
wxCHECK_MSG( fpid.Parse( aFootprintName ) < 0, NULL,
|
||||
wxString::Format(
|
||||
wxT( "'%s' is not a valid LIB_ID." ), GetChars( aFootprintName ) ) );
|
||||
wxT( "\"%s\" is not a valid LIB_ID." ), GetChars( aFootprintName ) ) );
|
||||
|
||||
wxString libNickname = fpid.GetLibNickname();
|
||||
wxString footprintName = fpid.GetLibItemName();
|
||||
|
@ -192,7 +192,7 @@ void FP_LIB_TABLE::Parse( LIB_TABLE_LEXER* in )
|
||||
delete tmp; // The table did not take ownership of the row.
|
||||
|
||||
wxString msg = wxString::Format(
|
||||
_( "Duplicate library nickname '%s' found in footprint library "
|
||||
_( "Duplicate library nickname \"%s\" found in footprint library "
|
||||
"table file line %d" ), GetChars( nickname ), lineNum );
|
||||
|
||||
if( !errMsg.IsEmpty() )
|
||||
@ -259,7 +259,7 @@ const FP_LIB_TABLE_ROW* FP_LIB_TABLE::FindRow( const wxString& aNickname )
|
||||
if( !row )
|
||||
{
|
||||
wxString msg = wxString::Format(
|
||||
_( "fp-lib-table files contain no library with nickname '%s'" ),
|
||||
_( "fp-lib-table files contain no library with nickname \"%s\"" ),
|
||||
GetChars( aNickname ) );
|
||||
|
||||
THROW_IO_ERROR( msg );
|
||||
@ -413,7 +413,7 @@ bool FP_LIB_TABLE::LoadGlobalTable( FP_LIB_TABLE& aTable )
|
||||
|
||||
if( !fn.DirExists() && !fn.Mkdir( 0x777, wxPATH_MKDIR_FULL ) )
|
||||
{
|
||||
THROW_IO_ERROR( wxString::Format( _( "Cannot create global library table path '%s'." ),
|
||||
THROW_IO_ERROR( wxString::Format( _( "Cannot create global library table path \"%s\"." ),
|
||||
GetChars( fn.GetPath() ) ) );
|
||||
}
|
||||
|
||||
|
@ -230,7 +230,7 @@ int ExecuteFile( wxWindow* frame, const wxString& ExecFile, const wxString& para
|
||||
#endif
|
||||
|
||||
wxString msg;
|
||||
msg.Printf( _( "Command <%s> could not found" ), GetChars( fullFileName ) );
|
||||
msg.Printf( _( "Command \"%s\" could not found" ), GetChars( fullFileName ) );
|
||||
DisplayError( frame, msg, 20 );
|
||||
return -1;
|
||||
}
|
||||
@ -374,14 +374,14 @@ bool OpenPDF( const wxString& file )
|
||||
else
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _( "Problem while running the PDF viewer\nCommand is '%s'" ), command );
|
||||
msg.Printf( _( "Problem while running the PDF viewer\nCommand is \"%s\"" ), command );
|
||||
DisplayError( NULL, msg );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _( "Unable to find a PDF viewer for '%s'" ), file );
|
||||
msg.Printf( _( "Unable to find a PDF viewer for \"%s\"" ), file );
|
||||
DisplayError( NULL, msg );
|
||||
}
|
||||
|
||||
|
@ -183,7 +183,7 @@ KIFACE* KIWAY::KiFACE( FACE_T aFaceId, bool doLoad )
|
||||
// here and catching it in the KiCad launcher resolves the crash issue. See bug
|
||||
// report https://bugs.launchpad.net/kicad/+bug/1577786.
|
||||
|
||||
msg.Printf( _( "Failed to load kiface library '%s'." ), GetChars( dname ) );
|
||||
msg.Printf( _( "Failed to load kiface library \"%s\"." ), GetChars( dname ) );
|
||||
THROW_IO_ERROR( msg );
|
||||
}
|
||||
else if( ( addr = dso.GetSymbol( wxT( KIFACE_INSTANCE_NAME_AND_VERSION ) ) ) == NULL )
|
||||
@ -192,7 +192,7 @@ KIFACE* KIWAY::KiFACE( FACE_T aFaceId, bool doLoad )
|
||||
// No further reporting required here. Assume the same thing applies here as
|
||||
// above with the Load() call. This has not been tested.
|
||||
msg.Printf(
|
||||
_( "Could not read instance name and version symbol form kiface library '%s'." ),
|
||||
_( "Could not read instance name and version symbol form kiface library \"%s\"." ),
|
||||
GetChars( dname ) );
|
||||
THROW_IO_ERROR( msg );
|
||||
}
|
||||
@ -227,7 +227,7 @@ KIFACE* KIWAY::KiFACE( FACE_T aFaceId, bool doLoad )
|
||||
|
||||
msg = wxString::Format( _(
|
||||
"Fatal Installation Bug. File:\n"
|
||||
"'%s'\ncould not be loaded\n" ), GetChars( dname ) );
|
||||
"\"%s\"\ncould not be loaded\n" ), GetChars( dname ) );
|
||||
|
||||
if( ! wxFileExists( dname ) )
|
||||
msg << _( "It is missing.\n" );
|
||||
|
@ -256,7 +256,7 @@ static bool copy_pro_file_template( const SEARCH_STACK& aSearchS, const wxString
|
||||
if( !templ.IsFileReadable() )
|
||||
{
|
||||
wxString msg = wxString::Format( _(
|
||||
"Unable to find '%s' template config file." ),
|
||||
"Unable to find \"%s\" template config file." ),
|
||||
GetChars( templateFile ) );
|
||||
|
||||
DisplayErrorMessage( nullptr, _( "Error copying project file template" ), msg );
|
||||
@ -279,7 +279,7 @@ static bool copy_pro_file_template( const SEARCH_STACK& aSearchS, const wxString
|
||||
success = wxCopyFile( kicad_pro_template, aDestination );
|
||||
else
|
||||
{
|
||||
wxLogMessage( _( "Cannot create prj file '%s' (Directory not writable)" ),
|
||||
wxLogMessage( _( "Cannot create prj file \"%s\" (Directory not writable)" ),
|
||||
GetChars( aDestination) );
|
||||
success = false;
|
||||
}
|
||||
|
@ -164,7 +164,7 @@ FILE_LINE_READER::FILE_LINE_READER( const wxString& aFileName,
|
||||
if( !m_fp )
|
||||
{
|
||||
wxString msg = wxString::Format(
|
||||
_( "Unable to open filename '%s' for reading" ), aFileName.GetData() );
|
||||
_( "Unable to open filename \"%s\" for reading" ), aFileName.GetData() );
|
||||
THROW_IO_ERROR( msg );
|
||||
}
|
||||
|
||||
@ -524,7 +524,7 @@ FILE_OUTPUTFORMATTER::FILE_OUTPUTFORMATTER( const wxString& aFileName,
|
||||
if( !m_fp )
|
||||
{
|
||||
wxString msg = wxString::Format(
|
||||
_( "cannot open or save file '%s'" ),
|
||||
_( "cannot open or save file \"%s\"" ),
|
||||
m_filename.GetData() );
|
||||
THROW_IO_ERROR( msg );
|
||||
}
|
||||
@ -543,7 +543,7 @@ void FILE_OUTPUTFORMATTER::write( const char* aOutBuf, int aCount )
|
||||
if( 1 != fwrite( aOutBuf, aCount, 1, m_fp ) )
|
||||
{
|
||||
wxString msg = wxString::Format(
|
||||
_( "error writing to file '%s'" ),
|
||||
_( "error writing to file \"%s\"" ),
|
||||
m_filename.GetData() );
|
||||
THROW_IO_ERROR( msg );
|
||||
}
|
||||
|
@ -434,7 +434,7 @@ void TOOL_MANAGER::InitTools()
|
||||
if( !tool->Init() )
|
||||
{
|
||||
wxMessageBox(
|
||||
wxString::Format( "Initialization of tool '%s' failed", tool->GetName() ) );
|
||||
wxString::Format( "Initialization of tool \"%s\" failed", tool->GetName() ) );
|
||||
|
||||
// Unregister the tool
|
||||
m_toolState.erase( tool );
|
||||
|
@ -481,7 +481,7 @@ bool WIDGET_HOTKEY_LIST::ResolveKeyConflicts( long aKey, const wxString& aSectio
|
||||
{
|
||||
wxString info = wxGetTranslation( conflicting_key->m_InfoMsg );
|
||||
wxString msg = wxString::Format(
|
||||
_( "<%s> is already assigned to \"%s\" in section \"%s\". Are you sure you want "
|
||||
_( "\"%s\" is already assigned to \"%s\" in section \"%s\". Are you sure you want "
|
||||
"to change its assignment?" ),
|
||||
KeyNameFromKeyCode( aKey ), GetChars( info ),
|
||||
*(conflicting_section->m_Title) );
|
||||
|
@ -104,7 +104,7 @@ int CVPCB_MAINFRAME::buildEquivalenceList( FOOTPRINT_EQUIVALENCE_LIST& aList, wx
|
||||
|
||||
if( aErrorMessages )
|
||||
{
|
||||
error_msg.Printf( _( "Equivalence file '%s' could not be found in the "
|
||||
error_msg.Printf( _( "Equivalence file \"%s\" could not be found in the "
|
||||
"default search paths." ),
|
||||
GetChars( fn.GetFullName() ) );
|
||||
|
||||
@ -125,7 +125,7 @@ int CVPCB_MAINFRAME::buildEquivalenceList( FOOTPRINT_EQUIVALENCE_LIST& aList, wx
|
||||
|
||||
if( aErrorMessages )
|
||||
{
|
||||
error_msg.Printf( _( "Error opening equivalence file '%s'." ), GetChars( tmp ) );
|
||||
error_msg.Printf( _( "Error opening equivalence file \"%s\"." ), GetChars( tmp ) );
|
||||
|
||||
if( ! aErrorMessages->IsEmpty() )
|
||||
*aErrorMessages << wxT("\n\n");
|
||||
|
@ -74,7 +74,7 @@ void CVPCB_MAINFRAME::SaveProjectFile()
|
||||
|
||||
if( !IsWritable( fn ) )
|
||||
{
|
||||
wxMessageBox( _( "Project file '%s' is not writable" ), fn.GetFullPath() );
|
||||
wxMessageBox( _( "Project file \"%s\" is not writable" ), fn.GetFullPath() );
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -450,7 +450,7 @@ MODULE* DISPLAY_FOOTPRINTS_FRAME::Get_Module( const wxString& aFootprintName )
|
||||
|
||||
if( fpid.Parse( aFootprintName ) >= 0 )
|
||||
{
|
||||
DisplayInfoMessage( this, wxString::Format( wxT( "Footprint ID <%s> is not valid." ),
|
||||
DisplayInfoMessage( this, wxString::Format( wxT( "Footprint ID \"%s\" is not valid." ),
|
||||
GetChars( aFootprintName ) ) );
|
||||
return NULL;
|
||||
}
|
||||
@ -458,7 +458,7 @@ MODULE* DISPLAY_FOOTPRINTS_FRAME::Get_Module( const wxString& aFootprintName )
|
||||
std::string nickname = fpid.GetLibNickname();
|
||||
std::string fpname = fpid.GetLibItemName();
|
||||
|
||||
wxLogDebug( wxT( "Load footprint <%s> from library <%s>." ),
|
||||
wxLogDebug( wxT( "Load footprint \"%s\" from library \"%s\"." ),
|
||||
fpname.c_str(), nickname.c_str() );
|
||||
|
||||
footprint = Prj().PcbFootprintLibs( Kiway() )->FootprintLoad(
|
||||
@ -477,7 +477,7 @@ MODULE* DISPLAY_FOOTPRINTS_FRAME::Get_Module( const wxString& aFootprintName )
|
||||
return footprint;
|
||||
}
|
||||
|
||||
wxString msg = wxString::Format( _( "Footprint '%s' not found" ), aFootprintName.GetData() );
|
||||
wxString msg = wxString::Format( _( "Footprint \"%s\" not found" ), aFootprintName.GetData() );
|
||||
DisplayError( this, msg );
|
||||
return NULL;
|
||||
}
|
||||
|
@ -424,7 +424,7 @@ void CVPCB_MAINFRAME::OnEditFootprintLibraryTable( wxCommandEvent& aEvent )
|
||||
catch( const IO_ERROR& ioe )
|
||||
{
|
||||
wxString msg = wxString::Format(
|
||||
_( "Error occurred saving the global footprint library table:\n'%s'\n%s" ),
|
||||
_( "Error occurred saving the global footprint library table:\n\"%s\"\n%s" ),
|
||||
GetChars( fileName ),
|
||||
GetChars( ioe.What() )
|
||||
);
|
||||
@ -444,7 +444,7 @@ void CVPCB_MAINFRAME::OnEditFootprintLibraryTable( wxCommandEvent& aEvent )
|
||||
catch( const IO_ERROR& ioe )
|
||||
{
|
||||
wxString msg = wxString::Format(
|
||||
_( "Error occurred saving the project footprint library table:\n'%s'\n%s" ),
|
||||
_( "Error occurred saving the project footprint library table:\n\"%s\"\n%s" ),
|
||||
GetChars( fileName ),
|
||||
GetChars( ioe.What() )
|
||||
);
|
||||
|
@ -49,7 +49,7 @@ DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES( CVPCB_MAINFRAME* aParent ) :
|
||||
m_Config = Pgm().CommonSettings();
|
||||
|
||||
PROJECT& prj = Prj();
|
||||
SetTitle( wxString::Format( _( "Project file: '%s'" ), GetChars( prj.GetProjectFullName() ) ) );
|
||||
SetTitle( wxString::Format( _( "Project file: \"%s\"" ), GetChars( prj.GetProjectFullName() ) ) );
|
||||
|
||||
Init( );
|
||||
|
||||
@ -290,7 +290,7 @@ void DIALOG_CONFIG_EQUFILES::OnAddFiles( wxCommandEvent& event )
|
||||
else
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _( "File '%s' already exists in list" ), equFilename.GetData() );
|
||||
msg.Printf( _( "File \"%s\" already exists in list" ), equFilename.GetData() );
|
||||
DisplayError( this, msg );
|
||||
}
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ void CVPCB_MAINFRAME::SetNewPkg( const wxString& aFootprintName, int aIndex )
|
||||
if( !aFootprintName.IsEmpty() )
|
||||
{
|
||||
wxCHECK_RET( fpid.Parse( aFootprintName ) < 0,
|
||||
wxString::Format( wxT( "<%s> is not a valid LIB_ID." ),
|
||||
wxString::Format( wxT( "\"%s\" is not a valid LIB_ID." ),
|
||||
GetChars( aFootprintName ) ) );
|
||||
}
|
||||
|
||||
@ -246,7 +246,7 @@ bool CVPCB_MAINFRAME::ReadNetListAndFpFiles( const std::string& aNetlist )
|
||||
|
||||
case 1:
|
||||
msg += wxString::Format( _(
|
||||
"Component '%s' footprint '%s' was <b>not found</b> in any library.\n" ),
|
||||
"Component \"%s\" footprint \"%s\" was <b>not found</b> in any library.\n" ),
|
||||
GetChars( component->GetReference() ),
|
||||
GetChars( component->GetFPID().GetLibItemName() )
|
||||
);
|
||||
@ -254,7 +254,7 @@ bool CVPCB_MAINFRAME::ReadNetListAndFpFiles( const std::string& aNetlist )
|
||||
|
||||
case 2:
|
||||
msg += wxString::Format( _(
|
||||
"Component '%s' footprint '%s' was found in <b>multiple</b> libraries.\n" ),
|
||||
"Component \"%s\" footprint \"%s\" was found in <b>multiple</b> libraries.\n" ),
|
||||
GetChars( component->GetReference() ),
|
||||
GetChars( component->GetFPID().GetLibItemName() )
|
||||
);
|
||||
|
@ -245,7 +245,7 @@ bool SCH_EDIT_FRAME::LoadCmpToFootprintLinkFile()
|
||||
|
||||
if( !ProcessCmpToFootprintLinkFile( filename, forceVisibility, visibilityState ) )
|
||||
{
|
||||
wxString msg = wxString::Format( _( "Failed to open component-footprint link file '%s'" ),
|
||||
wxString msg = wxString::Format( _( "Failed to open component-footprint link file \"%s\"" ),
|
||||
filename.GetData() );
|
||||
|
||||
DisplayError( this, msg );
|
||||
|
@ -493,7 +493,7 @@ void SCH_EDIT_FRAME::PasteListOfItems( wxDC* DC )
|
||||
wxString msg;
|
||||
|
||||
msg.Printf( _( "The sheet changes cannot be made because the destination "
|
||||
"sheet already has the sheet <%s> or one of it's subsheets "
|
||||
"sheet already has the sheet \"%s\" or one of it's subsheets "
|
||||
"as a parent somewhere in the schematic hierarchy." ),
|
||||
GetChars( sheet->GetFileName() ) );
|
||||
DisplayError( this, msg );
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user