Moved to resources container
This commit is contained in:
parent
716a6d66c0
commit
ff60c5e882
|
@ -2,29 +2,10 @@ SET(PlotMain_SRCS
|
|||
Plot.py
|
||||
InitGui.py
|
||||
PlotGui.py
|
||||
Plot_rc.py
|
||||
)
|
||||
SOURCE_GROUP("" FILES ${PlotMain_SRCS})
|
||||
|
||||
SET(PlotIcons_SRCS
|
||||
resources/icons/Axes.svg
|
||||
resources/icons/Grid.svg
|
||||
resources/icons/Icon.svg
|
||||
resources/icons/Labels.svg
|
||||
resources/icons/Legend.svg
|
||||
resources/icons/Positions.svg
|
||||
resources/icons/Save.svg
|
||||
resources/icons/Series.svg
|
||||
)
|
||||
SOURCE_GROUP("ploticons" FILES ${PlotIcons_SRCS})
|
||||
|
||||
SET(PlotTranslations_SRCS
|
||||
resources/translations/Plot.ts
|
||||
resources/translations/Plot.qm
|
||||
resources/translations/Plot_es-ES.ts
|
||||
resources/translations/Plot_es-ES.qm
|
||||
)
|
||||
SOURCE_GROUP("plottranslations" FILES ${PlotTranslations_SRCS})
|
||||
|
||||
SET(PlotAxes_SRCS
|
||||
plotAxes/__init__.py
|
||||
plotAxes/TaskPanel.py
|
||||
|
@ -63,11 +44,10 @@ SOURCE_GROUP("plotseries" FILES ${PlotSeries_SRCS})
|
|||
SET(PlotUtils_SRCS
|
||||
plotUtils/__init__.py
|
||||
plotUtils/Paths.py
|
||||
plotUtils/Translator.py
|
||||
)
|
||||
SOURCE_GROUP("plotutils" FILES ${PlotUtils_SRCS})
|
||||
|
||||
SET(all_files ${PlotMain_SRCS} ${PlotAxes_SRCS} ${PlotLabels_SRCS} ${PlotPositions_SRCS} ${PlotSave_SRCS} ${PlotSeries_SRCS} ${PlotIcons_SRCS} ${PlotTranslations_SRCS} ${PlotUtils_SRCS})
|
||||
SET(all_files ${PlotMain_SRCS} ${PlotAxes_SRCS} ${PlotLabels_SRCS} ${PlotPositions_SRCS} ${PlotSave_SRCS} ${PlotSeries_SRCS} ${PlotUtils_SRCS})
|
||||
|
||||
ADD_CUSTOM_TARGET(Plot ALL
|
||||
SOURCES ${all_files}
|
||||
|
@ -75,18 +55,6 @@ ADD_CUSTOM_TARGET(Plot ALL
|
|||
|
||||
fc_copy_sources(Mod/Plot "${CMAKE_BINARY_DIR}/Mod/Plot" ${all_files})
|
||||
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotIcons_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot/resources/icons
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotTranslations_SRCS}
|
||||
DESTINATION
|
||||
Mod/Plot/resources/translations
|
||||
)
|
||||
INSTALL(
|
||||
FILES
|
||||
${PlotAxes_SRCS}
|
||||
|
|
|
@ -26,7 +26,7 @@ class PlotWorkbench ( Workbench ):
|
|||
from plotUtils import Paths
|
||||
import PlotGui
|
||||
|
||||
Icon = Paths.iconsPath() + "/Icon.svg"
|
||||
Icon = 'Icon.svg'
|
||||
MenuText = "Plot"
|
||||
ToolTip = "The Plot module is used to edit/save output plots performed by other tools"
|
||||
|
||||
|
|
|
@ -4,21 +4,10 @@ datadir = $(prefix)/Mod/Plot
|
|||
data_DATA = \
|
||||
Plot.py \
|
||||
InitGui.py \
|
||||
PlotGui.py
|
||||
PlotGui.py \
|
||||
Plot_rc.py
|
||||
|
||||
nobase_data_DATA = \
|
||||
resources/icons/Axes.svg \
|
||||
resources/icons/Grid.svg \
|
||||
resources/icons/Icon.svg \
|
||||
resources/icons/Labels.svg \
|
||||
resources/icons/Legend.svg \
|
||||
resources/icons/Positions.svg \
|
||||
resources/icons/Save.svg \
|
||||
resources/icons/Series.svg \
|
||||
resources/translations/Plot.ts \
|
||||
resources/translations/Plot.qm \
|
||||
resources/translations/Plot_es-ES.ts \
|
||||
resources/translations/Plot_es-ES.qm \
|
||||
plotAxes/__init__.py \
|
||||
plotAxes/TaskPanel.py \
|
||||
plotAxes/TaskPanel.ui \
|
||||
|
@ -35,8 +24,7 @@ nobase_data_DATA = \
|
|||
plotSeries/TaskPanel.py \
|
||||
plotSeries/TaskPanel.ui \
|
||||
plotUtils/__init__.py \
|
||||
plotUtils/Paths.py \
|
||||
plotUtils/Translator.py
|
||||
plotUtils/Paths.py
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
|
|
@ -24,6 +24,12 @@
|
|||
from PyQt4 import QtCore, QtGui
|
||||
import FreeCAD, FreeCADGui, os
|
||||
|
||||
# Load resources
|
||||
import Plot_rc
|
||||
FreeCADGui.addLanguagePath(":/Plot/translations")
|
||||
FreeCADGui.addIconPath(":/Plot/icons")
|
||||
|
||||
"""
|
||||
# Setup tranlations
|
||||
from plotUtils import Paths
|
||||
path = Paths.translationsPath()
|
||||
|
@ -36,6 +42,7 @@ for fname in dirList:
|
|||
valid = translator.load(os.path.join(path, fname))
|
||||
if valid:
|
||||
QtGui.QApplication.installTranslator(translator)
|
||||
"""
|
||||
|
||||
class Save:
|
||||
def Activated(self):
|
||||
|
@ -43,11 +50,11 @@ class Save:
|
|||
plotSave.load()
|
||||
|
||||
def GetResources(self):
|
||||
from plotUtils import Paths
|
||||
IconPath = Paths.iconsPath() + "/Save.svg"
|
||||
# from plotUtils import Paths
|
||||
# IconPath = Paths.iconsPath() + "/Save.svg"
|
||||
MenuText = QtCore.QT_TRANSLATE_NOOP("plot", "Save plot")
|
||||
ToolTip = QtCore.QT_TRANSLATE_NOOP("plot", "Save plot as image file")
|
||||
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
return {'Pixmap' : 'Save', 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
|
||||
class Axes:
|
||||
def Activated(self):
|
||||
|
@ -55,11 +62,11 @@ class Axes:
|
|||
plotAxes.load()
|
||||
|
||||
def GetResources(self):
|
||||
from plotUtils import Paths
|
||||
IconPath = Paths.iconsPath() + "/Axes.svg"
|
||||
# from plotUtils import Paths
|
||||
# IconPath = Paths.iconsPath() + "/Axes.svg"
|
||||
MenuText = QtCore.QT_TRANSLATE_NOOP("plot", "Configure axes")
|
||||
ToolTip = QtCore.QT_TRANSLATE_NOOP("plot", "Configure axes parameters")
|
||||
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
return {'Pixmap' : 'Axes', 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
|
||||
class Series:
|
||||
def Activated(self):
|
||||
|
@ -67,11 +74,11 @@ class Series:
|
|||
plotSeries.load()
|
||||
|
||||
def GetResources(self):
|
||||
from plotUtils import Paths
|
||||
IconPath = Paths.iconsPath() + "/Series.svg"
|
||||
# from plotUtils import Paths
|
||||
# IconPath = Paths.iconsPath() + "/Series.svg"
|
||||
MenuText = QtCore.QT_TRANSLATE_NOOP("plot", "Configure series")
|
||||
ToolTip = QtCore.QT_TRANSLATE_NOOP("plot", "Configure series drawing style and label")
|
||||
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
return {'Pixmap' : 'Series', 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
|
||||
class Grid:
|
||||
def Activated(self):
|
||||
|
@ -86,11 +93,11 @@ class Grid:
|
|||
Plot.grid(not flag)
|
||||
|
||||
def GetResources(self):
|
||||
from plotUtils import Paths
|
||||
IconPath = Paths.iconsPath() + "/Grid.svg"
|
||||
# from plotUtils import Paths
|
||||
# IconPath = Paths.iconsPath() + "/Grid.svg"
|
||||
MenuText = QtCore.QT_TRANSLATE_NOOP("plot", "Show/Hide grid")
|
||||
ToolTip = QtCore.QT_TRANSLATE_NOOP("plot", "Show/Hide grid on selected plot")
|
||||
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
return {'Pixmap' : 'Grid', 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
|
||||
class Legend:
|
||||
def Activated(self):
|
||||
|
@ -105,11 +112,11 @@ class Legend:
|
|||
Plot.legend(not flag)
|
||||
|
||||
def GetResources(self):
|
||||
from plotUtils import Paths
|
||||
IconPath = Paths.iconsPath() + "/Legend.svg"
|
||||
# from plotUtils import Paths
|
||||
# IconPath = Paths.iconsPath() + "/Legend.svg"
|
||||
MenuText = QtCore.QT_TRANSLATE_NOOP("plot", "Show/Hide legend")
|
||||
ToolTip = QtCore.QT_TRANSLATE_NOOP("plot", "Show/Hide legend on selected plot")
|
||||
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
return {'Pixmap' : 'Legend', 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
|
||||
class Labels:
|
||||
def Activated(self):
|
||||
|
@ -117,11 +124,11 @@ class Labels:
|
|||
plotLabels.load()
|
||||
|
||||
def GetResources(self):
|
||||
from plotUtils import Paths
|
||||
IconPath = Paths.iconsPath() + "/Labels.svg"
|
||||
# from plotUtils import Paths
|
||||
# IconPath = Paths.iconsPath() + "/Labels.svg"
|
||||
MenuText = QtCore.QT_TRANSLATE_NOOP("plot", "Set labels")
|
||||
ToolTip = QtCore.QT_TRANSLATE_NOOP("plot", "Set title and axes labels")
|
||||
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
return {'Pixmap' : 'Labels', 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
|
||||
class Positions:
|
||||
def Activated(self):
|
||||
|
@ -129,11 +136,11 @@ class Positions:
|
|||
plotPositions.load()
|
||||
|
||||
def GetResources(self):
|
||||
from plotUtils import Paths
|
||||
IconPath = Paths.iconsPath() + "/Positions.svg"
|
||||
# from plotUtils import Paths
|
||||
# IconPath = Paths.iconsPath() + "/Positions.svg"
|
||||
MenuText = QtCore.QT_TRANSLATE_NOOP("plot", "Set positions and sizes")
|
||||
ToolTip = QtCore.QT_TRANSLATE_NOOP("plot", "Set labels and legend positions and sizes")
|
||||
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
return {'Pixmap' : 'Positions', 'MenuText': MenuText, 'ToolTip': ToolTip}
|
||||
|
||||
FreeCADGui.addCommand('Plot_SaveFig', Save())
|
||||
FreeCADGui.addCommand('Plot_Axes', Axes())
|
||||
|
|
1878
src/Mod/Plot/Plot_rc.py
Normal file
1878
src/Mod/Plot/Plot_rc.py
Normal file
File diff suppressed because it is too large
Load Diff
16
src/Mod/Plot/makeResources.sh
Executable file
16
src/Mod/Plot/makeResources.sh
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
## Create resources stuff for Plot module.
|
||||
|
||||
# Perform trnaslations
|
||||
pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot.ts
|
||||
lrelease resources/translations/Plot.ts
|
||||
pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_es-ES.ts
|
||||
lrelease resources/translations/Plot_es-ES.ts
|
||||
pylupdate4 -verbose `find ./ -name "*.py"` -ts resources/translations/Plot_es.ts
|
||||
lrelease resources/translations/Plot_es.ts
|
||||
|
||||
# Create resources
|
||||
rm -f Plot_rc.py
|
||||
cd resources
|
||||
pyrcc4 Plot.qrc -o ../Plot_rc.py
|
||||
cd ..
|
13
src/Mod/Plot/resources/Plot.qrc
Normal file
13
src/Mod/Plot/resources/Plot.qrc
Normal file
|
@ -0,0 +1,13 @@
|
|||
<RCC>
|
||||
<qresource prefix="Plot">
|
||||
<file>icons/Axes.svg</file>
|
||||
<file>icons/Grid.svg</file>
|
||||
<file>icons/Icon.svg</file>
|
||||
<file>icons/Labels.svg</file>
|
||||
<file>icons/Legend.svg</file>
|
||||
<file>icons/Positions.svg</file>
|
||||
<file>icons/Save.svg</file>
|
||||
<file>icons/Series.svg</file>
|
||||
<file>translations/Plot_es-ES.qm</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -3,72 +3,72 @@
|
|||
<context>
|
||||
<name>plot</name>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="48"/>
|
||||
<location filename="PlotGui.py" line="55"/>
|
||||
<source>Save plot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="60"/>
|
||||
<location filename="PlotGui.py" line="67"/>
|
||||
<source>Configure axes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="61"/>
|
||||
<location filename="PlotGui.py" line="68"/>
|
||||
<source>Configure axes parameters</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="72"/>
|
||||
<location filename="PlotGui.py" line="79"/>
|
||||
<source>Configure series</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="73"/>
|
||||
<location filename="PlotGui.py" line="80"/>
|
||||
<source>Configure series drawing style and label</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="91"/>
|
||||
<location filename="PlotGui.py" line="98"/>
|
||||
<source>Show/Hide grid</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="92"/>
|
||||
<location filename="PlotGui.py" line="99"/>
|
||||
<source>Show/Hide grid on selected plot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="110"/>
|
||||
<location filename="PlotGui.py" line="117"/>
|
||||
<source>Show/Hide legend</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="111"/>
|
||||
<location filename="PlotGui.py" line="118"/>
|
||||
<source>Show/Hide legend on selected plot</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="122"/>
|
||||
<location filename="PlotGui.py" line="129"/>
|
||||
<source>Set labels</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="123"/>
|
||||
<location filename="PlotGui.py" line="130"/>
|
||||
<source>Set title and axes labels</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="134"/>
|
||||
<location filename="PlotGui.py" line="141"/>
|
||||
<source>Set positions and sizes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="135"/>
|
||||
<location filename="PlotGui.py" line="142"/>
|
||||
<source>Set labels and legend positions and sizes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="49"/>
|
||||
<location filename="PlotGui.py" line="56"/>
|
||||
<source>Save plot as image file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -154,12 +154,12 @@
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="81"/>
|
||||
<location filename="PlotGui.py" line="88"/>
|
||||
<source>Grid must be activated on top of a plot document</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="100"/>
|
||||
<location filename="PlotGui.py" line="107"/>
|
||||
<source>Legend must be activated on top of a plot document</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -3,72 +3,72 @@
|
|||
<context>
|
||||
<name>plot</name>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="48"/>
|
||||
<location filename="PlotGui.py" line="55"/>
|
||||
<source>Save plot</source>
|
||||
<translation>Guardar gráfica</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="49"/>
|
||||
<location filename="PlotGui.py" line="56"/>
|
||||
<source>Save plot as image file</source>
|
||||
<translation>Guarda la gráfica como archivo de imagen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="60"/>
|
||||
<location filename="PlotGui.py" line="67"/>
|
||||
<source>Configure axes</source>
|
||||
<translation>Configure los ejes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="61"/>
|
||||
<location filename="PlotGui.py" line="68"/>
|
||||
<source>Configure axes parameters</source>
|
||||
<translation>Establezca los parámetros de cada eje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="72"/>
|
||||
<location filename="PlotGui.py" line="79"/>
|
||||
<source>Configure series</source>
|
||||
<translation>Configure las series trazadas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="73"/>
|
||||
<location filename="PlotGui.py" line="80"/>
|
||||
<source>Configure series drawing style and label</source>
|
||||
<translation>Establezca el título y el estilo de las curvas trazadas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="91"/>
|
||||
<location filename="PlotGui.py" line="98"/>
|
||||
<source>Show/Hide grid</source>
|
||||
<translation>Mostrar/Ocultar la malla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="92"/>
|
||||
<location filename="PlotGui.py" line="99"/>
|
||||
<source>Show/Hide grid on selected plot</source>
|
||||
<translation>Muestre/Oculte la malla del gráfico seleccionado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="110"/>
|
||||
<location filename="PlotGui.py" line="117"/>
|
||||
<source>Show/Hide legend</source>
|
||||
<translation>Mostrar/Ocultar la legenda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="111"/>
|
||||
<location filename="PlotGui.py" line="118"/>
|
||||
<source>Show/Hide legend on selected plot</source>
|
||||
<translation>Muestre/Oculte la legenda del gráfico seleccionado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="122"/>
|
||||
<location filename="PlotGui.py" line="129"/>
|
||||
<source>Set labels</source>
|
||||
<translation>Establecer títulos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="123"/>
|
||||
<location filename="PlotGui.py" line="130"/>
|
||||
<source>Set title and axes labels</source>
|
||||
<translation>Establezca los tñitulos de ejes y series de datos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="134"/>
|
||||
<location filename="PlotGui.py" line="141"/>
|
||||
<source>Set positions and sizes</source>
|
||||
<translation>Modificar posiciones y tamaños</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="135"/>
|
||||
<location filename="PlotGui.py" line="142"/>
|
||||
<source>Set labels and legend positions and sizes</source>
|
||||
<translation>Modifique la posición y tamaño de títulos y legenda</translation>
|
||||
</message>
|
||||
|
@ -154,12 +154,12 @@
|
|||
<translation>El juego ejes 0 no puede ser eliminado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="81"/>
|
||||
<location filename="PlotGui.py" line="88"/>
|
||||
<source>Grid must be activated on top of a plot document</source>
|
||||
<translation>Para activar la malla seleccione primero una grafica</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="100"/>
|
||||
<location filename="PlotGui.py" line="107"/>
|
||||
<source>Legend must be activated on top of a plot document</source>
|
||||
<translation>Para activar la legenda seleccione primero una grafica</translation>
|
||||
</message>
|
||||
|
|
BIN
src/Mod/Plot/resources/translations/Plot_es.qm
Normal file
BIN
src/Mod/Plot/resources/translations/Plot_es.qm
Normal file
Binary file not shown.
259
src/Mod/Plot/resources/translations/Plot_es.ts
Normal file
259
src/Mod/Plot/resources/translations/Plot_es.ts
Normal file
|
@ -0,0 +1,259 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS><TS version="2.0">
|
||||
<context>
|
||||
<name>plot</name>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="55"/>
|
||||
<source>Save plot</source>
|
||||
<translation>Guardar gráfica</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="56"/>
|
||||
<source>Save plot as image file</source>
|
||||
<translation>Guarda la gráfica como archivo de imagen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="67"/>
|
||||
<source>Configure axes</source>
|
||||
<translation>Configure los ejes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="68"/>
|
||||
<source>Configure axes parameters</source>
|
||||
<translation>Establezca los parámetros de cada eje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="79"/>
|
||||
<source>Configure series</source>
|
||||
<translation>Configure las series trazadas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="80"/>
|
||||
<source>Configure series drawing style and label</source>
|
||||
<translation>Establezca el título y el estilo de las curvas trazadas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="98"/>
|
||||
<source>Show/Hide grid</source>
|
||||
<translation>Mostrar/Ocultar la malla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="99"/>
|
||||
<source>Show/Hide grid on selected plot</source>
|
||||
<translation>Muestre/Oculte la malla del gráfico seleccionado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="117"/>
|
||||
<source>Show/Hide legend</source>
|
||||
<translation>Mostrar/Ocultar la legenda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="118"/>
|
||||
<source>Show/Hide legend on selected plot</source>
|
||||
<translation>Muestre/Oculte la legenda del gráfico seleccionado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="129"/>
|
||||
<source>Set labels</source>
|
||||
<translation>Establecer títulos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="130"/>
|
||||
<source>Set title and axes labels</source>
|
||||
<translation>Establezca los tñitulos de ejes y series de datos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="141"/>
|
||||
<source>Set positions and sizes</source>
|
||||
<translation>Modificar posiciones y tamaños</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="142"/>
|
||||
<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>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="130"/>
|
||||
<source>Configure axes</source>
|
||||
<translation>Configuración de los ejes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="132"/>
|
||||
<source>Active axes</source>
|
||||
<translation>Ejes activos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="148"/>
|
||||
<source>Apply to all axes</source>
|
||||
<translation>Aplicar a todos los ejes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="150"/>
|
||||
<source>Dimensions</source>
|
||||
<translation>Dimensiones</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="152"/>
|
||||
<source>X axis position</source>
|
||||
<translation>Posición del eje X</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="154"/>
|
||||
<source>Y axis position</source>
|
||||
<translation>Posición del eje Y</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="142"/>
|
||||
<source>Scales</source>
|
||||
<translation>Escalas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="144"/>
|
||||
<source>X auto</source>
|
||||
<translation>Automática en X</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="146"/>
|
||||
<source>Y auto</source>
|
||||
<translation>Automática en Y</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>plot_console</name>
|
||||
<message>
|
||||
<location filename="Plot.py" line="38"/>
|
||||
<source>matplotlib not found, so Plot module can not be loaded</source>
|
||||
<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="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>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="41"/>
|
||||
<source>Plot document must be selected in order to save it</source>
|
||||
<translation>Debe seleccionar una grafica primero</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="194"/>
|
||||
<source>Axes 0 can not be deleted</source>
|
||||
<translation>El juego ejes 0 no puede ser eliminado</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="88"/>
|
||||
<source>Grid must be activated on top of a plot document</source>
|
||||
<translation>Para activar la malla seleccione primero una grafica</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="PlotGui.py" line="107"/>
|
||||
<source>Legend must be activated on top of a plot document</source>
|
||||
<translation>Para activar la legenda seleccione primero una grafica</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>plot_labels</name>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="109"/>
|
||||
<source>Set labels</source>
|
||||
<translation>Selección de títulos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="111"/>
|
||||
<source>Active axes</source>
|
||||
<translation>Ejes activos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="113"/>
|
||||
<source>Title</source>
|
||||
<translation>Título</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="115"/>
|
||||
<source>X label</source>
|
||||
<translation>Título del eje X</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="117"/>
|
||||
<source>Y label</source>
|
||||
<translation>Título del eje Y</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>plot_positions</name>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="100"/>
|
||||
<source>Set positions and sizes</source>
|
||||
<translation>Selección de posiciones y tamaños</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="102"/>
|
||||
<source>Position</source>
|
||||
<translation>Posición</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="104"/>
|
||||
<source>Size</source>
|
||||
<translation>Tamaño</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>plot_save</name>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="106"/>
|
||||
<source>Save figure</source>
|
||||
<translation>Guardar figura</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="108"/>
|
||||
<source>Inches</source>
|
||||
<translation>Pulgadas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="110"/>
|
||||
<source>Dots per Inch</source>
|
||||
<translation>Puntos por pulgada</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>plot_series</name>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="113"/>
|
||||
<source>Configure series</source>
|
||||
<translation>Configurar series de datos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="115"/>
|
||||
<source>No label</source>
|
||||
<translation>Sin título</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="117"/>
|
||||
<source>Remove serie</source>
|
||||
<translation>Eliminar serie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="119"/>
|
||||
<source>Line style</source>
|
||||
<translation>Estilo de línea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="TaskPanel.py" line="121"/>
|
||||
<source>Marker</source>
|
||||
<translation>Marcador</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
Loading…
Reference in New Issue
Block a user