Browse Source

Fix some issues in I10n strings

Fix typo and missing I10n identifier for 2 strings
pull/13/head
jean-pierre charras 7 years ago
parent
commit
b8cfabd22e
  1. 4
      common/dialogs/dialog_global_lib_table_config.cpp
  2. 4
      eeschema/dialogs/dialog_global_sym_lib_table_config.cpp
  3. 2
      pcbnew/dialogs/dialog_global_fp_lib_table_config.cpp
  4. 2
      pcbnew/pcbnew.cpp

4
common/dialogs/dialog_global_lib_table_config.cpp

@ -35,7 +35,7 @@ DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG( wxWindow* aParen
SetTitle( tmp );
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"
"of the options below. If you are not sure which option to select, please\n"
"use the default selection." ), aTableName, aTableName, aTableName );
@ -59,7 +59,7 @@ DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG( wxWindow* aParen
aTableName );
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_filePicker1->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_GLOBAL_LIB_TABLE_CONFIG::onUpdateFilePicker ), NULL, this );

4
eeschema/dialogs/dialog_global_sym_lib_table_config.cpp

@ -1,7 +1,7 @@
/*
* 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.
*
* 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_LIB_TABLE_CONFIG( aParent, "symbol" )
DIALOG_GLOBAL_LIB_TABLE_CONFIG( aParent, _( "symbol" ) )
{
}

2
pcbnew/dialogs/dialog_global_fp_lib_table_config.cpp

@ -28,7 +28,7 @@
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" ) )
{
}

2
pcbnew/pcbnew.cpp

@ -369,7 +369,7 @@ bool IFACE::OnKifaceStart( PGM_BASE* aProgram, int aCtlBits )
// the user just has to edit the (partially) loaded table.
wxString msg = _(
"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() );

Loading…
Cancel
Save