From b8cfabd22e5de73c22c6b5a5419d5fe2e5e11dda Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 26 Jan 2019 09:25:12 +0100 Subject: [PATCH] Fix some issues in I10n strings Fix typo and missing I10n identifier for 2 strings --- common/dialogs/dialog_global_lib_table_config.cpp | 4 ++-- eeschema/dialogs/dialog_global_sym_lib_table_config.cpp | 4 ++-- pcbnew/dialogs/dialog_global_fp_lib_table_config.cpp | 2 +- pcbnew/pcbnew.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/dialogs/dialog_global_lib_table_config.cpp b/common/dialogs/dialog_global_lib_table_config.cpp index b37d37fa1a..29428e255c 100644 --- a/common/dialogs/dialog_global_lib_table_config.cpp +++ b/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 ); diff --git a/eeschema/dialogs/dialog_global_sym_lib_table_config.cpp b/eeschema/dialogs/dialog_global_sym_lib_table_config.cpp index a2965d9635..a62d776233 100644 --- a/eeschema/dialogs/dialog_global_sym_lib_table_config.cpp +++ b/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 + * Copyright (C) 2019 Wayne Stambaugh * 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" ) ) { } diff --git a/pcbnew/dialogs/dialog_global_fp_lib_table_config.cpp b/pcbnew/dialogs/dialog_global_fp_lib_table_config.cpp index fe556e3732..10d2137771 100644 --- a/pcbnew/dialogs/dialog_global_fp_lib_table_config.cpp +++ b/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" ) ) { } diff --git a/pcbnew/pcbnew.cpp b/pcbnew/pcbnew.cpp index d4bafb71b9..45d371affd 100644 --- a/pcbnew/pcbnew.cpp +++ b/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() );