const QString& suffix,
const int accel )
{
- QAction* a = createAction( id, tr( QString( "NEW_WINDOW_%1" ).arg( suffix ).toLatin1().constData() ), QIcon(),
- tr( QString( "NEW_WINDOW_%1" ).arg( suffix ).toLatin1().constData() ),
- tr( QString( "NEW_WINDOW_%1" ).arg( suffix ).toLatin1().constData() ),
- accel, desktop(), false, this, SLOT( onNewWindow() ) );
+ QString vtlt = tr( QString( "NEW_WINDOW_%1" ).arg( suffix ).toLatin1().constData() );
+ QString tip = tr( "CREATING_NEW_WINDOW" ).arg( vtlt.remove( "&" ) );
+ QAction* a = createAction( id, // menu action id
+ tip, // status tip
+ QIcon(), // icon
+ vtlt, // menu text
+ tip, // tooltip
+ accel, // shortcut
+ desktop(), // parent
+ false, // toggle flag
+ this, // receiver
+ SLOT( onNewWindow() ) ); // slot
createMenu( a, parentId, -1 );
}
</message>
<message>
<source>PREF_GROUP_VTKVIEWER</source>
- <translation>VTK Viewer 3d</translation>
+ <translation>VTK 3D Viewer</translation>
</message>
<message>
<source>PREF_STORE_POS</source>
</message>
<message>
<source>NEW_WINDOW_0</source>
- <translation>&GL view</translation>
+ <translation>&GL 2D view</translation>
</message>
<message>
<source>NEW_WINDOW_1</source>
- <translation>&Plot2d view</translation>
+ <translation>&Plot 2D view</translation>
</message>
<message>
<source>NEW_WINDOW_2</source>
- <translation>&OCC view</translation>
+ <translation>&OCC 3D view</translation>
</message>
<message>
<source>NEW_WINDOW_3</source>
- <translation>VT&K view</translation>
+ <translation>VT&K 3D view</translation>
</message>
<message>
<source>NEW_WINDOW_4</source>
- <translation>&QxGraph view</translation>
+ <translation>&QxGraph 2D view</translation>
</message>
<message>
<source>NEW_WINDOW_5</source>
- <translation>Qx&Scene view</translation>
+ <translation>Qx&Scene 2D view</translation>
+ </message>
+ <message>
+ <source>CREATING_NEW_WINDOW</source>
+ <translation>Create new %1</translation>
</message>
<message>
<source>OBJ_BROWSER_NAME</source>
</message>
<message>
<source>PREF_GROUP_OCCVIEWER</source>
- <translation>OCC Viewer 3d</translation>
+ <translation>OCC 3D Viewer</translation>
</message>
<message>
<source>PREF_LOGARITHMIC</source>
</message>
<message>
<source>PREF_GROUP_PLOT2DVIEWER</source>
- <translation>Plot2d Viewer</translation>
+ <translation>Plot 2D Viewer</translation>
</message>
<message>
<source>PREF_DEVIATION_COLOR</source>