Translated toolbar title
This commit is contained in:
parent
6407f7a83d
commit
e9820b59f2
|
@ -31,13 +31,14 @@ class PlotWorkbench ( Workbench ):
|
|||
ToolTip = "The Plot module is used to edit/save output plots performed by other tools"
|
||||
|
||||
def Initialize(self):
|
||||
# ToolBar
|
||||
list = ["Plot_SaveFig", "Plot_Axes", "Plot_Series", "Plot_Grid", "Plot_Legend", "Plot_Labels", "Plot_Positions"]
|
||||
self.appendToolbar("Plot",list)
|
||||
|
||||
# Menu
|
||||
list = ["Plot_SaveFig", "Plot_Axes", "Plot_Series", "Plot_Grid", "Plot_Legend", "Plot_Labels", "Plot_Positions"]
|
||||
self.appendMenu("Plot",list)
|
||||
from PyQt4 import QtCore, QtGui
|
||||
cmdlst = ["Plot_SaveFig", "Plot_Axes", "Plot_Series", "Plot_Grid", "Plot_Legend", "Plot_Labels", "Plot_Positions"]
|
||||
self.appendToolbar(str(QtGui.QApplication.translate("plot", "Plot edition tools",
|
||||
None,QtGui.QApplication.UnicodeUTF8)),
|
||||
cmdlst)
|
||||
self.appendMenu(str(QtGui.QApplication.translate("plot", "Plot",
|
||||
None,QtGui.QApplication.UnicodeUTF8)),
|
||||
cmdlst)
|
||||
|
||||
try:
|
||||
import matplotlib
|
||||
|
|
|
@ -72,6 +72,16 @@
|
|||
<source>Save plot as image file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="InitGui.py" line="36"/>
|
||||
<source>Plot edition tools</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="InitGui.py" line="39"/>
|
||||
<source>Plot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>plot_axes</name>
|
||||
|
@ -129,7 +139,7 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="InitGui.py" line="47"/>
|
||||
<location filename="InitGui.py" line="48"/>
|
||||
<source>matplotlib not found, Plot module will be disabled</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
Binary file not shown.
|
@ -72,6 +72,16 @@
|
|||
<source>Set labels and legend positions and sizes</source>
|
||||
<translation>Modifique la posición y tamaño de títulos y legenda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="InitGui.py" line="36"/>
|
||||
<source>Plot edition tools</source>
|
||||
<translation>Herramientas de edicion de graficas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="InitGui.py" line="39"/>
|
||||
<source>Plot</source>
|
||||
<translation>Grafica</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>plot_axes</name>
|
||||
|
@ -129,7 +139,7 @@
|
|||
<translation>No se puede encontrar matplotlib, y por tanto no se puede cargar el modulo de graficado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="InitGui.py" line="47"/>
|
||||
<location filename="InitGui.py" line="48"/>
|
||||
<source>matplotlib not found, Plot module will be disabled</source>
|
||||
<translation>No se puede encontrar matplotlib, el modulo de graficado sera desactivado</translation>
|
||||
</message>
|
||||
|
|
Loading…
Reference in New Issue
Block a user