Fixed translation stuff

This commit is contained in:
Jose Luis Cercos Pita 2012-11-02 12:20:30 +01:00
parent 77d98a4d32
commit e7122a58c9
23 changed files with 607 additions and 94 deletions

View File

@ -6,17 +6,25 @@ SET(PlotMain_SRCS
SOURCE_GROUP("" FILES ${PlotMain_SRCS})
SET(PlotIcons_SRCS
Icons/Axes.svg
Icons/Grid.svg
Icons/Icon.svg
Icons/Labels.svg
Icons/Legend.svg
Icons/Positions.svg
Icons/Save.svg
Icons/Series.svg
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
@ -59,7 +67,7 @@ SET(PlotUtils_SRCS
)
SOURCE_GROUP("plotutils" FILES ${PlotUtils_SRCS})
SET(all_files ${PlotMain_SRCS} ${PlotAxes_SRCS} ${PlotLabels_SRCS} ${PlotPositions_SRCS} ${PlotSave_SRCS} ${PlotSeries_SRCS} ${PlotIcons_SRCS} ${PlotUtils_SRCS})
SET(all_files ${PlotMain_SRCS} ${PlotAxes_SRCS} ${PlotLabels_SRCS} ${PlotPositions_SRCS} ${PlotSave_SRCS} ${PlotSeries_SRCS} ${PlotIcons_SRCS} ${PlotTranslations_SRCS} ${PlotUtils_SRCS})
ADD_CUSTOM_TARGET(Plot ALL
SOURCES ${all_files}
@ -71,7 +79,13 @@ INSTALL(
FILES
${PlotIcons_SRCS}
DESTINATION
Mod/Plot/Icons
Mod/Plot/resources/icons
)
INSTALL(
FILES
${PlotTranslations_SRCS}
DESTINATION
Mod/Plot/resources/translations
)
INSTALL(
FILES

View File

@ -23,15 +23,14 @@
class PlotWorkbench ( Workbench ):
""" @brief Workbench of Plot module. Here toolbars & icons are append. """
from plotUtils import Paths, Translator
from plotUtils import Paths
import PlotGui
Icon = Paths.iconsPath() + "/Icon.svg"
MenuText = str(Translator.translate("Plot"))
ToolTip = str(Translator.translate("Plot"))
MenuText = "Plot"
ToolTip = "The Plot module is used to edit/save output plots performed by other tools"
def Initialize(self):
from plotUtils import Translator
# ToolBar
list = ["Plot_SaveFig", "Plot_Axes", "Plot_Series", "Plot_Grid", "Plot_Legend", "Plot_Labels", "Plot_Positions"]
self.appendToolbar("Plot",list)
@ -44,7 +43,6 @@ try:
import matplotlib
Gui.addWorkbench(PlotWorkbench())
except ImportError:
from plotUtils import Translator
msg = Translator.translate("matplotlib not found, Plot module will be disabled.\n")
FreeCAD.Console.PrintMessage(msg)
msg = QtCore.QT_TRANSLATE_NOOP("plot", "matplotlib not found, Plot module will be disabled")
FreeCAD.Console.PrintMessage(msg + '\n')

View File

@ -7,14 +7,18 @@ data_DATA = \
PlotGui.py
nobase_data_DATA = \
Icons/Axes.svg \
Icons/Grid.svg \
Icons/Icon.svg \
Icons/Labels.svg \
Icons/Legend.svg \
Icons/Positions.svg \
Icons/Save.svg \
Icons/Series.svg \
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 \

View File

@ -24,9 +24,6 @@
# FreeCAD
import FreeCAD
# Plot module
from plotUtils import Paths, Translator
# PyQt4
from PyQt4 import QtCore, QtGui
@ -38,8 +35,8 @@ try:
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg as NavigationToolbar
from matplotlib.figure import Figure
except ImportError:
msg = Translator.translate("matplotlib not installed, so Plot module is disabled.\n")
FreeCAD.Console.PrintError(msg)
msg = QtCore.QT_TRANSLATE_NOOP("plot", "matplotlib not found, so Plot module can not be loaded")
FreeCAD.Console.PrintMessage(msg + '\n')
raise ImportError("matplotlib not installed")
def getMainWindow():

View File

@ -24,16 +24,29 @@
from PyQt4 import QtCore, QtGui
import FreeCAD, FreeCADGui, os
# Setup tranlations
from plotUtils import Paths
path = Paths.translationsPath()
FreeCADGui.addLanguagePath(path)
import os
import FreeCAD
translator = QtCore.QTranslator()
dirList=os.listdir(path)
for fname in dirList:
valid = translator.load(os.path.join(path, fname))
if valid:
QtGui.QApplication.installTranslator(translator)
class Save:
def Activated(self):
import plotSave
plotSave.load()
def GetResources(self):
from plotUtils import Paths, Translator
from plotUtils import Paths
IconPath = Paths.iconsPath() + "/Save.svg"
MenuText = str(Translator.translate('Save plot'))
ToolTip = str(Translator.translate('Save plot as image file.'))
MenuText = str(QtGui.QApplication.translate("plot", "Save plot").toAscii())
ToolTip = str(QtGui.QApplication.translate("plot", "Save plot as image file").toAscii())
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
class Axes:
@ -42,10 +55,10 @@ class Axes:
plotAxes.load()
def GetResources(self):
from plotUtils import Paths, Translator
from plotUtils import Paths
IconPath = Paths.iconsPath() + "/Axes.svg"
MenuText = str(Translator.translate('Configure axes'))
ToolTip = str(Translator.translate('Configure axes parameters.'))
MenuText = str(QtGui.QApplication.translate("plot", "Configure axes").toAscii())
ToolTip = str(QtGui.QApplication.translate("plot", "Configure axes parameters").toAscii())
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
class Series:
@ -54,48 +67,46 @@ class Series:
plotSeries.load()
def GetResources(self):
from plotUtils import Paths, Translator
from plotUtils import Paths
IconPath = Paths.iconsPath() + "/Series.svg"
MenuText = str(Translator.translate('Configure series'))
ToolTip = str(Translator.translate('Configure series drawing style and label.'))
MenuText = str(QtGui.QApplication.translate("plot", "Configure series").toAscii())
ToolTip = str(QtGui.QApplication.translate("plot", "Configure series drawing style and label").toAscii())
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
class Grid:
def Activated(self):
import Plot
from plotUtils import Translator
plt = Plot.getPlot()
if not plt:
msg = Translator.translate("Grid must be activated on top of a plot document.")
msg = str(QtGui.QApplication.translate("plot", "Grid must be activated on top of a plot document").toAscii())
FreeCAD.Console.PrintError(msg+"\n")
return
flag = plt.isGrid()
Plot.grid(not flag)
def GetResources(self):
from plotUtils import Paths, Translator
from plotUtils import Paths
IconPath = Paths.iconsPath() + "/Grid.svg"
MenuText = str(Translator.translate('Show/Hide grid'))
ToolTip = str(Translator.translate('Show/Hide grid on selected plot'))
MenuText = str(QtGui.QApplication.translate("plot", "Show/Hide grid").toAscii())
ToolTip = str(QtGui.QApplication.translate("plot", "Show/Hide grid on selected plot").toAscii())
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
class Legend:
def Activated(self):
import Plot
from plotUtils import Translator
plt = Plot.getPlot()
if not plt:
msg = Translator.translate("Legend must be activated on top of a plot document.")
msg = str(QtGui.QApplication.translate("plot", "Legend must be activated on top of a plot document").toAscii())
FreeCAD.Console.PrintError(msg+"\n")
return
flag = plt.isLegend()
Plot.legend(not flag)
def GetResources(self):
from plotUtils import Paths, Translator
from plotUtils import Paths
IconPath = Paths.iconsPath() + "/Legend.svg"
MenuText = str(Translator.translate('Show/Hide legend'))
ToolTip = str(Translator.translate('Show/Hide legend on selected plot'))
MenuText = str(QtGui.QApplication.translate("plot", "Show/Hide legend").toAscii())
ToolTip = str(QtGui.QApplication.translate("plot", "Show/Hide legend on selected plot").toAscii())
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
class Labels:
@ -104,10 +115,10 @@ class Labels:
plotLabels.load()
def GetResources(self):
from plotUtils import Paths, Translator
from plotUtils import Paths
IconPath = Paths.iconsPath() + "/Labels.svg"
MenuText = str(Translator.translate('Set labels'))
ToolTip = str(Translator.translate('Set title and axes labels'))
MenuText = str(QtGui.QApplication.translate("plot", "Set labels").toAscii())
ToolTip = str(QtGui.QApplication.translate("plot", "Set title and axes labels").toAscii())
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
class Positions:
@ -116,10 +127,10 @@ class Positions:
plotPositions.load()
def GetResources(self):
from plotUtils import Paths, Translator
from plotUtils import Paths
IconPath = Paths.iconsPath() + "/Positions.svg"
MenuText = str(Translator.translate('Set positions and sizes'))
ToolTip = str(Translator.translate('Set labels and legend positions and sizes.'))
MenuText = str(QtGui.QApplication.translate("plot", "Set positions and sizes").toAscii())
ToolTip = str(QtGui.QApplication.translate("plot", "Set labels and legend positions and sizes").toAscii())
return {'Pixmap' : IconPath, 'MenuText': MenuText, 'ToolTip': ToolTip}
FreeCADGui.addCommand('Plot_SaveFig', Save())

View File

@ -28,7 +28,7 @@ import FreeCADGui as Gui
from PyQt4 import QtGui,QtCore
# Module
import Plot
from plotUtils import Paths, Translator
from plotUtils import Paths
class TaskPanel:
def __init__(self):
@ -127,19 +127,19 @@ class TaskPanel:
def retranslateUi(self):
""" Set user interface locale strings.
"""
self.form.setWindowTitle(Translator.translate("Configure axes"))
self.form.findChild(QtGui.QLabel, "axesLabel").setText(Translator.translate("Active axes"))
self.form.all.setText(Translator.translate("Apply to all axes"))
self.form.findChild(QtGui.QLabel, "dimLabel").setText(Translator.translate("Dimensions"))
self.form.findChild(QtGui.QLabel, "xPosLabel").setText(Translator.translate("X axis position"))
self.form.findChild(QtGui.QLabel, "yPosLabel").setText(Translator.translate("Y axis position"))
self.form.findChild(QtGui.QLabel, "scalesLabel").setText(Translator.translate("Scales"))
self.form.xAuto.setText(Translator.translate("X auto"))
self.form.yAuto.setText(Translator.translate("Y auto"))
self.form.findChild(QtGui.QCheckBox, "allAxes").setText(Translator.translate("Apply to all axes"))
self.form.findChild(QtGui.QLabel, "dimLabel").setText(Translator.translate("Dimensions"))
self.form.findChild(QtGui.QLabel, "xPosLabel").setText(Translator.translate("X axis position"))
self.form.findChild(QtGui.QLabel, "yPosLabel").setText(Translator.translate("Y axis position"))
self.form.setWindowTitle(str(QtGui.QApplication.translate("plot_axes", "Configure axes").toAscii()))
self.form.findChild(QtGui.QLabel, "axesLabel").setText(str(QtGui.QApplication.translate("plot_axes", "Active axes").toAscii()))
self.form.all.setText(str(QtGui.QApplication.translate("plot_axes", "Apply to all axes").toAscii()))
self.form.findChild(QtGui.QLabel, "dimLabel").setText(str(QtGui.QApplication.translate("plot_axes", "Dimensions").toAscii()))
self.form.findChild(QtGui.QLabel, "xPosLabel").setText(str(QtGui.QApplication.translate("plot_axes", "X axis position").toAscii()))
self.form.findChild(QtGui.QLabel, "yPosLabel").setText(str(QtGui.QApplication.translate("plot_axes", "Y axis position").toAscii()))
self.form.findChild(QtGui.QLabel, "scalesLabel").setText(str(QtGui.QApplication.translate("plot_axes", "Scales").toAscii()))
self.form.xAuto.setText(str(QtGui.QApplication.translate("plot_axes", "X auto").toAscii()))
self.form.yAuto.setText(str(QtGui.QApplication.translate("plot_axes", "Y auto").toAscii()))
self.form.findChild(QtGui.QCheckBox, "allAxes").setText(str(QtGui.QApplication.translate("plot_axes", "Apply to all axes").toAscii()))
self.form.findChild(QtGui.QLabel, "dimLabel").setText(str(QtGui.QApplication.translate("plot_axes", "Dimensions").toAscii()))
self.form.findChild(QtGui.QLabel, "xPosLabel").setText(str(QtGui.QApplication.translate("plot_axes", "X axis position").toAscii()))
self.form.findChild(QtGui.QLabel, "yPosLabel").setText(str(QtGui.QApplication.translate("plot_axes", "Y axis position").toAscii()))
def onAxesId(self, value):
""" Executed when axes index is modified. """
@ -178,7 +178,7 @@ class TaskPanel:
return
# Don't remove first axes
if not self.form.axId.value():
msg = Translator.translate("Axes 0 can't be deleted")
msg = str(QtGui.QApplication.translate("plot_axes", "Axes 0 can not be deleted".toAscii()))
App.Console.PrintError(msg+"\n")
return
# Remove axes

View File

@ -28,7 +28,7 @@ import FreeCADGui as Gui
from PyQt4 import QtGui,QtCore
# Module
import Plot
from plotUtils import Paths, Translator
from plotUtils import Paths
class TaskPanel:
def __init__(self):
@ -106,11 +106,11 @@ class TaskPanel:
def retranslateUi(self):
""" Set user interface locale strings.
"""
self.form.setWindowTitle(Translator.translate("Set labels"))
self.form.findChild(QtGui.QLabel, "axesLabel").setText(Translator.translate("Active axes"))
self.form.findChild(QtGui.QLabel, "titleLabel").setText(Translator.translate("Title"))
self.form.findChild(QtGui.QLabel, "xLabel").setText(Translator.translate("X label"))
self.form.findChild(QtGui.QLabel, "yLabel").setText(Translator.translate("Y label"))
self.form.setWindowTitle(str(QtGui.QApplication.translate("plot_labels", "Set labels").toAscii()))
self.form.findChild(QtGui.QLabel, "axesLabel").setText(str(QtGui.QApplication.translate("plot_labels", "Active axes").toAscii()))
self.form.findChild(QtGui.QLabel, "titleLabel").setText(str(QtGui.QApplication.translate("plot_labels", "Title").toAscii()))
self.form.findChild(QtGui.QLabel, "xLabel").setText(str(QtGui.QApplication.translate("plot_labels", "X label").toAscii()))
self.form.findChild(QtGui.QLabel, "yLabel").setText(str(QtGui.QApplication.translate("plot_labels", "Y label").toAscii()))
def onAxesId(self, value):
""" Executed when axes index is modified. """

View File

@ -28,7 +28,7 @@ import FreeCADGui as Gui
from PyQt4 import QtGui,QtCore
# Module
import Plot
from plotUtils import Paths, Translator
from plotUtils import Paths
class TaskPanel:
def __init__(self):
@ -97,9 +97,9 @@ class TaskPanel:
def retranslateUi(self):
""" Set user interface locale strings.
"""
self.form.setWindowTitle(Translator.translate("Set positions and sizes"))
self.form.findChild(QtGui.QLabel, "posLabel").setText(Translator.translate("Position"))
self.form.findChild(QtGui.QLabel, "sizeLabel").setText(Translator.translate("Size"))
self.form.setWindowTitle(str(QtGui.QApplication.translate("plot_positions", "Set positions and sizes").toAscii()))
self.form.findChild(QtGui.QLabel, "posLabel").setText(str(QtGui.QApplication.translate("plot_positions", "Position").toAscii()))
self.form.findChild(QtGui.QLabel, "sizeLabel").setText(str(QtGui.QApplication.translate("plot_positions", "Size").toAscii()))
def onItem(self, row):
""" Executed when selected item is modified. """

View File

@ -29,7 +29,7 @@ import FreeCADGui as Gui
from PyQt4 import QtGui,QtCore
# Module
import Plot
from plotUtils import Paths, Translator
from plotUtils import Paths
class TaskPanel:
def __init__(self):
@ -38,7 +38,7 @@ class TaskPanel:
def accept(self):
plt = Plot.getPlot()
if not plt:
msg = Translator.translate("Plot document must be selected in order to save it.")
msg = str(QtGui.QApplication.translate("plot_save", "Plot document must be selected in order to save it").toAscii())
App.Console.PrintError(msg+"\n")
return False
path = unicode(self.form.path.text())
@ -102,9 +102,9 @@ class TaskPanel:
def retranslateUi(self):
""" Set user interface locale strings.
"""
self.form.setWindowTitle(Translator.translate("Save figure"))
self.form.findChild(QtGui.QLabel, "sizeLabel").setText(Translator.translate("Inches"))
self.form.findChild(QtGui.QLabel, "dpiLabel").setText(Translator.translate("Dots per Inch"))
self.form.setWindowTitle(str(QtGui.QApplication.translate("plot_save", "Save figure").toAscii()))
self.form.findChild(QtGui.QLabel, "sizeLabel").setText(str(QtGui.QApplication.translate("plot_save", "Inches").toAscii()))
self.form.findChild(QtGui.QLabel, "dpiLabel").setText(str(QtGui.QApplication.translate("plot_save", "Dots per Inch").toAscii()))
def updateUI(self):
""" Setup UI controls values if possible """

View File

@ -28,7 +28,7 @@ import FreeCADGui as Gui
from PyQt4 import QtGui,QtCore
# Module
import Plot
from plotUtils import Paths, Translator
from plotUtils import Paths
# matplotlib
import matplotlib
from matplotlib.lines import Line2D
@ -110,11 +110,11 @@ class TaskPanel:
def retranslateUi(self):
""" Set user interface locale strings.
"""
self.form.setWindowTitle(Translator.translate("Set positions and sizes"))
self.form.isLabel.setText(Translator.translate("No label"))
self.form.remove.setText(Translator.translate("Remove serie"))
self.form.findChild(QtGui.QLabel, "styleLabel").setText(Translator.translate("Line style"))
self.form.findChild(QtGui.QLabel, "markerLabel").setText(Translator.translate("Marker"))
self.form.setWindowTitle(str(QtGui.QApplication.translate("plot_series", "Configure series").toAscii()))
self.form.isLabel.setText(str(QtGui.QApplication.translate("plot_series", "No label").toAscii()))
self.form.remove.setText(str(QtGui.QApplication.translate("plot_series", "Remove serie").toAscii()))
self.form.findChild(QtGui.QLabel, "styleLabel").setText(str(QtGui.QApplication.translate("plot_series", "Line style").toAscii()))
self.form.findChild(QtGui.QLabel, "markerLabel").setText(str(QtGui.QApplication.translate("plot_series", "Marker").toAscii()))
def fillStyles(self):
""" Fill style combo boxes. """

View File

@ -24,7 +24,7 @@
import FreeCAD, FreeCADGui, os
def modulePath():
"""returns the current Ship design module path
"""returns the current Plot module path
@return Module path"""
path1 = FreeCAD.ConfigGet("AppHomePath") + "Mod/Plot"
path2 = FreeCAD.ConfigGet("UserAppData") + "Mod/Plot"
@ -34,9 +34,15 @@ def modulePath():
return path1
def iconsPath():
"""returns the current Ship design module icons path
"""returns the current Plot module icons path
@return Icons path"""
path = modulePath() + "/Icons"
path = modulePath() + "/resources/icons"
return path
def translationsPath():
"""returns the current Plot module translations path
@return Icons path"""
path = modulePath() + "/resources/translations"
return path
def getPathFromFile(fileName):

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1 @@
<クd<>箆!ソ`。スン

View File

@ -0,0 +1,241 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="2.0">
<context>
<name>plot</name>
<message>
<location filename="PlotGui.py" line="48"/>
<source>Save plot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="60"/>
<source>Configure axes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="61"/>
<source>Configure axes parameters</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="72"/>
<source>Configure series</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="73"/>
<source>Configure series drawing style and label</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="81"/>
<source>Grid must be activated on top of a plot document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="90"/>
<source>Show/Hide grid</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="91"/>
<source>Show/Hide grid on selected plot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="99"/>
<source>Legend must be activated on top of a plot document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="108"/>
<source>Show/Hide legend</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="109"/>
<source>Show/Hide legend on selected plot</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="120"/>
<source>Set labels</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="121"/>
<source>Set title and axes labels</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="132"/>
<source>Set positions and sizes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="133"/>
<source>Set labels and legend positions and sizes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="InitGui.py" line="46"/>
<source>matplotlib not found, Plot module will be disabled</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="PlotGui.py" line="49"/>
<source>Save plot as image file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Plot.py" line="38"/>
<source>matplotlib not found, so Plot module can not be loaded</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>plot_axes</name>
<message>
<location filename="TaskPanel.py" line="130"/>
<source>Configure axes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="131"/>
<source>Active axes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="139"/>
<source>Apply to all axes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="140"/>
<source>Dimensions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="141"/>
<source>X axis position</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="142"/>
<source>Y axis position</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="136"/>
<source>Scales</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="137"/>
<source>X auto</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="138"/>
<source>Y auto</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>plot_labels</name>
<message>
<location filename="TaskPanel.py" line="109"/>
<source>Set labels</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="110"/>
<source>Active axes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="111"/>
<source>Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="112"/>
<source>X label</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="113"/>
<source>Y label</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>plot_positions</name>
<message>
<location filename="TaskPanel.py" line="100"/>
<source>Set positions and sizes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="101"/>
<source>Position</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="102"/>
<source>Size</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>plot_save</name>
<message>
<location filename="TaskPanel.py" line="105"/>
<source>Save figure</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="106"/>
<source>Inches</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="107"/>
<source>Dots per Inch</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="41"/>
<source>Plot document must be selected in order to save it</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>plot_series</name>
<message>
<location filename="TaskPanel.py" line="114"/>
<source>No label</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="115"/>
<source>Remove serie</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="116"/>
<source>Line style</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="117"/>
<source>Marker</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="TaskPanel.py" line="113"/>
<source>Configure series</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

Binary file not shown.

View File

@ -0,0 +1,241 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS><TS version="2.0">
<context>
<name>plot</name>
<message>
<location filename="InitGui.py" line="46"/>
<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="PlotGui.py" line="48"/>
<source>Save plot</source>
<translation>Guardar gráfica</translation>
</message>
<message>
<location filename="PlotGui.py" line="49"/>
<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"/>
<source>Configure axes</source>
<translation>Configure los ejes</translation>
</message>
<message>
<location filename="PlotGui.py" line="61"/>
<source>Configure axes parameters</source>
<translation>Establezca los parámetros de cada eje</translation>
</message>
<message>
<location filename="PlotGui.py" line="72"/>
<source>Configure series</source>
<translation>Configure las series trazadas</translation>
</message>
<message>
<location filename="PlotGui.py" line="73"/>
<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="81"/>
<source>Grid must be activated on top of a plot document</source>
<translation>Para activar la malla se requiere un documento de grafica seleccionado</translation>
</message>
<message>
<location filename="PlotGui.py" line="90"/>
<source>Show/Hide grid</source>
<translation>Mostrar/Ocultar la malla</translation>
</message>
<message>
<location filename="PlotGui.py" line="91"/>
<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="99"/>
<source>Legend must be activated on top of a plot document</source>
<translation>Para activar la legenda se requiere un documento de grafica seleccionado</translation>
</message>
<message>
<location filename="PlotGui.py" line="108"/>
<source>Show/Hide legend</source>
<translation>Mostrar/Ocultar la legenda</translation>
</message>
<message>
<location filename="PlotGui.py" line="109"/>
<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="120"/>
<source>Set labels</source>
<translation>Establecer títulos</translation>
</message>
<message>
<location filename="PlotGui.py" line="121"/>
<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="132"/>
<source>Set positions and sizes</source>
<translation>Modificar posiciones y tamaños</translation>
</message>
<message>
<location filename="PlotGui.py" line="133"/>
<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="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>
</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="131"/>
<source>Active axes</source>
<translation>Ejes activos</translation>
</message>
<message>
<location filename="TaskPanel.py" line="139"/>
<source>Apply to all axes</source>
<translation>Aplicar a todos los ejes</translation>
</message>
<message>
<location filename="TaskPanel.py" line="140"/>
<source>Dimensions</source>
<translation>Dimensiones</translation>
</message>
<message>
<location filename="TaskPanel.py" line="141"/>
<source>X axis position</source>
<translation>Posición del eje X</translation>
</message>
<message>
<location filename="TaskPanel.py" line="142"/>
<source>Y axis position</source>
<translation>Posición del eje Y</translation>
</message>
<message>
<location filename="TaskPanel.py" line="136"/>
<source>Scales</source>
<translation>Escalas</translation>
</message>
<message>
<location filename="TaskPanel.py" line="137"/>
<source>X auto</source>
<translation>Automatica en X</translation>
</message>
<message>
<location filename="TaskPanel.py" line="138"/>
<source>Y auto</source>
<translation type="unfinished"></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="110"/>
<source>Active axes</source>
<translation>Ejes activos</translation>
</message>
<message>
<location filename="TaskPanel.py" line="111"/>
<source>Title</source>
<translation>Título</translation>
</message>
<message>
<location filename="TaskPanel.py" line="112"/>
<source>X label</source>
<translation>Título del eje X</translation>
</message>
<message>
<location filename="TaskPanel.py" line="113"/>
<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="101"/>
<source>Position</source>
<translation>Posición</translation>
</message>
<message>
<location filename="TaskPanel.py" line="102"/>
<source>Size</source>
<translation>Tamaño</translation>
</message>
</context>
<context>
<name>plot_save</name>
<message>
<location filename="TaskPanel.py" line="105"/>
<source>Save figure</source>
<translation>Guardar figura</translation>
</message>
<message>
<location filename="TaskPanel.py" line="106"/>
<source>Inches</source>
<translation>Pulgadas</translation>
</message>
<message>
<location filename="TaskPanel.py" line="107"/>
<source>Dots per Inch</source>
<translation>Puntos por pulgada</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>
</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="114"/>
<source>No label</source>
<translation>Sin título</translation>
</message>
<message>
<location filename="TaskPanel.py" line="115"/>
<source>Remove serie</source>
<translation>Eliminar serie</translation>
</message>
<message>
<location filename="TaskPanel.py" line="116"/>
<source>Line style</source>
<translation>Estilo de línea</translation>
</message>
<message>
<location filename="TaskPanel.py" line="117"/>
<source>Marker</source>
<translation>Marcador</translation>
</message>
</context>
</TS>