From eef81e84b2d24bafc256e3aa4b8f0da5909f215a Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 6 Jun 2020 11:21:23 +0200 Subject: [PATCH] Avoid marking a default name translatable: after translation the result can be unexpected and broken. --- eeschema/tools/sch_drawing_tools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/tools/sch_drawing_tools.cpp b/eeschema/tools/sch_drawing_tools.cpp index 42dfe55462..ea707395c2 100644 --- a/eeschema/tools/sch_drawing_tools.cpp +++ b/eeschema/tools/sch_drawing_tools.cpp @@ -1003,8 +1003,8 @@ int SCH_DRAWING_TOOLS::DrawSheet( const TOOL_EVENT& aEvent ) sheet->SetBorderWidth( cfg->m_Drawing.default_line_thickness ); sheet->SetBorderColor( cfg->m_Drawing.default_sheet_border_color ); sheet->SetBackgroundColor( cfg->m_Drawing.default_sheet_background_color ); - sheet->GetFields()[ SHEETNAME ].SetText( _( "Untitled Sheet" ) ); - sheet->GetFields()[ SHEETFILENAME ].SetText( _( "untitled.kicad_sch" ) ); + sheet->GetFields()[ SHEETNAME ].SetText( "Untitled Sheet" ); + sheet->GetFields()[ SHEETFILENAME ].SetText( "untitled.kicad_sch" ); sizeSheet( sheet, cursorPos ); m_view->ClearPreview();