Make drawing sheet editor item names translatable.

This commit is contained in:
Jonathan Haas 2021-03-08 08:54:12 +01:00 committed by Seth Hillbrand
parent 638a9b693d
commit 3d563af758
1 changed files with 5 additions and 5 deletions

View File

@ -391,11 +391,11 @@ const wxString DS_DATA_ITEM::GetClassName() const
switch( GetType() )
{
case DS_TEXT: name = wxT( "Text" ); break;
case DS_SEGMENT: name = wxT( "Line" ); break;
case DS_RECT: name = wxT( "Rectangle" ); break;
case DS_POLYPOLYGON: name = wxT( "Imported Shape" ); break;
case DS_BITMAP: name = wxT( "Image" ); break;
case DS_TEXT: name = _( "Text" ); break;
case DS_SEGMENT: name = _( "Line" ); break;
case DS_RECT: name = _( "Rectangle" ); break;
case DS_POLYPOLYGON: name = _( "Imported Shape" ); break;
case DS_BITMAP: name = _( "Image" ); break;
}
return name;