}
if (!aPolyXYSeq.IsEmpty() && !aPoly3DSeq.IsEmpty())
- SUIT_MessageBox::warning( module()->getApp()->desktop(), "Export Polyline", "Cannot export polylines of different kind");
+ SUIT_MessageBox::warning( module()->getApp()->desktop(), tr( "EXPORT_TO_SHAPE_FILE" ), tr("ERROR_POLYLINES_OF_DIFF_KIND"));
else
{
QString aName = "";
SHPClose( hSHPHandle );
if (!aNonExpList.empty())
{
- QString aMessage = "The next entities cannot be exported:\n";
+ QString aMessage = tr("CANNOT_BE_EXPORTED") + "\n";
foreach (QString anNonExpEntName, aNonExpList)
aMessage += anNonExpEntName + "\n";
- SUIT_MessageBox::warning( module()->getApp()->desktop(), "Export warning", aMessage);
+ SUIT_MessageBox::warning( module()->getApp()->desktop(), tr( "EXPORT_TO_SHAPE_FILE" ), aMessage);
}
- //TODO pint aNonExpList
commit();
}
else
<source>SHP_FILTER</source>
<translation>Shape Files (*.shp)</translation>
</message>
+ <message>
+ <source>CANNOT_BE_EXPORTED</source>
+ <translation>The next entities cannot be exported:</translation>
+ </message>
+ <message>
+ <source>ERROR_POLYLINES_OF_DIFF_KIND</source>
+ <translation>Cannot export polylines of different kind</translation>
+ </message>
</context>
<context>