diff --git a/src/Mod/Plot/InitGui.py b/src/Mod/Plot/InitGui.py index 59e65f8aa..4fc8b3dfb 100644 --- a/src/Mod/Plot/InitGui.py +++ b/src/Mod/Plot/InitGui.py @@ -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 diff --git a/src/Mod/Plot/resources/translations/Plot.ts b/src/Mod/Plot/resources/translations/Plot.ts index e321cd435..078132b9c 100644 --- a/src/Mod/Plot/resources/translations/Plot.ts +++ b/src/Mod/Plot/resources/translations/Plot.ts @@ -72,6 +72,16 @@ Save plot as image file + + + Plot edition tools + + + + + Plot + + plot_axes @@ -129,7 +139,7 @@ - + matplotlib not found, Plot module will be disabled diff --git a/src/Mod/Plot/resources/translations/Plot_es-ES.qm b/src/Mod/Plot/resources/translations/Plot_es-ES.qm index cfc4d6a29..80bcd65ed 100644 Binary files a/src/Mod/Plot/resources/translations/Plot_es-ES.qm and b/src/Mod/Plot/resources/translations/Plot_es-ES.qm differ diff --git a/src/Mod/Plot/resources/translations/Plot_es-ES.ts b/src/Mod/Plot/resources/translations/Plot_es-ES.ts index 00ef0c34b..9f1df7954 100644 --- a/src/Mod/Plot/resources/translations/Plot_es-ES.ts +++ b/src/Mod/Plot/resources/translations/Plot_es-ES.ts @@ -72,6 +72,16 @@ Set labels and legend positions and sizes Modifique la posición y tamaño de títulos y legenda + + + Plot edition tools + Herramientas de edicion de graficas + + + + Plot + Grafica + plot_axes @@ -129,7 +139,7 @@ No se puede encontrar matplotlib, y por tanto no se puede cargar el modulo de graficado - + matplotlib not found, Plot module will be disabled No se puede encontrar matplotlib, el modulo de graficado sera desactivado