Geometry: Fix some translate.

setup.py
Pierre-Antoine Rouby 2023-11-21 10:45:00 +01:00
parent 1d4422e9c5
commit b12e935a5d
2 changed files with 4 additions and 4 deletions

View File

@ -175,11 +175,11 @@ class PlotAC(PamhyrPlot):
self.canvas.axes.cla()
self.canvas.axes.grid(color='grey', linestyle='--', linewidth=0.5)
self.canvas.axes.set_xlabel(
_translate("MainWindow_reach", "Abscisse en travers (m)"),
_translate("MainWindow_reach", "Transverse abscissa (m)"),
color='black', fontsize=10
)
self.canvas.axes.set_ylabel(
_translate("MainWindow_reach", "Cote (m)"),
_translate("MainWindow_reach", "Height (m)"),
color='black', fontsize=10
)
self.canvas.figure.tight_layout()

View File

@ -77,11 +77,11 @@ class Plot(PamhyrPlot):
)
self.canvas.axes.set_xlabel(
_translate("MainWindowProfile",
"Abscisse en travers (m)"),
"Transverse abscissa (m)"),
color='black', fontsize=10
)
self.canvas.axes.set_ylabel(
_translate("MainWindowProfile", "Cote (m)"),
_translate("MainWindowProfile", "Height (m)"),
color='black', fontsize=10
)