mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-26 11:40: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"
|
icon="pipetshape.png"
|
||||||
menu="NEW_ENTITY/PRIMITIVES/PIPETSHAPE"
|
menu="NEW_ENTITY/PRIMITIVES/PIPETSHAPE"
|
||||||
tooltip="PRIMITIVES/PIPETSHAPE"
|
tooltip="PRIMITIVES/PIPETSHAPE"
|
||||||
status-bar="Create new Pipe TShape object">
|
status-bar="PIPETSHAPE">
|
||||||
</action>
|
</action>
|
||||||
<action label="DividedDisk"
|
<action label="DividedDisk"
|
||||||
icon="divided_disk.png"
|
icon="divided_disk.png"
|
||||||
menu="NEW_ENTITY/BLOCKS/DIVIDEDDISK"
|
menu="NEW_ENTITY/BLOCKS/DIVIDEDDISK"
|
||||||
tooltip="BLOCKS/DIVIDEDDISK"
|
tooltip="BLOCKS/DIVIDEDDISK"
|
||||||
status-bar="Divided Disk">
|
status-bar="DIVIDEDDISK">
|
||||||
</action>
|
</action>
|
||||||
<action label="DividedCylinder"
|
<action label="DividedCylinder"
|
||||||
icon="dividedcylinder.png"
|
icon="dividedcylinder.png"
|
||||||
menu="NEW_ENTITY/BLOCKS/DIVIDEDCYLINDER"
|
menu="NEW_ENTITY/BLOCKS/DIVIDEDCYLINDER"
|
||||||
tooltip="BLOCKS/DIVIDEDCYLINDER"
|
tooltip="BLOCKS/DIVIDEDCYLINDER"
|
||||||
status-bar="Divided Cylinder">
|
status-bar="DIVIDEDCYLINDER">
|
||||||
</action>
|
</action>
|
||||||
<action label="SmoothingSurface"
|
<action label="SmoothingSurface"
|
||||||
icon="smoothingsurface.png"
|
icon="smoothingsurface.png"
|
||||||
menu="NEW_ENTITY/ADVANCED/SMOOTHINGSURFACE"
|
menu="NEW_ENTITY/ADVANCED/SMOOTHINGSURFACE"
|
||||||
tooltip="ADVANCED/SMOOTHINGSURFACE"
|
tooltip="ADVANCED/SMOOTHINGSURFACE"
|
||||||
status-bar="Smoothing Surface">
|
status-bar="SMOOTHINGSURFACE">
|
||||||
</action>
|
</action>
|
||||||
</actions>
|
</actions>
|
||||||
</geom-plugin>
|
</geom-plugin>
|
||||||
|
@ -1634,11 +1634,14 @@ void GeometryGUI::addPluginActions()
|
|||||||
actionTool = actionTool.toUpper().prepend("TOP_");
|
actionTool = actionTool.toUpper().prepend("TOP_");
|
||||||
stools.removeLast();
|
stools.removeLast();
|
||||||
|
|
||||||
|
QString actionStat = anActionData.myStatusBar;
|
||||||
|
actionStat = actionStat.toUpper().prepend("STB_");
|
||||||
|
|
||||||
createAction(id, // ~ anActionData.myLabel
|
createAction(id, // ~ anActionData.myLabel
|
||||||
tr(actionTool.toLatin1().constData()),
|
tr(actionTool.toLatin1().constData()),
|
||||||
icon,
|
icon,
|
||||||
tr(actionName.toLatin1().constData()),
|
tr(actionName.toLatin1().constData()),
|
||||||
anActionData.myStatusBar.toLatin1().constData(),
|
tr(actionStat.toLatin1().constData()),
|
||||||
0 /*accel*/,
|
0 /*accel*/,
|
||||||
application()->desktop(),
|
application()->desktop(),
|
||||||
false /*toggle*/,
|
false /*toggle*/,
|
||||||
|
Loading…
Reference in New Issue
Block a user