Avoid marking a default name translatable: after translation the result

can be unexpected and broken.
This commit is contained in:
jean-pierre charras 2020-06-06 11:21:23 +02:00
parent 74051be3b7
commit eef81e84b2
1 changed files with 2 additions and 2 deletions

View File

@ -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();