mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-25 04:00:33 +05:00
Improvements for HYDRO module: Localize status bar messages.
This commit is contained in:
parent
3474e51a9b
commit
2b3bf05c2b
@ -36,25 +36,25 @@
|
||||
icon="pipetshape.png"
|
||||
menu="NEW_ENTITY/PRIMITIVES/PIPETSHAPE"
|
||||
tooltip="PRIMITIVES/PIPETSHAPE"
|
||||
status-bar="Create new Pipe TShape object">
|
||||
status-bar="PIPETSHAPE">
|
||||
</action>
|
||||
<action label="DividedDisk"
|
||||
icon="divided_disk.png"
|
||||
menu="NEW_ENTITY/BLOCKS/DIVIDEDDISK"
|
||||
tooltip="BLOCKS/DIVIDEDDISK"
|
||||
status-bar="Divided Disk">
|
||||
status-bar="DIVIDEDDISK">
|
||||
</action>
|
||||
<action label="DividedCylinder"
|
||||
icon="dividedcylinder.png"
|
||||
menu="NEW_ENTITY/BLOCKS/DIVIDEDCYLINDER"
|
||||
tooltip="BLOCKS/DIVIDEDCYLINDER"
|
||||
status-bar="Divided Cylinder">
|
||||
status-bar="DIVIDEDCYLINDER">
|
||||
</action>
|
||||
<action label="SmoothingSurface"
|
||||
icon="smoothingsurface.png"
|
||||
menu="NEW_ENTITY/ADVANCED/SMOOTHINGSURFACE"
|
||||
tooltip="ADVANCED/SMOOTHINGSURFACE"
|
||||
status-bar="Smoothing Surface">
|
||||
status-bar="SMOOTHINGSURFACE">
|
||||
</action>
|
||||
</actions>
|
||||
</geom-plugin>
|
||||
|
@ -1634,11 +1634,14 @@ void GeometryGUI::addPluginActions()
|
||||
actionTool = actionTool.toUpper().prepend("TOP_");
|
||||
stools.removeLast();
|
||||
|
||||
QString actionStat = anActionData.myStatusBar;
|
||||
actionStat = actionStat.toUpper().prepend("STB_");
|
||||
|
||||
createAction(id, // ~ anActionData.myLabel
|
||||
tr(actionTool.toLatin1().constData()),
|
||||
icon,
|
||||
tr(actionName.toLatin1().constData()),
|
||||
anActionData.myStatusBar.toLatin1().constData(),
|
||||
tr(actionStat.toLatin1().constData()),
|
||||
0 /*accel*/,
|
||||
application()->desktop(),
|
||||
false /*toggle*/,
|
||||
|
Loading…
Reference in New Issue
Block a user