Fix some issues in I10n strings

Fix typo and missing I10n identifier for 2 strings
This commit is contained in:
jean-pierre charras 2019-01-26 09:25:12 +01:00
parent 8d777dd5c3
commit b8cfabd22e
4 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG( wxWindow* aParen
SetTitle( tmp ); SetTitle( tmp );
tmp.Printf( _( "KiCad has been run for the first time using the new %s library table for\n" tmp.Printf( _( "KiCad has been run for the first time using the new %s library table for\n"
"accessing symbol libraries. In order for KiCad to access %s libraries,\n" "accessing libraries. In order for KiCad to access %s libraries,\n"
"you must configure your global %s library table. Please select from one\n" "you must configure your global %s library table. Please select from one\n"
"of the options below. If you are not sure which option to select, please\n" "of the options below. If you are not sure which option to select, please\n"
"use the default selection." ), aTableName, aTableName, aTableName ); "use the default selection." ), aTableName, aTableName, aTableName );
@ -59,7 +59,7 @@ DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG( wxWindow* aParen
aTableName ); aTableName );
m_emptyRb->SetToolTip( tmp ); m_emptyRb->SetToolTip( tmp );
tmp.Printf( _( "Select global %symbol library table file:" ), aTableName ); tmp.Printf( _( "Select global %s library table file:" ), aTableName );
m_staticText2->SetLabel( tmp ); m_staticText2->SetLabel( tmp );
m_filePicker1->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_GLOBAL_LIB_TABLE_CONFIG::onUpdateFilePicker ), NULL, this ); m_filePicker1->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_GLOBAL_LIB_TABLE_CONFIG::onUpdateFilePicker ), NULL, this );

View File

@ -1,7 +1,7 @@
/* /*
* This program source code file is part of KiCad, a free EDA CAD application. * This program source code file is part of KiCad, a free EDA CAD application.
* *
* Copyright (C) 2017 Wayne Stambaugh <stambaughw@gmail.com> * Copyright (C) 2019 Wayne Stambaugh <stambaughw@gmail.com>
* Copyright (C) 2017-2019 KiCad Developers, see AUTHORS.txt for contributors. * Copyright (C) 2017-2019 KiCad Developers, see AUTHORS.txt for contributors.
* *
* This program is free software: you can redistribute it and/or modify it * This program is free software: you can redistribute it and/or modify it
@ -28,7 +28,7 @@
DIALOG_GLOBAL_SYM_LIB_TABLE_CONFIG::DIALOG_GLOBAL_SYM_LIB_TABLE_CONFIG( wxWindow* aParent ) : DIALOG_GLOBAL_SYM_LIB_TABLE_CONFIG::DIALOG_GLOBAL_SYM_LIB_TABLE_CONFIG( wxWindow* aParent ) :
DIALOG_GLOBAL_LIB_TABLE_CONFIG( aParent, "symbol" ) DIALOG_GLOBAL_LIB_TABLE_CONFIG( aParent, _( "symbol" ) )
{ {
} }

View File

@ -28,7 +28,7 @@
DIALOG_GLOBAL_FP_LIB_TABLE_CONFIG::DIALOG_GLOBAL_FP_LIB_TABLE_CONFIG( wxWindow* aParent ) : DIALOG_GLOBAL_FP_LIB_TABLE_CONFIG::DIALOG_GLOBAL_FP_LIB_TABLE_CONFIG( wxWindow* aParent ) :
DIALOG_GLOBAL_LIB_TABLE_CONFIG( aParent, "footprint" ) DIALOG_GLOBAL_LIB_TABLE_CONFIG( aParent, _( "footprint" ) )
{ {
} }

View File

@ -369,7 +369,7 @@ bool IFACE::OnKifaceStart( PGM_BASE* aProgram, int aCtlBits )
// the user just has to edit the (partially) loaded table. // the user just has to edit the (partially) loaded table.
wxString msg = _( wxString msg = _(
"An error occurred attempting to load the global footprint library table.\n" "An error occurred attempting to load the global footprint library table.\n"
"Please edit this global symbol library table in Preferences menu." "Please edit this global footprint library table in Preferences menu."
); );
DisplayErrorMessage( NULL, msg, ioe.What() ); DisplayErrorMessage( NULL, msg, ioe.What() );