From 36853b0df42ea988bdde8d3209b3ccd7ded83984 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Sat, 7 Oct 2023 04:44:17 +0300 Subject: [PATCH] Allow translation of "Open cancelled by user." in pcb_parser.cpp --- pcbnew/plugins/kicad/pcb_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/plugins/kicad/pcb_parser.cpp b/pcbnew/plugins/kicad/pcb_parser.cpp index 5a8b6643ba..47b76169c0 100644 --- a/pcbnew/plugins/kicad/pcb_parser.cpp +++ b/pcbnew/plugins/kicad/pcb_parser.cpp @@ -142,7 +142,7 @@ void PCB_PARSER::checkpoint() / std::max( 1U, m_lineCount ) ); if( !m_progressReporter->KeepRefreshing() ) - THROW_IO_ERROR( ( "Open cancelled by user." ) ); + THROW_IO_ERROR( _( "Open cancelled by user." ) ); m_lastProgressTime = curTime; }